title: Get the ROI of two binary images and find difference of the mean image intesities between 2 ROI in python
body: <p>I have 2 binary images (uint16, [512,512]) there ROI is at the exact center, how can I get ROI of both those binary images(image1.dat and image2.dat) and calculate the difference in mean intensities between those 2 ROI and save it as a PDF in python. Please help me out.</p>
  
  <p>Thanks</p>