powered by
zeros creates an Image object filled with zeros.
zeros
Image
zeros(nrow, ncol, nchan = 3, bitdepth = "8U", colorspace = "BGR")
An integer indicating the desired number of rows for the image.
An integer indicating the desired number of columns for the image.
An integer indicating the desired number of channels for the image.
A string indicating the desired bit depth for the image. Options are "8U" (the default), "8S", "16U", "16S", "32S", "32F", and "64F".
A string indicating the desired color space for the image.
An Image object.
Image, ones
ones
# NOT RUN { zero <- zeros(100, 100) # }
Run the code above in your browser using DataLab