.DataAugmentationoffsetcropbounds

function defined in module DataAugmentation


			offsetcropbounds(sz, bounds, offsets)

Calculate offset bounds for a crop of size sz.

For every dimension i where sz[i] < length(indices[i]), offsets the crop by offsets[i] times the difference between the two.

Methods

There is 1 method for DataAugmentation.offsetcropbounds: