Stuart’s MATLAB Videos

Watch and Learn

Selectively Changing an Image in MATLAB with Logical Indexing 1

Posted by Doug Hull,

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.

1 CommentsOldest to Newest