Searched refs:MaxIntensity (Results 1 – 2 of 2) sorted by relevance
397 #define MaxIntensity 255 in KapurThreshold() macro417 cumulative_histogram=(double *) AcquireQuantumMemory(MaxIntensity+1UL, in KapurThreshold()419 black_entropy=(double *) AcquireQuantumMemory(MaxIntensity+1UL, in KapurThreshold()421 white_entropy=(double *) AcquireQuantumMemory(MaxIntensity+1UL, in KapurThreshold()441 for (i=1; i <= MaxIntensity; i++) in KapurThreshold()444 for (j=0; j <= MaxIntensity; j++) in KapurThreshold()466 for (i=j+1; i <= MaxIntensity; i++) in KapurThreshold()478 for (j=1; j <= MaxIntensity; j++) in KapurThreshold()490 return(100.0*threshold/MaxIntensity); in KapurThreshold()510 myu=(double *) AcquireQuantumMemory(MaxIntensity+1UL,sizeof(*myu)); in OTSUThreshold()[all …]
903 #define MaxIntensity (255) in BilateralBlurImage() macro911 intensity_gaussian[2*(MaxIntensity+1)], in BilateralBlurImage()960 for (i=(-MaxIntensity); i < MaxIntensity; i++) in BilateralBlurImage()961 intensity_gaussian[i+MaxIntensity]=BlurGaussian((double) i,intensity_sigma); in BilateralBlurImage()1040 if ((intensity >= -MaxIntensity) && (intensity <= MaxIntensity)) in BilateralBlurImage()1041 weights[id][n]=intensity_gaussian[(ssize_t) intensity+MaxIntensity]* in BilateralBlurImage()