I've been trying to process a greyscale (Y-channel) bitmap image, 320x240 with the Hough transform provided from FastCV.
The function call is as follows:
uint32_t maxLines = 15;
uint32_t ndetLines;
fcvLine detLines[maxLines];
fcvHoughLineu8 ( (uint8_t*)dataBuf, width, height, 0, 1.0, maxLines, &ndetLines, detLines);
The output from the detLines returns static lines which doesn't change regardless of the image and the lines appear to be in a criss cross pattern as in the link http://rlv.zcache.com/black_and_white_crisscross_pattern_cloth_napkin-r9....
Has anyone successfully worked with this function and gotten it working. If you have it would be super appreciated if you post your code.
Thanks!
For the stride parameter, try using the image width instead of zero.
For the threshold, try using 0.25 instead of 1.0.
Hope that helps :)