How to reflect vertical projection to orginal image

Hi,
I created and vertical projection of a binary image, I get the local minimas for the projection and want to draw these points on the binary image as * or whatever, the question is how to map the index and value of minima values on the binary image ?

Answers (1)

Once you've projected your 2D image into 1D, you'd need to draw a line on the original 2D image with line(). You can put a * with plot() if you want where the lines cross.

Categories

Asked:

on 10 Mar 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!