Apply this transformer to rdd
how to generate crop roi
set the output key to store current transformed result if the key is not set, or same as default, then the transformed result will be overwritted by the following transformer
set the output key to store current transformed result if the key is not set, or same as default, then the transformed result will be overwritted by the following transformer
output key
transform feature
transform mat
transform mat
Crop a
cropWidth
xcropHeight
patch from center of image. The patch size should be less than the image size.