gov.nih.ncats.molvec.internal.image.binarization.ImageStats Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of molvec Show documentation
Show all versions of molvec Show documentation
NCATS (chemical) ocr
engine that can a way to vectorize
chemical images into Chemical objects preserving the 2D layout as much as
possible.
The newest version!
package gov.nih.ncats.molvec.internal.image.binarization;
public class ImageStats {
public double min;
public double max;
public double stdev;
public double mean;
public double threshold;
public int[] histogram;
public int[] histogramRaw;
public double count;
public double getPercentageThreshold(){
return 100*(threshold-min)/(max-min);
}
}