how to convert 456*640*3 logical in to 456*640 logical image
조회 수: 4 (최근 30일)
이전 댓글 표시
what is the code to convert an image with 456*640*3 logical to an image with 456*640 logical
댓글 수: 0
답변 (1개)
Walter Roberson
2018년 3월 13일
all(Your3DLogical, 3) %3 planes are all set
or
any(Your3DLogical, 3) %any of planes are set
or
sum(Your3DLogical, 3) >= 2 %majority: at least 2 planes are set
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!