In this study, the proposed system was demonstrated for detecting the representative ROIs for HER2 grading of breast cancer patients; however, this system can be used for other image analysis applications with necessary adjustments. The gene discussed is ERBB2; the disease is breast cancer.