MATLAB: Please, how to calculate the number of pixels in boundingbox

boundingboxdigital image processingImage Processing Toolboxmotion detectionregionprops

hi i saiful. I would like to ask which way to count the number of pixels contained on objects in boundingbox, use the command regionprops

Best Answer

Multiply the width of the bounding box by the height of the bounding box.