I have images,where each image has sine wave ,now i want to find the maximum point of each positive peak and find the distance between them,please help
No products are associated with this question.
If you have the image processing toolbox, define your axes, x and y, them display your image with say imagesc(x,y,img); Then,
Use imdistline(gca) to graphically measure the distance between any 2 points of interest to you.
2 Comments
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/48181#comment_99373
If I understand you right, you want to extract the numerical value of the peak of sine wave, and the distance between the peaks from an image.. Can you please post the image as well?
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/48181#comment_99379
Yes Binish you are correct i want to find the peaks of sine wave