Stuart’s MATLAB Videos

Watch and Learn

Selectively Changing an Image in MATLAB with Logical Indexing

A MATLAB user on MATLAB Answers wanted to know how to change all the pixels in an image that were below a certain threshold. The answer was correct, but very terse. I wanted to expand upon the question with an explanation of logical indexing in MATLAB.

|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.