Lines Matching refs:MaxIntensity

405 #define MaxIntensity  255  in KapurThreshold()  macro
425 cumulative_histogram=(double *) AcquireQuantumMemory(MaxIntensity+1UL, in KapurThreshold()
427 black_entropy=(double *) AcquireQuantumMemory(MaxIntensity+1UL, in KapurThreshold()
429 white_entropy=(double *) AcquireQuantumMemory(MaxIntensity+1UL, in KapurThreshold()
449 for (i=1; i <= MaxIntensity; i++) in KapurThreshold()
452 for (j=0; j <= MaxIntensity; j++) in KapurThreshold()
474 for (i=j+1; i <= MaxIntensity; i++) in KapurThreshold()
486 for (j=1; j <= MaxIntensity; j++) in KapurThreshold()
498 return(100.0*threshold/MaxIntensity); in KapurThreshold()
518 myu=(double *) AcquireQuantumMemory(MaxIntensity+1UL,sizeof(*myu)); in OTSUThreshold()
519 omega=(double *) AcquireQuantumMemory(MaxIntensity+1UL,sizeof(*omega)); in OTSUThreshold()
520 probability=(double *) AcquireQuantumMemory(MaxIntensity+1UL, in OTSUThreshold()
522 sigma=(double *) AcquireQuantumMemory(MaxIntensity+1UL,sizeof(*sigma)); in OTSUThreshold()
541 for (i=0; i <= (ssize_t) MaxIntensity; i++) in OTSUThreshold()
548 for (i=1; i <= (ssize_t) MaxIntensity; i++) in OTSUThreshold()
558 for (i=0; i < (ssize_t) MaxIntensity; i++) in OTSUThreshold()
562 sigma[i]=pow(myu[MaxIntensity]*omega[i]-myu[i],2.0)/(omega[i]*(1.0- in OTSUThreshold()
577 return(100.0*threshold/MaxIntensity); in OTSUThreshold()
610 for (i=0; i <= (ssize_t) MaxIntensity; i++) in TriangleThreshold()
617 for (i=(ssize_t) MaxIntensity; i >= 0; i--) in TriangleThreshold()
625 for (i=0; i <= (ssize_t) MaxIntensity; i++) in TriangleThreshold()
668 return(100.0*threshold/MaxIntensity); in TriangleThreshold()
705 histogram=(double *) AcquireQuantumMemory(MaxIntensity+1UL, in AutoThresholdImage()
711 (void) memset(histogram,0,(MaxIntensity+1UL)*sizeof(*histogram)); in AutoThresholdImage()
736 for (i=0; i <= (ssize_t) MaxIntensity; i++) in AutoThresholdImage()
739 for (i=0; i <= (ssize_t) MaxIntensity; i++) in AutoThresholdImage()