There are a number of operators which retrieve information about an image.
Returns one of the following constants available from ice.constants object:
Returns a box corresponding to the read/write region of the image. This is the rectangle conventionally thought of as the "image". The format of the list returned should be: [xmin, xmax, ymin, ymax]
Returns a box corresponding to the read-only region of the image.
Returns the i'th input of a node in an image processing expression.
Index of input desired
Returns true if an image is a card (image of constant value), false otherwise.
Returns the operation name of a node.
Returns a string with one character for each channel, intended to represent the meaning of each channel.
The channel packing string is not used in any image processing operation: it is mostly useful when an image with non-standard channel interpretation is read from a file.
Returns the meta-data dictionary stored in the image. Images read in from file will often contain useful information not directly related to image content. Values stored in the dictionary can be retrieved with the following script (assuming "image" is of type ice.Image):
d = image.GetMetaData() for key in d: print "KEY: %s VALUE: %s" % (key,d[key])
Meta-data dictionaries are not transmitted through image processing nodes. If you need the information in a node, you should retrieve the dictionary and stash it away.
Sequence, name of item