How can I define a submatrix of my image using the Video and Image Processing Blockset?

3 views (last 30 days)
It would be useful to have a kind of "submatrix block" where I can process a part of the input signal by specifying the row and column indices that define the image area. I would like to be able to change these indices during simulation so that I can detect the relevant area of an image and do calculations only on that area.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Oct 2009
You can use one of the blocks in the Utilities of the Video and Image Processing Blockset to process images in parts. The Selector block in Simulink's Signal Routing Library also provides functionality to select part of a image matrix to process.

More Answers (0)

Products


Release

R2009b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!