This code implements MaxEntropy-based segmentation method tailored for detecting fluid regions in brain tumor MRI scans.
Input image resource = kagel website
https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset

Utilizes a MaxEntropy thresholding technique to identify fluid areas in MRI images. Calculates the optimal threshold to separate fluid (foreground) from background.
Please feel free to message me about wrong implementation or improvements! Happy coding :)