Line in a matrix and differentiation between matrix indices.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sotirios
am 17 Jan. 2014
Kommentiert: Sotirios
am 18 Jan. 2014
How can I create a line in a matrix. Since I create it, how can I differentiate between the indices from the one side of the line with them of the other. What I am trying to do, is to create a shaped image. The shape can be a square, rhombus, etc. Thus, I want to set the values of the matrix that exist out of the shape to zero (or 255).
2 Kommentare
Jan
am 18 Jan. 2014
Please give us an example. Are you looking for a method to fill a region, which is defined by an edge with a specific value?
Akzeptierte Antwort
Image Analyst
am 18 Jan. 2014
I have a number of masking demos and demos to burn things into images. For example, run the attached demos.
2 Kommentare
Image Analyst
am 18 Jan. 2014
Another demo. Evidently there is a 3 file attachment limit.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing 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!