Checking the type of Image in '' if '' statement
Show older comments
Hello
I have a simple question that bother me a lot in making a function. I want the function to take as input either a label image or rgb image. I do not know how to program the function to check what is the format of the input image and the process it accordingly.
Is there a simple way to determine between two input image formats ?
Thank you in advance
Accepted Answer
More Answers (1)
Dimitris M
on 26 Jun 2012
0 votes
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!