number counting and sorting for surface and cytoplasmic particles above given threshold for Maarit's SLO experiment-review

This function sorts the virus particles into different cells with their mean intensity and also the number of particles which are endocytosed and their mean intensity.