Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
499
void 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
Min
Method · 0.85
Max
Method · 0.85
MinAbs
Method · 0.85
MaxAbs
Method · 0.85
Sum
Method · 0.85
SumSqr
Method · 0.85
CountNonZero
Method · 0.85
Mean
Method · 0.85
MeanSqr
Method · 0.85
ToGray
Method · 0.85
SelectChannel
Method · 0.85
ToColor
Method · 0.85
Calls
1
NbChannels
Method · 0.80
Tested by
no test coverage detected