MATLAB: I want to segment image to get harizontal projection on image…… how can i do it
Image Processing Toolboxprojections
this is my original image
and i want det vertical projections curves by pairing each rising left edge and declining right edge…
how can i do it..?
like output image is…
Best Answer
I have no idea exactly what you're doing or why it would be useful. It kind of looks like you're just thresholding the image to find bright blobs and adding an offset to any columns where there are pixels above the threshold. Kind of like
binaryImage = grayImage > someValue;
columns = any(binaryImage, 1);
grayImage(:, columns) = grayImage(:, columns) + 50; % or whatever.
Best Answer