how to convert 456*640*3 logical in to 456*640 logical image
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
what is the code to convert an image with 456*640*3 logical to an image with 456*640 logical
0 Kommentare
Antworten (1)
Walter Roberson
am 13 Mär. 2018
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 Kommentare
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!