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_-184.108.40.206.jar.
Ext.CLIJ2_getBoundingBox(Image source, Number boundingBoxX, Number boundingBoxY, Number boundingBoxZ, Number boundingBoxWidth, Number boundingBoxHeight, Number boundingBoxDepth);