Preprocessing step for high-density analysis methods in super resolution localisation microscopy: it aims at correcting artefacts due to these approaches with based on Haar Wavelet Kernel Analysis.
The macro will segment nuclei and separate clustered nuclei in a 3D image using a distance transform watershed. As a result an index-mask image is written for each input image.