I am developing a simple 'laser line' scanner using C++ and OpenCV. So far I can detect the center of the laser line with an accuracy of 1 pixel, so I have a starting point for a possible 'sub pixel' function/algorithm. (the laser line is approx. 15-20pixels wide)
Now I am interested into refining this to sub-pixel accuracy. I know OpenCV has some sub-pixel detection functions, but as far as I know these are only for detecting corners.
If anyone has any suggestions, I'd like to hear them.
Some information;
System: QT Framework, C++, OpenCV library
Camera; Monochrome (no color), equipped with red filter
Image resolution; 2560 x 1920
Note: Only 1 image will be analyzed for the laser line.