Research Article
[Retracted] Enhanced Watershed Segmentation Algorithm-Based Modified ResNet50 Model for Brain Tumor Detection
Algorithm 1
Algorithm for image augmentation.
1 Ld () # load dataset | 2 Split dataset () into three parts (test (), training () and validation ()), (, , ) | 3 Get original image () and into threshold value(), find biggest contour (Sp[]), extreme point () and crop the image () | = = > threshold | then | = = > biggest contour; | then | = = > extreme point; | then | = = > | 4 Apply step (iii) for all images. | ; #loop for all | 5 #resize the all images | 6 #apply augmentation for all images |
|