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 views (last 30 days)
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

Answers (1)

Image Analyst
Image Analyst on 21 Jul 2016
Check the filename with functions like strcmpi() and strfind().

Categories

Find more on Read, Write, and Modify Image 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!