great!
without this presenting results would suck!
btw.
in order to ensure utf 8 encoding, change two lines in plot2svg.m
:
142: fid=fopen(finalname,'wt', 'n', 'UTF-8'); % Create a new text file
143: fprintf(fid,'<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n'); % Insert file header
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)
Comment only