MCPcopy Create free account
hub / github.com/CRVI/OpenCLIPP / CheckSameSize

Function CheckSameSize

C++/programs/Program.cpp:446–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444}
445
446void CheckSameSize(const ImageBase& Img1, const ImageBase& Img2)
447{
448 if (Img1.Width() != Img2.Width() || Img1.Height() != Img2.Height())
449 throw cl::Error(CL_INVALID_IMAGE_SIZE, "Different image sizes used");
450}
451
452void CheckCompatibility(const ImageBase& Img1, const ImageBase& Img2)
453{

Callers 15

CompareMethod · 0.85
CheckCompatibilityFunction · 0.85
ComputeLabelsMethod · 0.85
Integral_F32Method · 0.85
SqrIntegral_F32Method · 0.85
Integral_F64Method · 0.85
SqrIntegral_F64Method · 0.85
ConvertMethod · 0.85
ScaleMethod · 0.85
CrossCorrMethod · 0.85
CrossCorr_NormMethod · 0.85
SqrDistanceMethod · 0.85

Calls 2

WidthMethod · 0.80
HeightMethod · 0.80

Tested by

no test coverage detected