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

Method nc

dlib/image_processing/generic_image.h:387–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385
386 long nr() const { return _nr; }
387 long nc() const { return _nc; }
388 unsigned long size() const { return static_cast<unsigned long>(nr()*nc()); }
389#ifndef ENABLE_ASSERTS
390 const pixel_type* operator[] (long row) const { return (const pixel_type*)(_data+_width_step*row); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected