MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / getSamplesPerPixel

Method getSamplesPerPixel

core/ImageSource.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25const int ImageSource::getSamplesPerPixel() const {
26 if (_isValid) {
27 return _samplesPerPixel;
28 } else {
29 return -1;
30 }
31}
32
33const ColorType ImageSource::getColorType() const {
34 if (_isValid) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected