if there is a image selected from a location and we want to check whether the image is image 1, and if the image is 1mage1 then imshow(image2)

조회 수: 2 (최근 30일)
if there is a image selected from a location and we want to check whether the image is image 1, and if the image is 1mage1 then imshow(image2) else if image is 1mage2 then open image 4??? how to do this please help

답변 (1개)

Image Analyst
Image Analyst 2016년 7월 21일
Check the filename with functions like strcmpi() and strfind().

Community Treasure Hunt

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

Start Hunting!

Translated by