Fill values used for output pixels outside the input image, specified as the
comma-separated pair consisting of 'FillValues' and one of the
following values. imtranslate uses fill values for output pixels
when the corresponding inverse transformed location in the input image is completely
outside the input image boundaries.
The default fill value of numeric and logical images is 0. The
default fill value of categorical images is missing, which
corresponds to the category.
Image TypeTranslation DimensionFormat of Fill Values2-D grayscale or logical image2-DNumeric scalar
2-D color image or 2-D multispectral image2-DNumeric scalar
c-element numeric vector specifying a fill value
for each of the c channels. The number of channels,
c, is 3 for color images.
Series of p 2-D images2-DNumeric scalar
c-by-p numeric matrix. The
number of channels, c, is 1 for grayscale images
and 3 for color images.
N-D image2-DNumeric scalar
Numeric array whose size matches dimensions
3-to-N of the input image A.
For example, if A is 200-by-200-by-10-by-3, then
FillValues can be a 10-by-3 array.
3-D grayscale or logical image3-DNumeric scalar
Categorical image2-D or 3-DValid category in the image, specified as a string scalar or
character vector.
missing, which corresponds to the
category. For more information, see
missing.
Example:255 fills a uint8 image with white
pixels
Example:1 fills a double image with white
pixels
Example:[0 1 0] fills a double color image
with green pixels
Example:[0 1 0; 0 1 1]', for a series of two
double color images, fills the first image with green pixels and
the second image with cyan pixels
Example:"vehicle" fills a categorical image with the "vehicle"
category
Data Types:single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | string | char