i want to segment image to get harizontal projection on image...... how can i do it ?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
krishna kotha
il 6 Apr 2019
Modificato: krishna kotha
il 6 Apr 2019
![img_00691.bmp](https://www.mathworks.com/matlabcentral/answers/uploaded_files/212273/img_00691.bmp)
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...![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/212274/Capture.png)
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/212274/Capture.png)
0 Commenti
Risposta accettata
Image Analyst
il 6 Apr 2019
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.
but I don't know why you'd want that.
1 Commento
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!