Selecting all pixels except one pixel
Show older comments
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 Comment
Image Analyst
on 23 May 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.
Accepted Answer
More Answers (0)
Categories
Find more on Object Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!