I call the fuction fcvChannelExtractu8 to extract a RGB image to three R,G,B single channel images, code as follows:
printf("before fcvChannelExtractu8\n");
int ret1 = fcvChannelExtractu8(maskSrc,IW,IH,0,0,0,0,0,FASTCV_CHANNEL_R,FASTCV_RGB,maskR,0);
printf("after fcvChannelExtractu8, ret1=%d\n");
But the code will quit when call the fuction, the print log "before fcvChannelExtractu8" can be displayed, but the "after before fcvChannelExtractu8" can not be displayed.
Hi,
The API usage is correct. Please make sure maskR is allocated memory size equal to IW*IH*1
thanks
Please check this post:
https://developer.qualcomm.com/forum/qdn-forums/software/fastcv-computer...
Cheers,
-Jeff