| image = | splitRoiSeq2dImg (inSingleImg,roiSize,roiOffset) |
Split the input image into a sequence of ROIs.
This algorithm splits the input image into ROIs and stores theses ROIs as frames of a sequence image.
The ROIs are described by their size. The offset parameter indicates the number of pixels separating two consecutive ROIs. If the offset is lower than the ROI size, the ROI overlap.
If the last ROI along a direction does not fit the image range, it is shifted so that each pixel in the ROI can be assigned to a value.
Here is an example of split with one row of ROIs for clarity: