/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
D | image_util_numpy_impl.py | 70 def _SimpleDiff(image1, image2): argument 72 return cv2.absdiff(image1, image2) 74 amax = np.maximum(image1, image2) 75 amin = np.minimum(image1, image2) 78 def AreEqual(image1, image2, tolerance, likely_equal): argument 79 if image1.shape != image2.shape: 82 other_image = image2 85 return np.amax(_SimpleDiff(image1, image2)) <= tolerance 88 if np.amax(_SimpleDiff(image1[row], image2[row])) > tolerance: 100 def Diff(image1, image2): argument [all …]
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | differ_block.cc | 22 const uint8_t* image2, in BlockDifference_C() argument 27 if (memcmp(image1, image2, width_bytes) != 0) in BlockDifference_C() 30 image2 += stride; in BlockDifference_C() 36 const uint8_t* image2, in BlockDifference() argument 58 return diff_proc(image1, image2, stride); in BlockDifference()
|
D | differ_block_sse2.cc | 25 const uint8_t* image2, in BlockDifference_SSE2_W16() argument 33 const __m128i* i2 = reinterpret_cast<const __m128i*>(image2); in BlockDifference_SSE2_W16() 59 image2 += stride; in BlockDifference_SSE2_W16() 65 const uint8_t* image2, in BlockDifference_SSE2_W32() argument 73 const __m128i* i2 = reinterpret_cast<const __m128i*>(image2); in BlockDifference_SSE2_W32() 115 image2 += stride; in BlockDifference_SSE2_W32()
|
D | differ_block_sse2.h | 23 const uint8_t* image2, 28 const uint8_t* image2,
|
D | differ_block.h | 28 const uint8_t* image2,
|
/external/opencv3/modules/features2d/test/ |
D | test_brisk.cpp | 63 Mat image2 = imread(string(ts->get_data_path()) + "cameracalibration/chess9.png"); in run() local 65 if (image1.empty() || image2.empty()) in run() 73 cvtColor(image2, gray2, COLOR_BGR2GRAY); in run() 80 detector->detect(image2, keypoints2); in run()
|
D | test_agast.cpp | 64 Mat image2 = imread(string(ts->get_data_path()) + "cameracalibration/chess9.png"); in run() local 67 if (image1.empty() || image2.empty()) in run() 75 cvtColor(image2, gray2, COLOR_BGR2GRAY); in run() 91 cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); in run()
|
D | test_fast.cpp | 64 Mat image2 = imread(string(ts->get_data_path()) + "cameracalibration/chess9.png"); in run() local 67 if (image1.empty() || image2.empty()) in run() 75 cvtColor(image2, gray2, COLOR_BGR2GRAY); in run() 91 cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); in run()
|
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
D | image_util.py | 84 def AreEqual(image1, image2, tolerance=0, likely_equal=True): argument 89 return impl.AreEqual(image1, image2, tolerance, likely_equal) 91 def Diff(image1, image2): argument 94 return impl.Diff(image1, image2)
|
/external/opencv3/modules/stitching/test/ |
D | test_blenders.cpp | 50 Mat image2 = imread(string(cvtest::TS::ptr()->get_data_path()) + "cv/shared/lena.png"); in TEST() local 51 ASSERT_EQ(image1.rows, image2.rows); ASSERT_EQ(image1.cols, image2.cols); in TEST() 55 image2.convertTo(image2s, CV_16S); in TEST()
|
/external/skia/tests/ |
D | SurfaceTest.cpp | 353 SkAutoTUnref<SkImage> image2(surface->newImageSnapshot(kB, SkSurface::kYes_ForceUnique)); in test_unique_image_snap() local 354 REPORTER_ASSERT(reporter, !same_image_surf(image2, surface, ibs, sbs)); in test_unique_image_snap() 355 REPORTER_ASSERT(reporter, !same_image(image1, image2, ibs)); in test_unique_image_snap() 356 REPORTER_ASSERT(reporter, image2->unique()); in test_unique_image_snap() 360 SkAutoTUnref<SkImage> image2(surface->newImageSnapshot(kB, SkSurface::kYes_ForceUnique)); in test_unique_image_snap() local 369 REPORTER_ASSERT(reporter, !same_image(image1, image2, ibs) && in test_unique_image_snap() 370 !same_image(image3, image2, ibs) && in test_unique_image_snap() 371 !same_image(image4, image2, ibs)); in test_unique_image_snap() 372 REPORTER_ASSERT(reporter, image2->unique()); in test_unique_image_snap() 373 REPORTER_ASSERT(reporter, !same_image_surf(image2, surface, ibs, sbs)); in test_unique_image_snap() [all …]
|
D | TextureStorageAllocator.cpp | 83 SkAutoTUnref<SkImage> image2(surface->newImageSnapshot()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 84 REPORTER_ASSERT(reporter, image2->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 87 REPORTER_ASSERT(reporter, image2->readPixels(imageInfo, &dest, 4 * kWidth, 0, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ImageTest.cpp | 290 SkAutoTUnref<SkImage> image2(surface->newImageSnapshot()); in DEF_TEST() local 291 REPORTER_ASSERT(reporter, image2->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST()
|
/external/pdfium/samples/ |
D | image_diff.cc | 253 bool CreateImageDiff(const Image& image1, const Image& image2, Image* out) { in CreateImageDiff() argument 254 int w = std::min(image1.w(), image2.w()); in CreateImageDiff() 255 int h = std::min(image1.h(), image2.h()); in CreateImageDiff() 257 bool same = (image1.w() == image2.w()) && (image1.h() == image2.h()); in CreateImageDiff() 264 if (base_pixel != image2.pixel_at(x, y)) { in CreateImageDiff()
|
/external/opencv3/modules/shape/src/ |
D | sc_dis.cpp | 121 image2=image2_; in setImages() 126 CV_Assert((!image1.empty()) && (!image2.empty())); in getImages() 128 _image2.create(image2.size(), image2.type()); in getImages() 130 _image2.getMat()=image2; in getImages() 147 << "img_2" << image2 in write() 180 Mat image2; member in cv::ShapeContextDistanceExtractorImpl 206 CV_Assert((!image1.empty()) && (!image2.empty())); in computeDistance() 258 image2.copyTo(warpedImage); in computeDistance() 281 resize(warpedImage, warpedImage, image2.size()); in computeDistance() 282 Mat temp=(warpedImage-image2); in computeDistance()
|
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/ |
D | seam_finders.hpp | 179 const Mat &image1, const Mat &image2, Point tl1, Point tl2, Mat &mask1, Mat &mask2); 186 const Mat &image1, const Mat &image2, Point tl1, Point tl2, Mat &mask1, Mat &mask2); 188 void computeGradients(const Mat &image1, const Mat &image2); 197 const Mat &image1, const Mat &image2, Point tl1, Point tl2, 201 const Mat &image1, const Mat &image2, Point tl1, Point tl2, int comp,
|
/external/opencv3/modules/stitching/src/ |
D | seam_finders.cpp | 203 const Mat &image1, const Mat &image2, Point tl1, Point tl2, in process() argument 207 CV_Assert(image2.size() == mask2.size()); in process() 211 Point intersectBr(std::min(tl1.x + image1.cols, tl2.x + image2.cols), in process() 212 std::min(tl1.y + image1.rows, tl2.y + image2.rows)); in process() 219 unionBr_ = Point(std::max(tl1.x + image1.cols, tl2.x + image2.cols), in process() 220 std::max(tl1.y + image1.rows, tl2.y + image2.rows)); in process() 262 resolveConflicts(image1, image2, tl1, tl2, mask1, mask2); in process() 400 const Mat &image1, const Mat &image2, Point tl1, Point tl2, Mat &mask1, Mat &mask2) in resolveConflicts() argument 403 computeGradients(image1, image2); in resolveConflicts() 450 if (estimateSeam(image1, image2, tl1, tl2, c1, p1, p2, seam, isHorizontalSeam)) in resolveConflicts() [all …]
|
/external/opencv3/samples/cpp/ |
D | drawing.cpp | 164 Mat image2; in main() local 167 image2 = image - Scalar::all(i); in main() 168 putText(image2, "OpenCV forever!", org, FONT_HERSHEY_COMPLEX, 3, in main() 171 imshow(wndname, image2); in main()
|
/external/opencv3/modules/shape/include/opencv2/shape/ |
D | shape_distance.hpp | 152 CV_WRAP virtual void setImages(InputArray image1, InputArray image2) = 0; 153 CV_WRAP virtual void getImages(OutputArray image1, OutputArray image2) const = 0;
|
/external/opencv3/doc/tutorials/core/random_generator_and_text/ |
D | random_generator_and_text.markdown | 189 Mat image2; 193 image2 = image - Scalar::all(i); 194 putText( image2, "OpenCV forever!", org, FONT_HERSHEY_COMPLEX, 3, 197 imshow( window_name, image2 ); 208 image2 = image - Scalar::all(i) 210 So, **image2** is the substraction of **image** and **Scalar::all(i)**. In fact, what happens 211 here is that every pixel of **image2** will be the result of substracting every pixel of
|
/external/opencv3/samples/cpp/tutorial_code/core/Matrix/ |
D | Drawing_2.cpp | 312 Mat image2; in Displaying_Big_End() local 316 image2 = image - Scalar::all(i); in Displaying_Big_End() 317 putText( image2, "OpenCV forever!", org, FONT_HERSHEY_COMPLEX, 3, in Displaying_Big_End() 320 imshow( window_name, image2 ); in Displaying_Big_End()
|
/external/skia/gm/ |
D | surface.cpp | 152 SkAutoTUnref<SkImage> image2(surf2->newImageSnapshot()); in onDraw() local 153 canvas->drawImage(image2, 10 + SkIntToScalar(image->width()) + 10, 10, nullptr); in onDraw()
|
/external/opencv/cvaux/src/ |
D | cvcorrimages.cpp | 179 IplImage *image2,/* Image 2 */ in icvFindCorrForGivenPoints() argument 206 if( image1 == 0 || image2 == 0 || in icvFindCorrForGivenPoints() 223 if( image2->width != w || image2->height != h ) in icvFindCorrForGivenPoints() 309 cvCvtColor(image2,grayImage2,CV_BGR2GRAY); in icvFindCorrForGivenPoints()
|
/external/opencv3/samples/gpu/ |
D | opticalflow_nvidia_api.cpp | 157 IplImage *image2; in LoadImages() local 158 image2 = cvLoadImage (frame1Name); in LoadImages() 159 if (image2 == 0) in LoadImages() 164 lastFrame = image2; in LoadImages() 166 ncvAssertReturnNcvStat (CopyData<RgbToMonochrome> (image2, dst)); in LoadImages()
|
/external/opencv3/modules/imgproc/include/opencv2/imgproc/ |
D | imgproc_c.h | 73 CVAPI(void) cvMultiplyAcc( const CvArr* image1, const CvArr* image2, CvArr* acc,
|