ScalableCytometryImageProcessing / SCIP

Scalable Cytometry Image Processing (SCIP) is an open-source tool that implements an image processing pipeline on top of Dask, a distributed computing framework written in Python. SCIP performs projection, illumination correction, image segmentation and masking, and feature extraction.
https://scalable-cytometry-image-processing.readthedocs.io/en/latest/
GNU General Public License v3.0
7 stars 0 forks source link

Image normalization after masking #5

Closed MaximLippeveld closed 3 years ago

MaximLippeveld commented 3 years ago

To avoid working with very small floats in the feature extraction phase, we want to rescale the pixel values to the [0-1] range. This can be achieved with a simple min-max normalization. Potentially, we can use quantile quantile normalization where instead of min and max we use the 5th and 95th quantile.

sanderthierens commented 3 years ago

At the moment, there are three different methods to do this

  1. Based on the binned counts, we search the bin in which the n% quantile is located
  2. For each sample we calculate quantile values and reduces this with a median
  3. Per partition we group intensities an calculate quantile value followed by a median reduction