Image size and value in matlab

3 visualizaciones (últimos 30 días)
warinthorn Kiadti
warinthorn Kiadti el 10 de Feb. de 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

Respuestas (1)

Image Analyst
Image Analyst el 10 de Feb. de 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.

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by