• Home
  • Raw
  • Download

Lines Matching refs:threshold

399 MagickExport MagickBooleanType BilevelImage(Image *image,const double threshold,  in BilevelImage()  argument
472 q[i]=(Quantum) (pixel <= threshold ? 0 : QuantumRange); in BilevelImage()
543 threshold; in BlackThresholdImage() local
561 GetPixelInfo(image,&threshold); in BlackThresholdImage()
563 threshold.red=geometry_info.rho; in BlackThresholdImage()
564 threshold.green=geometry_info.rho; in BlackThresholdImage()
565 threshold.blue=geometry_info.rho; in BlackThresholdImage()
566 threshold.black=geometry_info.rho; in BlackThresholdImage()
567 threshold.alpha=100.0; in BlackThresholdImage()
569 threshold.green=geometry_info.sigma; in BlackThresholdImage()
571 threshold.blue=geometry_info.xi; in BlackThresholdImage()
573 threshold.alpha=geometry_info.psi; in BlackThresholdImage()
574 if (threshold.colorspace == CMYKColorspace) in BlackThresholdImage()
577 threshold.black=geometry_info.psi; in BlackThresholdImage()
579 threshold.alpha=geometry_info.chi; in BlackThresholdImage()
583 threshold.red*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage()
584 threshold.green*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage()
585 threshold.blue*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage()
586 threshold.black*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage()
587 threshold.alpha*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage()
637 if (pixel < GetPixelInfoChannel(&threshold,channel)) in BlackThresholdImage()
939 *threshold, in GetThresholdMapFile() local
948 for (threshold=GetXMLTreeChild(thresholds,"threshold"); in GetThresholdMapFile()
949 threshold != (XMLTreeInfo *) NULL; in GetThresholdMapFile()
950 threshold=GetNextXMLTreeTag(threshold)) in GetThresholdMapFile()
952 attribute=GetXMLTreeAttribute(threshold,"map"); in GetThresholdMapFile()
955 attribute=GetXMLTreeAttribute(threshold,"alias"); in GetThresholdMapFile()
959 if (threshold == (XMLTreeInfo *) NULL) in GetThresholdMapFile()
964 description=GetXMLTreeChild(threshold,"description"); in GetThresholdMapFile()
972 levels=GetXMLTreeChild(threshold,"levels"); in GetThresholdMapFile()
986 attribute=GetXMLTreeAttribute(threshold,"map"); in GetThresholdMapFile()
1135 *threshold, in ListThresholdMapFile() local
1148 threshold=GetXMLTreeChild(thresholds,"threshold"); in ListThresholdMapFile()
1149 for ( ; threshold != (XMLTreeInfo *) NULL; in ListThresholdMapFile()
1150 threshold=GetNextXMLTreeTag(threshold)) in ListThresholdMapFile()
1152 map=GetXMLTreeAttribute(threshold,"map"); in ListThresholdMapFile()
1160 alias=GetXMLTreeAttribute(threshold,"alias"); in ListThresholdMapFile()
1161 description=GetXMLTreeChild(threshold,"description"); in ListThresholdMapFile()
1404 threshold; in OrderedDitherImage() local
1412 threshold=(ssize_t) (QuantumScale*q[i]*(levels[n]*(map->divisor-1)+1)); in OrderedDitherImage()
1413 level=threshold/(map->divisor-1); in OrderedDitherImage()
1414 threshold-=level*(map->divisor-1); in OrderedDitherImage()
1415 q[i]=ClampToQuantum((double) (level+(threshold >= in OrderedDitherImage()
1638 threshold; in RandomThresholdImage() local
1659 GetPixelInfo(image,&threshold); in RandomThresholdImage()
1704 threshold; in RandomThresholdImage() local
1711 threshold=min_threshold; in RandomThresholdImage()
1714 threshold=max_threshold; in RandomThresholdImage()
1716 threshold=(double) (QuantumRange* in RandomThresholdImage()
1718 q[i]=(double) q[i] <= threshold ? 0 : QuantumRange; in RandomThresholdImage()
1790 threshold; in WhiteThresholdImage() local
1808 GetPixelInfo(image,&threshold); in WhiteThresholdImage()
1810 threshold.red=geometry_info.rho; in WhiteThresholdImage()
1811 threshold.green=geometry_info.rho; in WhiteThresholdImage()
1812 threshold.blue=geometry_info.rho; in WhiteThresholdImage()
1813 threshold.black=geometry_info.rho; in WhiteThresholdImage()
1814 threshold.alpha=100.0; in WhiteThresholdImage()
1816 threshold.green=geometry_info.sigma; in WhiteThresholdImage()
1818 threshold.blue=geometry_info.xi; in WhiteThresholdImage()
1820 threshold.alpha=geometry_info.psi; in WhiteThresholdImage()
1821 if (threshold.colorspace == CMYKColorspace) in WhiteThresholdImage()
1824 threshold.black=geometry_info.psi; in WhiteThresholdImage()
1826 threshold.alpha=geometry_info.chi; in WhiteThresholdImage()
1830 threshold.red*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage()
1831 threshold.green*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage()
1832 threshold.blue*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage()
1833 threshold.black*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage()
1834 threshold.alpha*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage()
1884 if (pixel > GetPixelInfoChannel(&threshold,channel)) in WhiteThresholdImage()