Which IPP function would you suggest for the following situation?
I have an image with a white background and various colored lines on it. I want to figure out which part of of this image is the most clean (least colored lines going through it).
Essentially, I just want to put text on the upper left, upper right, lower right or lower left corner. Doesnt matter which one, it just should be the corner that has the most white space.
Any ideas? Thanks.
It is a goodopen question :)! Justadirectidea, 1. convertthe color image to gray image. use ippcc function 2. define the region sizefor you toput text, for example, a rectangle 50x50. 3. calculate sum ofeach region on image one by one, use ippisum function or use Image Proximity Measures to measure the proximity of white region and your image. Then the biggest value is supposed to themost cleanregion as it includes most 255 (which is white)
Just for your refernce, hope some one may contributemoreintelligent computer vision method. like if you'd like to detect the line place exactly, then you may call hough tranform function ippiHoughLine_Region_8u32f_C1R etc.