this was the code for SOM based brain image segmentation which can segment brain image and finally the segmented labelled image was represent as a color label. this code segment the tumor spot of an given brain image and represent as a color label. we can