Home
last modified time | relevance | path

Searched refs:avgdiff (Results 1 – 11 of 11) sorted by relevance

/dports/databases/grass7/grass-7.8.6/imagery/i.segment/
H A Dcluster.c62 double diff, diff2, avgdiff, ka2, hspat, hspat2; in cluster_bands() local
171 avgdiff = 0; in cluster_bands()
193 avgdiff += sqrt(diff2); in cluster_bands()
199 if (avgdiff > 0) { in cluster_bands()
200 avgdiff /= count; in cluster_bands()
203 hspecad = exp(-avgdiff * avgdiff / (2 * ka2)) * avgdiff; in cluster_bands()
208 G_debug(1, "avg spectral diff: %g", avgdiff); in cluster_bands()
H A Dmean_shift.c50 double avgdiff, avgdiffavg; in mean_shift() local
125 avgdiff = 0; in mean_shift()
150 avgdiff += sqrt(diff2); in mean_shift()
160 if (avgdiff > 0) in mean_shift()
161 avgdiffavg += avgdiff / count; in mean_shift()
296 avgdiff = 0; in mean_shift()
318 avgdiff += sqrt(diff2); in mean_shift()
324 if (avgdiff > 0) { in mean_shift()
325 avgdiff /= count; in mean_shift()
328 hspecad = exp(-avgdiff * avgdiff / (2 * ka2)) * avgdiff; in mean_shift()
[all …]
/dports/science/py-dlib/dlib-19.22/dlib/filtering/
H A Dkalman_filter.cpp53 running_stats<double> avgdiff; in find_optimal_momentum_filter() local
57 avgdiff.add(vals[i]-vals[i-1]); in find_optimal_momentum_filter()
59 const double scale = avgdiff.stddev(); in find_optimal_momentum_filter()
/dports/science/dlib-cpp/dlib-19.22/dlib/filtering/
H A Dkalman_filter.cpp53 running_stats<double> avgdiff; in find_optimal_momentum_filter() local
57 avgdiff.add(vals[i]-vals[i-1]); in find_optimal_momentum_filter()
59 const double scale = avgdiff.stddev(); in find_optimal_momentum_filter()
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/
H A Dmoving_avg.h76 mtime_t avgdiff = 0; in mva_get() local
85 avgdiff += diff; in mva_get()
90 return count ? avgdiff / count : 0; in mva_get()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/cores/VideoPlayer/
H A DPTSTracker.cpp200 double avgdiff = 0.0; in GetPattern() local
202 avgdiff += GetDiff(j * length + i); in GetPattern()
204 avgdiff /= m_ringfill / length; in GetPattern()
205 pattern.push_back(avgdiff); in GetPattern()
/dports/graphics/mypaint/mypaint-2.0.1/tests/
H A Dmypaintlib.py169 avgdiff = np.mean(res)
170 if avgdiff > 0.07:
172 "is too great: %r > 0.07 [255=white]." % (avgdiff,))
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/phonon/
H A Ddos.py64 avgdiff = sum(diff) / len(diff)
66 smeared_dens = gaussian_filter1d(self.densities, sigma / avgdiff)
/dports/science/silo/silo-4.10.2-bsd/svn_bin/
H A Dregressiontest290 ./runtest -m silo,optimized -notrackmem -q -pixdiff 10 -avgdiff 10 $testsToRun
302 ./runtest -m hdf5,silo,optimized -notrackmem -q -pixdiff 10 -avgdiff 10 $testsToRun
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/electronic_structure/
H A Ddos.py243 avgdiff = sum(diff) / len(diff)
245 smeared_dens[spin] = gaussian_filter1d(dens, sigma / avgdiff)
/dports/emulators/pcem/pcem_emulator-pcem-faf5d6423060/src/
H A Dvid_voodoo.c7061 float avgdiff; in voodoo_generate_filter_v2() local
7065 avgdiff = avg - (float)((g + h + h + h + h) / 5); in voodoo_generate_filter_v2()
7066 if (avgdiff < 0) avgdiff *= -1; in voodoo_generate_filter_v2()
7074 clr = clg = clb = avgdiff; in voodoo_generate_filter_v2()
7093 if (thiscol>g+avgdiff) in voodoo_generate_filter_v2()
7094 thiscol=g+avgdiff; in voodoo_generate_filter_v2()
7095 if (thiscolg>g+avgdiff) in voodoo_generate_filter_v2()
7096 thiscolg=g+avgdiff; in voodoo_generate_filter_v2()
7097 if (thiscolb>g+avgdiff) in voodoo_generate_filter_v2()
7098 thiscolb=g+avgdiff; in voodoo_generate_filter_v2()