Code works well but has some negative points that need to be corrected.
- Code works on non-standard image format (double in range 0 to 255).
- There is some confusion between row and column indexing variable names.
- There is no boundary checking for cmin,cmax,rmin,rmax, so it gives an error if you try to select an area near the edge of the image.
- Poor commenting and description.
- Would be better in the form of a function with separate implementation example.
i want to implement the below algorithm. please help me.
1. Convert image to a gray level image
2. Compute the M matrix mentioned above for all points in the
image
3. Apply the Gaussian filter to the output image of stage 2
4. Compute R for the output image of stage 3
5. Find the maximums in 3 by 3 neighborhoods in the output image of stage 4
6. Find the points in the output image of stage 5 who’s R value is grater than a predefined Threshold value (Rmin)