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().

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by