Write and put notation inside image?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Biza Ferreira
am 28 Jun. 2014
Kommentiert: Image Analyst
am 3 Jul. 2014
I people, I have two images and i applied the sift flow code, my images represent the blood flow.through the difference between the two images can obtain the direction of blood flow.this difference results in a single image (matrix), I converted all the values in the array into a vector, my idea is to sort an array positions for the non-repeated values, and adding to the sum of the other array positions repeated, for example:
A=[1 1 0 0 0; 0 0 0 1 1; 1 1 1 1 1]
vector=[1 1 0 0 0 0 0 0 1 1 1 1 1 1 1]
non-repeated=[0 1]
sum_positions=[6 9]
I'm trying to do this in order to group the values in an equal position. So when do imshow () values that have between 0 and 50 can write in the image "background". 51 and 100 "background or not" can someone help me
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 29 Jun. 2014
In your example, what variables do you already have and which do you want to obtain? And what does imshow() have to do with anything? None of your variables have values like 51 or 100 . And how did you obtain sum_positions as 6 and 9? What is being summed????
9 Kommentare
Image Analyst
am 3 Jul. 2014
The code I just showed you does exactly that. Did you try it? It came from my Image Segmentation Tutorial http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 Run that if you want to see it in action.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!