MCPcopy Create free account
hub / github.com/davisking/dlib / is_gray

Method is_gray

dlib/image_loader/jpeg_loader.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57// ----------------------------------------------------------------------------------------
58
59 bool jpeg_loader::is_gray() const
60 {
61 return (output_components_ == 1);
62 }
63
64// ----------------------------------------------------------------------------------------
65

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected