Image.numinf# property Image.numinf: int[source]# Number of Inf pixels in image Returns: number of Inf pixels in image Return type: int Example: >>> from machinevisiontoolbox import Image >>> from numpy import inf >>> img = Image([[1, 2], [3, inf]], dtype='float32') >>> img.numinf 1 Seealso: numnan