Image Normalizer
Description
The image normalizer resizes, crops and normalizes images.
Parameters
The following parameters can be used:
resize_dim
(int): The size of the image after resizingtarget_size
(tuple or int): The dimensions to crop the image to (center cropping is used)img_mean
(tuple, default (0,0,0)): The mean for normalizationimg_std
(tuple, default (1,1,1)): The standard deviation for normalizationchannel_axis
(int): The channel axis in the images usedtarget_channel_axis
(int): The desired channel axis in the images. If this is not equal to the channel_axis, the axis is moved.