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

Function Check1Channel

C++/programs/Program.cpp:499–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499void Check1Channel(const ImageBase& Img)
500{
501 if (Img.NbChannels() > 1)
502 throw cl::Error(CL_INVALID_VALUE, "only 1 channel images are allowed");
503}
504
505}

Callers 12

MinMethod · 0.85
MaxMethod · 0.85
MinAbsMethod · 0.85
MaxAbsMethod · 0.85
SumMethod · 0.85
SumSqrMethod · 0.85
CountNonZeroMethod · 0.85
MeanMethod · 0.85
MeanSqrMethod · 0.85
ToGrayMethod · 0.85
SelectChannelMethod · 0.85
ToColorMethod · 0.85

Calls 1

NbChannelsMethod · 0.80

Tested by

no test coverage detected