Image Processing Toolbox User's Guide |
Syntax
imageinfo imageinfo(h) imageinfo(filename) imageinfo(info) imageinfo(himage,filename) imageinfo(himage,info) hfig = imageinfo(...)
Description
creates an Image Information tool associated with the image in the current figure. The tool displays in a separate figure information about the basic attributes of the target image. imageinfo
imageinfo
gets the image attributes by querying the image object's CData
.
The following table lists the basic image information included in the Image Information tool display. Note that the tool contains either four or six fields, depending on the type of image.
creates an Image Information tool associated with imageinfo(h)
h
, where h
is a handle to a figure, axes, or image object.
creates an Image Information tool containing image metadata from the graphics file imageinfo(filename)
filename
. The image does not have to be displayed in a figure window. filename
can be any file type that has been registered with an information function in the file formats registry, imformats
, so its information can be read by imfinfo
. filename
can also be a DICOM file with information readable by dicominfo
.
creates an Image Information tool containing the image metadata in the structure imageinfo(info)
info
. info
is a structure returned by the functions imfinfo
or dicominfo
, or info
can be a user-created structure.
creates an Image Information tool containing information about the basic attributes of the image specified by the handle imageinfo(himage,filename)
himage
and the image metadata from the graphics file filename
.
creates an Image Information tool containing information about the basic attributes of the image specified by the handle imageinfo(himage,info)
himage
and the image metadata in the structure info
.
returns a handle to the Image Information tool figure.hfig=imageinfo(...)
Example
imageinfo('peppers.png') h = imshow('bag.png'); info = imfinfo('bag.png'); imageinfo(h,info); imshow('trees.tif'); imageinfo;
See Also
dicominfo
, imattributes
, imfinfo
, imformats
, imtool
imadjust | imagemodel |
© 1994-2005 The MathWorks, Inc.