All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nih.ncats.molvec.internal.image.binarization.ImageStats Maven / Gradle / Ivy

Go to download

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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy