powered by
findNonZero retrieves the locations of all non-zero pixels in an image.
findNonZero
findNonZero(image)
An an 8-bit (8U) single-channel Image object.
Image
A data frame with two columns, corresponding to the x (columns) and y (rows) coordinates of the non-zero pixels.
# NOT RUN { # TODO # }
Run the code above in your browser using DataLab