Determine the background deviation with a box size of bbox. The algorithm steps through the image and calculates the deviation within each box. It returns an array with the pixels in each box filled with the deviation value.
Parameters: | data : ndarray or MaskedArray
bbox : int
|
---|---|
Returns: | background : ndarray or MaskedArray
|
Raises: | ValueError
|