about the inbuild image in matlab
3 views (last 30 days)
Show older comments
1) can you say any inbuild 256*256 image in matlab?
2) how can i check whether that image is 256*256 via matlab code ?
0 Comments
Accepted Answer
Rik
on 16 Jun 2020
The default image that is built in to the image function is 64*64. Other example images (like cameraman.tif) are 256*256.
You can check the image size just like every other array:
if size(IM,1)==256 && size(IM,2)==256
disp('256*256 image')
end
0 Comments
More Answers (0)
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!