i use regionprops('Centroid') for an image . now i want to put them on my original image how i can do this. also i want to make amatrix with these centroid point(the centroid point was 1 and the other pixels 0) and the size of this matrix should be similar to my original image because i need to perform region growing. i need this matrix to be my seed matrix (logical) and put its 1 on the original image.
MATLAB: How to put a cordinate on the image
image processingImage Processing Toolbox
Best Answer