Figure 3: Demonstration of the effects of histogram equalization on the segmentation. The top row shows the original image without histogram equalization on the left and a histogram equalized image on the right. The bottom row shows the corresponding hard segmented images. The arrows show smoother edges and better connected regions of the CSF class when histogram equalization is applied before segmentation. Arbitrarily located CSF spots have been removed, thereby increasing the consistency of the CSF class between different subjects.