Home
last modified time | relevance | path

Searched refs:distortion (Results 1 – 25 of 52) sorted by relevance

123

/external/ceres-solver/examples/
Dsnavely_reprojection_error.h81 T distortion = T(1.0) + r2 * (l1 + l2 * r2); in operator() local
84 T predicted_x = focal * distortion * xp; in operator()
85 T predicted_y = focal * distortion * yp; in operator()
144 T distortion = T(1.0) + r2 * (l1 + l2 * r2); in operator() local
147 T predicted_x = focal * distortion * xp; in operator()
148 T predicted_y = focal * distortion * yp; in operator()
Dsimple_bundle_adjuster.cc149 T distortion = T(1.0) + r2 * (l1 + l2 * r2); in operator ()() local
153 T predicted_x = focal * distortion * xp; in operator ()()
154 T predicted_y = focal * distortion * yp; in operator ()()
/external/v8/tools/profviz/
Dstdio.js35 var distortion = parseInt(result.distortion); variable
36 if (isNaN(distortion)) processor.printUsageAndExit();;
38 distortion_per_entry = distortion / 1000000;
Dprofviz.js66 distortion, argument
72 'distortion' : distortion, property
221 var distortion = getDistortion();
230 worker.run(file, kResX, kResY, distortion, range[0], range[1]);
243 parseInt(ui.distortion.value, 10);
245 input_distortion = ui.distortion.value = 4500;
Dworker.js85 var distortion = args["distortion"];
118 distortion,
137 psc.collectData(input, distortion);
/external/opencv3/modules/calib3d/perf/
Dperf_pnp.cpp35 Mat distortion = Mat::zeros(5, 1, CV_32FC1); variable
46 projectPoints(points3d, rvec, tvec, intrinsics, distortion, points2d);
58 solvePnP(points3d, points2d, intrinsics, distortion, rvec, tvec, false, algo);
82 Mat distortion = Mat::zeros(5, 1, CV_32FC1); variable
93 projectPoints(points3d, rvec, tvec, intrinsics, distortion, points2d);
105 solvePnP(points3d, points2d, intrinsics, distortion, rvec, tvec, false, algo);
/external/libvpx/libvpx/vp8/encoder/
Drdopt.c646 int distortion; in rd_pick_intra4x4block() local
682 distortion = vp8_block_error(be->coeff, b->dqcoeff) >> 2; in rd_pick_intra4x4block()
684 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra4x4block()
690 *bestdistortion = distortion; in rd_pick_intra4x4block()
712 int distortion = 0; in rd_pick_intra4x4mby_modes() local
751 distortion += d; in rd_pick_intra4x4mby_modes()
765 *Distortion = distortion; in rd_pick_intra4x4mby_modes()
767 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in rd_pick_intra4x4mby_modes()
779 int distortion; in rd_pick_intra16x16mby_mode() local
796 macro_block_yrd(x, &ratey, &distortion); in rd_pick_intra16x16mby_mode()
[all …]
Dmcomp.c205 …c); if((v = (MVC(r,c)+thismse)) < besterr) { besterr = v; br=r; bc=c; *distortion = thismse; *sse1…
211 int *mvcost[2], int *distortion, in vp8_find_best_sub_pixel_step_iteratively() argument
270 *distortion = besterr; in vp8_find_best_sub_pixel_step_iteratively()
369 int *mvcost[2], int *distortion, in vp8_find_best_sub_pixel_step() argument
405 *distortion = bestmse; in vp8_find_best_sub_pixel_step()
418 *distortion = thismse; in vp8_find_best_sub_pixel_step()
430 *distortion = thismse; in vp8_find_best_sub_pixel_step()
444 *distortion = thismse; in vp8_find_best_sub_pixel_step()
456 *distortion = thismse; in vp8_find_best_sub_pixel_step()
496 *distortion = thismse; in vp8_find_best_sub_pixel_step()
[all …]
Dpickinter.c174 int *mvcost[2], int *distortion, in vp8_skip_fractional_mv_step() argument
184 (void) distortion; in vp8_skip_fractional_mv_step()
249 int distortion; in pick_intra4x4block() local
263 distortion = get_prediction_error(be, b); in pick_intra4x4block()
264 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block()
269 *bestdistortion = distortion; in pick_intra4x4block()
292 int distortion = 0; in pick_intra4x4mby_modes() local
319 distortion += d; in pick_intra4x4mby_modes()
325 if (distortion > *best_dist) in pick_intra4x4mby_modes()
333 *best_dist = distortion; in pick_intra4x4mby_modes()
[all …]
Dmcomp.h63 int *distortion, unsigned int *sse);
/external/opencv3/doc/tutorials/calib3d/camera_calibration/
Dcamera_calibration.markdown6 Unfortunately, this cheapness comes with its price: significant distortion. Luckily, these are
14 For the distortion OpenCV takes into account the radial and tangential factors. For the radial
21 will be \f$(x_{distorted} y_{distorted})\f$. The presence of the radial distortion manifests in form
24 Tangential distortion occurs because the image taking lenses are not perfectly parallel to the
30 So we have five distortion parameters which in OpenCV are presented as one row matrix with 5
33 \f[distortion\_coefficients=(k_1 \hspace{10pt} k_2 \hspace{10pt} p_1 \hspace{10pt} p_2 \hspace{10pt…
44 the distortion coefficients are the same regardless of the camera resolutions used, these should be
68 - Determine the distortion matrix
143 If we ran calibration and got camera's matrix with the distortion coefficients we may want to
146 …Then we show the image and wait for an input key and if this is *u* we toggle the distortion remov…
[all …]
/external/opencv3/doc/py_tutorials/py_calib3d/py_calibration/
Dpy_calibration.markdown14 Today's cheap pinhole cameras introduces a lot of distortion to images. Two major distortions are
15 radial distortion and tangential distortion.
17 Due to radial distortion, straight lines will appear curved. Its effect is more as we move away from
25 This distortion is represented as follows:
30 Similarly, another distortion is the tangential distortion which occurs because image taking lense
37 In short, we need to find five parameters, known as distortion coefficients given by:
56 solved in background to get the distortion coefficients. That is the summary of the whole story. For
150 use the function, **cv2.calibrateCamera()**. It returns the camera matrix, distortion coefficients,
202 Now you can store the camera matrix and distortion coefficients using write functions in Numpy
209 be as close to zero as possible. Given the intrinsic, distortion, rotation and translation matrices,
/external/v8/test/mjsunit/tools/
Dprofviz.js63 var distortion = 4500 / 1000000; variable
68 psc.collectData(input, distortion);
/external/v8/tools/
Dtickprocessor.js155 distortion, argument
211 distortion = parseInt(distortion);
213 this.distortion_per_entry = isNaN(distortion) ? 0 : (distortion / 1000);
214 this.distortion = 0;
383 this.distortion += this.distortion_per_entry;
384 ns_since_start -= this.distortion;
415 this.distortion += this.distortion_per_entry;
918 distortion: 0, property
Dtickprocessor-driver.js76 params.distortion,
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c576 int *rate, int64_t *distortion, in txfm_rd_in_plane() argument
601 *distortion = INT64_MAX; in txfm_rd_in_plane()
605 *distortion = args.this_dist; in txfm_rd_in_plane()
613 int *rate, int64_t *distortion, in choose_largest_tx_size() argument
625 txfm_rd_in_plane(x, rate, distortion, skip, in choose_largest_tx_size()
632 int64_t *distortion, in choose_tx_size_from_rd() argument
718 *distortion = d[mbmi->tx_size]; in choose_tx_size_from_rd()
725 int64_t *distortion, int *skip, in super_block_yrd() argument
735 choose_largest_tx_size(cpi, x, rate, distortion, skip, ret_sse, ref_best_rd, in super_block_yrd()
738 choose_tx_size_from_rd(cpi, x, rate, distortion, skip, ret_sse, in super_block_yrd()
[all …]
Dvp9_mcomp.c188 *distortion = thismse; \
324 int *distortion) { in setup_center_error() argument
342 *distortion = besterr; in setup_center_error()
353 *distortion = besterr; in setup_center_error()
396 int *distortion, in vp9_find_best_sub_pixel_tree_pruned_evenmore() argument
404 sse1, distortion); in vp9_find_best_sub_pixel_tree_pruned_evenmore()
475 int *distortion, in vp9_find_best_sub_pixel_tree_pruned_more() argument
483 sse1, distortion); in vp9_find_best_sub_pixel_tree_pruned_more()
549 int *distortion, in vp9_find_best_sub_pixel_tree_pruned() argument
557 sse1, distortion); in vp9_find_best_sub_pixel_tree_pruned()
[all …]
/external/sonic/samples/
DREADME11 able to hear the characteristic WSOLA distortion relative to the sonic version.
34 result in one sine period with no distortion.
/external/aac/libAACenc/src/
Dquantize.cpp372 FIXP_DBL distortion = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbQuantEnergyAndDist() local
399 distortion += diff; in FDKaacEnc_calcSfbQuantEnergyAndDist()
403 *dist = CalcLdData(distortion); in FDKaacEnc_calcSfbQuantEnergyAndDist()
/external/opencv3/modules/python/test/
Dcamera_calibration.py338 distortion = cv.CreateMat(4, 1, cv.CV_64FC1) variable
340 cv.SetZero(distortion)
347 distortion,
351 print "D =", list(cvmat_iterator(distortion))
355 cv.InitUndistortMap(intrinsics, distortion, mapx, mapy)
/external/opencv3/doc/tutorials/calib3d/camera_calibration_square_chess/
Dcamera_calibration_square_chess.markdown38 Mat intrinsics, distortion;
40 fs["distortion_coefficients"] >> distortion;
/external/opencv3/doc/py_tutorials/py_calib3d/
Dpy_table_of_contents_calib3d.markdown7 is our camera. Is there any distortion in images taken with it? If so how to correct it?
/external/libavc/encoder/arm/
Dime_distortion_metrics_a9q.s27 @* This file contains definitions of routines that compute distortion
54 @* @brief computes distortion (SAD) between 2 16x16 blocks (fast mode)
59 @* compute the distortion of the entire block set u4_max_sad to USHRT_MAX.
74 @* integer maximum allowed distortion
140 @* @brief computes distortion (SAD) between 2 16x8 blocks
146 @* compute the distortion of the entire block set u4_max_sad to USHRT_MAX.
161 @* integer maximum allowed distortion
222 @* @brief computes distortion (SAD) between 2 16x16 blocks with early exit
227 @* compute the distortion of the entire block set u4_max_sad to USHRT_MAX.
242 @* integer maximum allowed distortion
[all …]
/external/webp/src/enc/
Dframe.c542 uint64_t distortion = 0; in OneStatPass() local
557 distortion += info.D; in OneStatPass()
570 s->value = GetPSNR(distortion, pixel_count); in OneStatPass()
765 uint64_t distortion = 0; in VP8EncTokenLoop() local
789 distortion += info.D; in VP8EncTokenLoop()
809 stats.value = GetPSNR(distortion, pixel_count); in VP8EncTokenLoop()
/external/ceres-solver/internal/ceres/
Dsystem_test.cc460 T distortion = T(1.0) + r2 * (l1 + l2 * r2); in operator ()() local
462 residuals[0] = distortion * xp - T(u); in operator ()()
463 residuals[1] = distortion * yp - T(v); in operator ()()

123