Home
last modified time | relevance | path

Searched refs:num_images (Results 1 – 8 of 8) sorted by relevance

/external/opencv3/modules/stitching/src/
Dexposure_compensate.cpp81 const int num_images = static_cast<int>(images.size()); in feed() local
82 Mat_<int> N(num_images, num_images); N.setTo(0); in feed()
83 Mat_<double> I(num_images, num_images); I.setTo(0); in feed()
89 for (int i = 0; i < num_images; ++i) in feed()
91 for (int j = i; j < num_images; ++j) in feed()
128 Mat_<double> A(num_images, num_images); A.setTo(0); in feed()
129 Mat_<double> b(num_images, 1); b.setTo(0); in feed()
130 for (int i = 0; i < num_images; ++i) in feed()
132 for (int j = 0; j < num_images; ++j) in feed()
168 const int num_images = static_cast<int>(images.size()); in feed() local
[all …]
Dmotion_estimators.cpp63 : num_images(_num_images), pairwise_matches(&_pairwise_matches[0]), cameras(&_cameras[0]) {} in CalcRotation()
67 int pair_idx = edge.from * num_images + edge.to; in operator ()()
85 int num_images; member
115 const int num_images = static_cast<int>(features.size()); in estimate() local
143 cameras.assign(num_images, CameraParams()); in estimate()
144 for (int i = 0; i < num_images; ++i) in estimate()
149 for (int i = 0; i < num_images; ++i) in estimate()
159 findMaxSpanningTree(num_images, pairwise_matches, span_tree, span_tree_centers); in estimate()
160 …span_tree.walkBreadthFirst(span_tree_centers[0], CalcRotation(num_images, pairwise_matches, camera… in estimate()
163 for (int i = 0; i < num_images; ++i) in estimate()
[all …]
Dautocalib.cpp100 const int num_images = static_cast<int>(features.size()); in estimateFocal() local
101 focals.resize(num_images); in estimateFocal()
105 for (int i = 0; i < num_images; ++i) in estimateFocal()
107 for (int j = 0; j < num_images; ++j) in estimateFocal()
109 const MatchesInfo &m = pairwise_matches[i*num_images + j]; in estimateFocal()
120 if (static_cast<int>(all_focals.size()) >= num_images - 1) in estimateFocal()
130 for (int i = 0; i < num_images; ++i) in estimateFocal()
137 for (int i = 0; i < num_images; ++i) in estimateFocal()
139 for (int i = 0; i < num_images; ++i) in estimateFocal()
140 focals[i] = focals_sum / num_images; in estimateFocal()
Dmatchers.cpp73 const int num_images = static_cast<int>(features.size()); in operator ()() local
78 int pair_idx = from*num_images + to; in operator ()()
84 size_t dual_pair_idx = to*num_images + from; in operator ()()
530 const int num_images = static_cast<int>(features.size()); in operator ()() local
532 CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.cols == num_images && mask.rows)); in operator ()()
535 mask_ = Mat::ones(num_images, num_images, CV_8U); in operator ()()
538 for (int i = 0; i < num_images - 1; ++i) in operator ()()
539 for (int j = i + 1; j < num_images; ++j) in operator ()()
543 pairwise_matches.resize(num_images * num_images); in operator ()()
670 const int num_images = static_cast<int>(features.size()); in operator ()() local
[all …]
/external/opencv3/samples/cpp/
Dstitching_detailed.cpp369 int num_images = static_cast<int>(img_names.size()); in main() local
370 if (num_images < 2) in main()
405 vector<ImageFeatures> features(num_images); in main()
406 vector<Mat> images(num_images); in main()
407 vector<Size> full_img_sizes(num_images); in main()
410 for (int i = 0; i < num_images; ++i) in main()
501 num_images = static_cast<int>(img_names.size()); in main()
502 if (num_images < 2) in main()
577 vector<Point> corners(num_images); in main()
578 vector<UMat> masks_warped(num_images); in main()
[all …]
/external/opencv3/3rdparty/libwebp/mux/
Dmuxinternal.c449 const int num_images = MuxImageCount(mux->images_, WEBP_CHUNK_IMAGE); in MuxValidateForImage() local
453 if (num_images == 0) { in MuxValidateForImage()
456 } else if (num_images == 1 && num_frames == 0 && num_fragments == 0) { in MuxValidateForImage()
497 int num_images; in MuxValidate() local
548 err = ValidateChunk(mux, IDX_VP8, NO_FLAG, flags, -1, &num_images); in MuxValidate()
550 if (num_vp8x == 0 && num_images != 1) return WEBP_MUX_INVALID_ARGUMENT; in MuxValidate()
564 if (num_fragments > 0 && num_images != num_fragments) { in MuxValidate()
/external/ImageMagick/coders/
Ddds.c1657 num_images; in ReadDDSImage() local
1761 num_images = 1; in ReadDDSImage()
1767 num_images = 0; in ReadDDSImage()
1768 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_POSITIVEX) num_images++; in ReadDDSImage()
1769 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_NEGATIVEX) num_images++; in ReadDDSImage()
1770 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_POSITIVEY) num_images++; in ReadDDSImage()
1771 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_NEGATIVEY) num_images++; in ReadDDSImage()
1772 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_POSITIVEZ) num_images++; in ReadDDSImage()
1773 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_NEGATIVEZ) num_images++; in ReadDDSImage()
1777 num_images = dds_info.depth; in ReadDDSImage()
[all …]
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/
Dmotion_estimators.hpp266 int num_images, const std::vector<MatchesInfo> &pairwise_matches,