Image size and value in matlab

3 views (last 30 days)
warinthorn Kiadti
warinthorn Kiadti on 10 Feb 2012
Hi all,
I am very new in image processing and matlab. So.... I have an image, which is processed in my program. The final result is for example I3 = class uinit8 and Value is 600x800x3. How that we know' How much size of this I3 image? If I don't want to save it in jpeg/png/tif....etc formats. (This mean I don't want to write image to some format and imfinfo it)
I am confuse about 2 different images, which have the same Value (ex:600x800x3 ) How to know the size of each? Both images should have a different size..
Please help Many Thank. Warin

Answers (1)

Image Analyst
Image Analyst on 10 Feb 2012
The size is the actual number of elements in the image. There is no "overhead", like headers or metadata, for a variable like there is for images stored on disk in particular formats such as tif, jpg, etc.

Categories

Find more on Get Started with MATLAB 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!