Image
- See also:
Format Specification or Source Specification for Image.
- class types.core.Image(varargin)[source]
Bases:
types.core.BaseImage,types.untyped.DatasetClassIMAGE - A type for storing image data directly. Shape can be 2-D (x, y), or 3-D where the third dimension can have three or four elements, e.g. (x, y, (r, g, b)) or (x, y, (r, g, b, a)).
- Required Properties*:
data
- Constructor Summary
- Image(varargin)
IMAGE - Constructor for
Image- Syntax:
image = types.core.IMAGE()creates an Image object with unset property values.image = types.core.IMAGE(Name, Value)creates an Image object where one or more property values are specified using name-value pairs.- Input Arguments (Name-Value Arguments):
data (
numeric) - Data property for dataset class (Image)description (
char) - Description of the image.resolution (
single) - Pixel resolution of the image, in pixels per centimeter.
- Output Arguments:
image (
types.core.Image) - AnImageobject
- Property Summary
- resolution
(
single) Pixelresolutionof the image, in pixels per centimeter.
Tip
* If a required property link is not functional, the property may be defined in a superclass. Please refer to the superclass documentation.