Image size and value in matlab

3 次查看(过去 30 天)
warinthorn Kiadti
warinthorn Kiadti 2012-2-10
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
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.

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by