Image
Given an input image and some crop boxes, extract out the image subsets and resize them to the specified size.
image (NUMERIC) - Input image, with shape [batch, height, width, channels]
cropBoxes (NUMERIC) - Float32 crop, shape [numBoxes, 4] with values in range 0 to 1
boxIndices (NUMERIC) - Indices: which image (index to dimension 0) the cropBoxes belong to. Rank 1, shape [numBoxes]
cropOutSize (INT) - Output size for the images - int32, rank 1 with values [outHeight, outWidth]
extrapolationValue - Used for extrapolation, when applicable. 0.0 should be used for the default - default = 0.0
Adjusts contrast of RGB or grayscale images.
in (NUMERIC) - images to adjust. 3D shape or higher
factor - multiplier for adjusting contrast
Adjust hue of RGB image
in (NUMERIC) - image as 3D array
delta - value to add to hue channel
adjustSaturation
Adjust saturation of RGB images
in (NUMERIC) - RGB image as 3D array
factor - factor for saturation
extractImagePatches
Given an input image, extract out image patches (of size kSizes - h x w) and place them in the depth dimension.
image (NUMERIC) - Input image to extract image patches from - shape [batch, height, width, channels]
kSizes - Kernel size - size of the image patches, [height, width] (Size: Exactly(count=2))
strides - Stride in the input dimension for extracting image patches, [stride_height, stride_width] (Size: Exactly(count=2))
Converting image from HSV to RGB format
input (NUMERIC) - 3D image
Resize images to size using the specified method.
input (NUMERIC) - 4D image [NHWC]
size (INT) - new height and width
preserveAspectRatio - Whether to preserve the aspect ratio. If this is set, then images will be resized to a size that fits in size while preserving the aspect ratio of the original image. Scales up the image if size is bigger than the current size of the image. Defaults to False. - default = false
nonMaxSuppression
Greedily selects a subset of bounding boxes in descending order of score
boxes (NUMERIC) - Might be null. Name for the output variable
scores (NUMERIC) - vector of shape [num_boxes]
maxOutSize - scalar representing the maximum number of boxes to be selected
Randomly crops image
input (NUMERIC) - input array
shape (INT) - shape for crop
Converting array from HSV to RGB format
input (NUMERIC) - 3D image
Converting array from RGB to YIQ format
input (NUMERIC) - 3D image
Converting array from RGB to YUV format
input (NUMERIC) - 3D image
Converting image from YIQ to RGB format
input (NUMERIC) - 3D image
Converting image from YUV to RGB format
input (NUMERIC) - 3D image