findNonZero retrieves the locations of all non-zero pixels in an image.

findNonZero(image)

Arguments

image

An an 8-bit (8U) single-channel Image object.

Value

A data frame with two columns, corresponding to the x (columns) and y (rows) coordinates of the non-zero pixels.

See also

Author

Simon Garnier, garnier@njit.edu

Examples

# TODO