MATLAB: How to draw bounding box

bounding boximage processing

hey,
i am working on am image where i need to plot the bounding box across all the objects with area more that 1000 pixels. can you please help me with it?
thank you
Related Question