- how you are importing the image into matlab
- what class you store it as
- how you are changing the colour of those coordinates
- what you mean by different type of image
I have an Image shown below as 'a' ,after extracting co-ordinates of certain pixels , based on some specified criteria. when I am changing the colour of those coordinates in oriinal image I am getting different type of image.? ,
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mohammad Bhat
am 22 Nov. 2017
Beantwortet: Mohammad Bhat
am 22 Nov. 2017
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169992/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169994/image.jpeg)
1 Kommentar
Guillaume
am 22 Nov. 2017
You have not provided enough information for us to help. We don't know:
Akzeptierte Antwort
Image Analyst
am 22 Nov. 2017
Looks like a classic beginner mistake of thinking (x,y) is the same as (row, column). Matrices take indexes as (row, column) NOT (x,y), which you probably used. (x,y) is really (column, row) which is not how arrays index their values. Instead try (y,x):
m(y, x) = .....
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB 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!