Determines the bounding box of all non-zero pixels in a binary image.
If called from macro, the positions will be stored in the variables ‘boundingBoxX’, ‘boundingBoxY’, ‘boundingBoxZ’, ‘boundingBoxWidth’, ‘boundingBoxHeight’ and ‘boundingBoxDepth’.In case of 2D images Z and depth will be zero.
Availability: Available in Fiji by activating the update sites clij and clij2. This function is part of clij2_-188.8.131.52.jar.
Ext.CLIJ2_getBoundingBox(Image source, Number boundingBoxX, Number boundingBoxY, Number boundingBoxZ, Number boundingBoxWidth, Number boundingBoxHeight, Number boundingBoxDepth);