Video length is 2:51

Selectively Changing an Image in MATLAB with Logical Indexing

(Originally posted on Doug's MATLAB Video Tutorials blog.)

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.

Recorded: 5 Dec 2014

Related Products