Lines Matching refs:density
731 /* loop over all rows, find density of each */
747 /* loop over all rows, find density of each */
767 DBG (5, "sanei_magic_isBlank: sum:%f lines:%d thresh:%f density:%f\n",
783 * margin on all sides. If all squares are under the user's density,
1295 int density = 0;
1303 * to bypass binning errors, highest density wins */
1308 ret = getLine(height,width,buff,slopes,minSlope+sStep2,maxSlope+sStep2,offsets,minOffset+oStep2,maxOffset+oStep2,&slope,&offset,&density);
1313 DBG(15,"getTopEdge: %d %d %+0.4f %d %d\n",i,j,slope,offset,density);
1315 if(density > topDensity){
1318 topDensity = density;
1328 DBG(5,"getTopEdge: density too small %d %d\n",topDensity,width);
1475 /* build 2-d array of 'density', divided into slope and offset ranges */