Lines Matching refs:histo
55 int histo[HISTSIZE]; in remove_dust() local
66 for (i1=0;i1<HISTSIZE;i1++) histo[i1]=0; in remove_dust()
79 if (j<HISTSIZE) histo[j]++; in remove_dust()
93 if (vvv) fprintf(stderr,"\n# dust size histogram %3d %5d",i,histo[i]); in remove_dust()
94 if (histo[i]>=nC) continue; /* v0.42 lot of pixels -> bg pattern < 3 */ in remove_dust()
96 if (histo[i+1]==0) break; /* bad statistic */ in remove_dust()
97 if ((histo[i+2]+histo[i+3]) in remove_dust()
98 >=(histo[i] +histo[i+1])) break; /* no noise, but to late? */ in remove_dust()
99 if ( histo[i-1] > 1024*histo[i] && in remove_dust()
100 2*histo[i+1] >=histo[i]) break; /* bg pattern */ in remove_dust()
105 if (j==HISTSIZE-1 || histo[j]!=histo[j-1] || histo[j]!=histo[j+1]) { in remove_dust()
106 fprintf(stderr,"\n# dust size histogram %3d %5d",j,histo[j]); in remove_dust()
130 histo[1],histo[2],histo[1]*histo[1]/(pp->x*pp->y), in remove_dust()
131 histo[3], histo[1]*histo[1]/(pp->x*pp->y) in remove_dust()
132 *histo[1]/(pp->x*pp->y)); in remove_dust()