Image size and value in matlab

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

回答 (1 件)

Image Analyst
Image Analyst 2012 年 2 月 10 日

0 投票

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.

製品

質問済み:

2012 年 2 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by