How to use the output variable imshow(imIDX,[]) as input for another Process?

조회 수: 1 (최근 30일)
am trying to combine clustering segmentation with other image segmentation algorithm, but i stack at accessing the clustered image, when i try to use imIDX as a variable, figure will displayed without any image(PFA).
<<
>>

채택된 답변

Walter Roberson
Walter Roberson 2018년 1월 18일
Use
scaled_imIDX = mat2gray(imIDX);
This will give you an array that corresponds to the array imshow() with the [] option would use to display the data.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by