I'm trying to extract 3 areas from the image (lungs image) these areas are indicated in the soft tissues, each area will be a square of specific height and width e.g. 10mm for width and height, as shown in the image below,

as seen in the image also the area is Homogeneous which mean it is only include the same color (soft tissues in the case)
How to do it using python lib like skimage or cv2?


