Region of Interest (ROI)
To extraction of the ROI is performed in two steps: First, block direction estimation and direction variety check; second, used some Morphological methods.
Two types of morphological methods are available i.e. OPEN and CLOSE. The OPEN operation can enlarge the images and eliminate background noise. And CLOSE operation can shrink images and eliminate small cavities.