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

Function CheckSameNbChannels

C++/programs/Program.cpp:474–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474void CheckSameNbChannels(const ImageBase& Img1, const ImageBase& Img2)
475{
476 if (Img1.NbChannels() != Img2.NbChannels())
477 throw cl::Error(CL_INVALID_VALUE, "Different number of channels used");
478}
479
480void CheckSimilarity(const ImageBase& Img1, const ImageBase& Img2)
481{

Callers 10

CheckSimilarityFunction · 0.85
CrossCorrMethod · 0.85
CrossCorr_NormMethod · 0.85
SqrDistanceMethod · 0.85
SqrDistance_NormMethod · 0.85
SqrDistanceMethod · 0.85
SqrDistance_NormMethod · 0.85
AbsDistanceMethod · 0.85
CrossCorrMethod · 0.85
CrossCorr_NormMethod · 0.85

Calls 1

NbChannelsMethod · 0.80

Tested by

no test coverage detected