museotoolbox.processing.RasterMath.get_block_coords

RasterMath.get_block_coords(block_number=0)[source]

Get position of a block :

order as [x,y,width,height]

Parameters

int, optional (default=0) (block_number,) – Position of the desired block.

Returns

Return type

List of positions of the block [x,y,width,height]