Selecting all pixels except one pixel
Ältere Kommentare anzeigen
Say that we have a 3x3 matrix. If we type x(:), this will select all the elements in the matrix, right?
How can we select all the elecments except element x(2,2)? What should we type in this case?
Thanks.
1 Kommentar
Image Analyst
am 23 Mai 2013
What are you doing? Because if you're doing something like linear filtering via convolution or morphological filtering, you would do this be proper selection of the kernel.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Object Analysis finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!