mango.count_equal_to

mango.count_equal_to((object)input, (object)val) → object :

Count the number of non-masked voxels which have intensity equal to val.

Parameters:
  • input (mango.Dds) – Count the voxels in this array which have value equal to val.
  • val (numeric) – Count the voxels in the input array which have value equal to val.
Return type:

int

Returns:

Number of non-masked voxels in input array which have value equal to val.

C++ signature :
boost::python::api::object count_equal_to(boost::python::api::object,boost::python::api::object)

Previous topic

mango.sum2

Next topic

mango.count_not_equal_to

This Page