Tool/software:
Hello, I am using sdk 9.2 version.My camera format is a uyvy format
But I want to access each pixel through vxMapImagePatch and process the image I want
before I enter the display node after capturing in single camera application
obj->capt_yuv_image = (vx_image)vxGetObjectArrayItem(obj->cap_frames[0], 0);
...
for(i=0; i<frm_loop_cnt; i++)
{
vx_image test_image;
appPerfPointBegin(&obj->total_perf);
graph_parameter_num = 0;
if(status == VX_SUCCESS)
{
status = vxGraphParameterDequeueDoneRef(obj->graph, graph_parameter_num, (vx_reference*)&out_capture_frames, 1, &num_refs_capture);
}
graph_parameter_num++;
if((status == VX_SUCCESS) && (obj->test_mode == 1))
{
status = vxGraphParameterDequeueDoneRef(obj->graph, 1, (vx_reference*)&test_image, 1, &num_refs_capture);
}
if((status == VX_SUCCESS) && (obj->mosaic_enable == 1) && obj->mosaic_enqueue == 1)
{
status = vxGraphParameterDequeueDoneRef(obj->graph, 1, (vx_reference*)&obj->imgMosaicObj.output_image, 1, &num_refs_capture);
graph_parameter_num++;
}
vx_image image = (vx_image)vxGetObjectArrayItem(out_capture_frames, 0);
converToU16(image);
...
obj->display_image = obj->capt_yuv_image;
However, as a result of the code modification,
the display screen remains unchanged, and the afterimage remains as much as 4 frames, which is the number of buffers
If i capture using the 's' key,
the first image applies well and the second image comes out as the uyvy image and repeats with this rule
I want to modify the result of the capture node and put it in the display node and spray it on the display. Which part is wrong?
thank you