Tool/software: Linux
Hi,
I want to capture a full image in 4 subframes using OV2775 sensor, so that I can process these sub frame one by one for encoder. Can anyone suggest me how to do that?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Hi,
I want to capture a full image in 4 subframes using OV2775 sensor, so that I can process these sub frame one by one for encoder. Can anyone suggest me how to do that?
Hi Brijesh,
We need to capture 1 frame into 4 subframes. The whole idea is to capture a full image into slices by slice (4 slice per frame).
Regards,
Vishal
Hi Brijesh,
Is there any option in vision SDK to capture the images slice by slice? And if it is there can you please guide help me to do the same with OV2775 camera sensor on TDA2PX EVM?
Regards,
Vishal
Hi Brijesh,
Hi Vishal,
By the time you see this interrupt, DMA would already have started for the next line..
Also buffer could be changed only at frame boundary..
Rgds,
Brijesh
Hi Brijesh,
Do you think, is it possible to change DMA to slice boundary and also changing of buffer at slice boundary, since the configuration of the same would be at the software ?
Regards,
Vishal
Hi Vishal,
DMA cannot be changed, DMA works at the frame boundary.
But i think there is a interrupt that we can get at configured number of lines. But this is not every X lines, only after first X lines are captured..
Rgds,
Brijesh
HI Brijesh,
Now I got know that its not possible to get slice from ISS capture driver with existing pipe line. So that now I want use timer interrupt to notify my main application when certain number of line will be captured in system buffer that we have allocated to driver without dequeueing the buffer and as I will get notification, I will read only those number of line and will send to another link for processing. But I am not able to get to know in which file, driver is writing into the system buffer and how it is counting the number of lines captured, to notify to the application for end of frame. I am using TIDA-01130 (ov2775 + UB953 ) camera system. Can you please guide me in which files I need to see for the same.
Regards,
Vishal
Hi Vishal,
It is not currently support in the driver, to know which buffer is being written. You would require to add this feature, and then start the timer in the capture callback to get n-line interrupt..
Rgds,
Brijesh
Hi Brijesh,
I want to count the number of lines being captured and once the required number of lines will be captured then I will generate a timer interrupt. can you please guide me how can I do this?
Regards,
Vishal
May be you could start a timer on every interrupt, then set the timer counter to line interval and then count the interrupt and send the notification once number of interrupts are received.
Rgds,
Brijesh
Hi Brijesh,
Now I am able to send slices from ISS Capture link to ISSM2MISP link but now I am getting an assertion because of
GT_assert(VpsIssCoreTrace, (FALSE ==
VpsHal_issh3aIsAewbBusy(
hIspObj->halHandles[
VPS_ISS_ISP_MODULE_H3A])))
Now width and height of each slice to be processed are 1920 and 270 respectively. I have configured ISSM2M driver for each slice using output channel information of ISS Capture link with respect to each slice's size. Can you please tell me why I am getting this assertion?
Vishal,
ISP does not support sliced based mode. You need to run it at full frame mode..
Rgds,
Brijesh
Brijesh,
Thank u for your response, but ISP should treat each slice, sent by ISS, as a full frame only. And if it is not possible then can you please suggest me how to tell ISP that it should consider each slice as a frame only?
And one more thing If I disable h3aIsAewb then I am not getting any assertion but Slices received at ISP output are not proper.
Regards,
Vishal
Vishal,
It is not possible to run ISP in sliced mode. There are lot of modules in ISP, which runs multi-tap filters, because of which if you divide frame into slices, there could be artifacts at the border..
Also AEWB algorithm cannot run on sliced frame, it requires full frame..
Rgds,
Brijesh