Using a masked image from image segmenter

After using Image Segmenter, I obtained a matrix of logical's and a variable called maskedImage which is uint8. How do I show the matrix as an image so that I can save it as a jpg or tif, etc.
Thank you.

Gefragt:

am 10 Jul. 2017

Beantwortet:

am 13 Jul. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by