필터 지우기
필터 지우기

How to make Thresh_tool fucntion?

조회 수: 1 (최근 30일)
Khac Dat Nguyen
Khac Dat Nguyen 2019년 5월 9일
Hello everyones,
I have some code below:
%% Partition brain mass
%separate the brain mass into 2categories
level = thresh_tool(uint16(mriAdjust(:,:,20)),'gray');
mriBrainPartition=uint8(zeros(size(mriAdjust)));
mriBrainPatition(mriAdjust<level & mriAdjust>0)=2;
mriBrainPartition(mriAdjust>=3;
imshow(mriBrainPartition(:,:,20),[0 0 0;0 0 0;.25 .25 1;1 1 1]);
my code errored: Error using thresh_tool (line 67)
X must be same length as Y.
Please tranning for me how to make thresh_tool and fix code for me?
Thank you very much!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by