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

Method size

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

Source from the content-addressed store, hash-verified

251 !*/
252
253 unsigned long size() const { return static_cast<unsigned long>(nr()*nc()); }
254 /*!
255 ensures
256 - returns the number of pixels in this image.

Callers 15

overlaps_any_boxFunction · 0.45
add_grid_rectsMethod · 0.45
detectMethod · 0.45
get_feature_vectorMethod · 0.45
image_dataFunction · 0.45
detectMethod · 0.45
get_num_dimensionsMethod · 0.45
num_separable_filtersMethod · 0.45
build_fhog_filterbankMethod · 0.45
apply_filters_to_fhogFunction · 0.45

Calls

no outgoing calls

Tested by 3

overlaps_any_boxFunction · 0.36
test_shape_predictorFunction · 0.36