Home
last modified time | relevance | path

Searched refs:median (Results 1 – 25 of 55) sorted by relevance

123

/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DCauchyDistributionImpl.java46 private double median = 0; field in CauchyDistributionImpl
67 public CauchyDistributionImpl(double median, double s){ in CauchyDistributionImpl() argument
68 this(median, s, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); in CauchyDistributionImpl()
79 public CauchyDistributionImpl(double median, double s, double inverseCumAccuracy) { in CauchyDistributionImpl() argument
81 setMedianInternal(median); in CauchyDistributionImpl()
92 return 0.5 + (FastMath.atan((x - median) / scale) / FastMath.PI); in cumulativeProbability()
100 return median; in getMedian()
120 final double dev = x - median; in density()
147 ret = median + scale * FastMath.tan(FastMath.PI * (p - .5)); in inverseCumulativeProbability()
158 public void setMedian(double median) { in setMedian() argument
[all …]
DCauchyDistribution.java54 void setMedian(double median); in setMedian() argument
/external/opencv3/modules/photo/src/
Dalign.cpp209 int median = getMedian(img); in computeBitmaps() local
210 compare(img, median, tb, CMP_GT); in computeBitmaps()
211 compare(abs(img - median), exclude_range, eb, CMP_GT); in computeBitmaps()
255 int median = 0, sum = 0; in getMedian() local
257 while(sum < thresh && median < LDR_SIZE) { in getMedian()
258 sum += static_cast<int>(ptr[median]); in getMedian()
259 median++; in getMedian()
261 return median; in getMedian()
/external/ceres-solver/examples/
Dbal_problem.cc218 Eigen::Vector3d median; in Normalize() local
224 median(i) = Median(&tmp); in Normalize()
229 tmp[i] = (point - median).lpNorm<1>(); in Normalize()
238 VLOG(2) << "median: " << median.transpose(); in Normalize()
245 point = scale * (point - median); in Normalize()
255 VectorRef(center, 3) = scale * (VectorRef(center, 3) - median); in Normalize()
/external/skia/tools/
DStats.h24 min = max = mean = var = median = 0; in Stats()
50 median = sorted[n/2]; in Stats()
74 double median; member
/external/deqp/framework/common/
DtcuCPUWarmup.cpp58 const float median = floatMedian(v); in floatRelativeMedianAbsoluteDeviation() local
62 absoluteDeviations[i] = deFloatAbs((float)v[i] - median); in floatRelativeMedianAbsoluteDeviation()
64 return floatMedian(absoluteDeviations) / median; in floatRelativeMedianAbsoluteDeviation()
/external/opencv3/modules/stitching/src/
Dautocalib.cpp122 double median; in estimateFocal() local
126 median = all_focals[all_focals.size() / 2]; in estimateFocal()
128median = (all_focals[all_focals.size() / 2 - 1] + all_focals[all_focals.size() / 2]) * 0.5; in estimateFocal()
131 focals[i] = median; in estimateFocal()
/external/deqp/modules/glshared/
DglsStateChangePerfTestCases.cpp57 double median; member
91 result.median = (double)sortedValues[n]; in calculateStats()
547 …log << TestLog::Message << "Interleaved median: " << interleaved.median << TestLog::EndMess… in logAndSetTestResult()
553 log << TestLog::Message << "Batched median: " << batched.median << TestLog::EndMessage; in logAndSetTestResult()
559 …::Message << "Batched/Interleaved median ratio: " << (interleaved.median/batched.median) << TestLo… in logAndSetTestResult()
561 …EST_RESULT_PASS, de::floatToString((float)(((double)interleaved.median) / batched.median), 2).c_st… in logAndSetTestResult()
/external/opencv3/doc/py_tutorials/py_imgproc/py_filtering/
Dpy_filtering.markdown107 Here, the function **cv2.medianBlur()** takes median of all the pixels under kernel area and central
108 element is replaced with this median value. This is highly effective against salt-and-pepper noise
110 calculated value which may be a pixel value in the image or a new value. But in median blurring,
114 In this demo, I added a 50% noise to our original image and applied median blur. Check the result:
116 median = cv2.medianBlur(img,5)
120 ![image](images/median.jpg)
/external/webrtc/webrtc/modules/audio_processing/
Decho_cancellation_impl.h63 int GetDelayMetrics(int* median, int* std) override;
64 int GetDelayMetrics(int* median,
Decho_cancellation_impl.cc365 int EchoCancellationImpl::GetDelayMetrics(int* median, int* std) { in GetDelayMetrics() argument
368 return GetDelayMetrics(median, std, &fraction_poor_delays); in GetDelayMetrics()
371 int EchoCancellationImpl::GetDelayMetrics(int* median, int* std, in GetDelayMetrics() argument
374 if (median == NULL) { in GetDelayMetrics()
387 WebRtcAec_GetDelayMetrics(my_handle, median, std, fraction_poor_delays); in GetDelayMetrics()
/external/webrtc/webrtc/audio/
Daudio_send_stream.cc181 int median = -1; in GetStats() local
184 error = processing->GetEcDelayMetrics(median, std, dummy); in GetStats()
186 stats.echo_delay_median_ms = median; in GetStats()
/external/chromium-trace/catapult/dashboard/dashboard/
Dfind_change_points.py174 median = math_utils.Median(values)
175 return [val - median for val in values]
/external/blktrace/btt/
Doutput.c323 long long nseeks, median; member
354 sip->median / sip->nseeks, new_list->mode, new_list->nseeks); in output_seek_mode_info()
397 long long median; in do_output_dip_seek_info() local
404 median = seeki_median(handle); in do_output_dip_seek_info()
409 median, nmodes > 0 ? m.modes[0] : 0, m.most_seeks); in do_output_dip_seek_info()
423 nseeks, mean, median, in do_output_dip_seek_info()
432 seek_info.median += (nseeks * median); in do_output_dip_seek_info()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_median_filter.c86 const unsigned median = num_offsets >> 1; in create_frag_shader() local
136 for (i = 0; i <= median; ++i) { in create_frag_shader()
144 if (i == median) in create_frag_shader()
149 ureg_MOV(shader, o_fragment, ureg_src(t_array[median])); in create_frag_shader()
/external/opencv/cv/src/
D_cvkdtree.hpp164 __instype *median = median_partition(first, last, dim, ctor); in insert() local
166 __instype *split = median; in insert()
168 deref(ctor(*median), dim); ++split); in insert()
189 n.boundary = deref(ctor(*median), dim); in insert()
/external/webrtc/webrtc/modules/audio_processing/include/
Dmock_audio_processing.h50 int(int* median, int* std));
52 int(int* median, int* std, float* fraction_poor_delays));
/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.h234 int* median,
Daec_core.h86 int WebRtcAec_GetDelayMetricsCore(AecCore* self, int* median, int* std,
/external/webrtc/webrtc/modules/audio_processing/test/
Dunittest.proto40 optional int32 median = 1; field
/external/webrtc/tools/cpu/
Dcpu_mon.py33 numpy.median(self.samples),
/external/opencv3/modules/ts/src/
Dts_perf.cpp645 median = 0; in clear()
1138 double median_ms = metrics.median * 1000.0f / metrics.frequency; in next()
1387 metrics.median = (n % 2 in calcMetrics()
1421 double median = metrics.median * 1000.0f / metrics.frequency; in validateMetrics() local
1424 …, median = %.2f, stddev = %.2f (%.1f%%))\n", (int)metrics.samples, mean, median, stddev, percents); in validateMetrics()
1452 RecordProperty("median", cv::format("%.0f", m.median).c_str()); in reportMetrics()
1547 LOGD("median =%11.0f = %.2fms", m.median, m.median * 1e3 / m.frequency); in reportMetrics()
/external/opencv3/doc/py_tutorials/py_core/py_optimization/
Dpy_optimization.markdown36 We will demonstrate with following example. Following example apply median filtering with a kernel
79 See, optimized median filtering is \~2x faster than unoptimized version. If you check its source,
80 you can see median filtering is SIMD optimized. So you can use this to enable optimization at the
/external/opencv3/modules/calib3d/src/
Dfisheye.hpp55 double median(const Mat& row);
/external/autotest/client/site_tests/platform_CompressedSwapPerf/
Dplatform_CompressedSwapPerf.py165 median = values[int(0.5*len(values))]
171 metric, 'median', median)

123