CropGridStep
is a pipeline step that crops sub images out of a larger image, based on a grid. The four corner coordinates are defined as points, and come from list of point of targeted data, in the following order: top left, top right, bottom left, bottom right. The output contains a list of cropped images from the grid, in order: (row,col) = (0,0), (0, 1), ..., (0, C-1), ..., (R-1, C-1).null
, it will try to find any image in the incoming data instance.topLeft
, topRight
, bottomLeft
, bottomRight
.true
, the lists are in pixels coordinates, not from 0 to 1.true
, the two lists are returned which contains the data of grid horizontal and vertical coordinates, respectively.true
, other data key and values from the previous step are kept and passed on to the next step as well.