Methods to convert various objects to pixsets
Methods to convert various objects to pixsets
as.pixset(x, ...) ## S3 method for class 'cimg' as.pixset(x, ...) ## S3 method for class 'pixset' as.cimg(obj, ...)
x |
object to convert to pixset |
... |
ignored |
obj |
pixset to convert |
cimg: convert cimg to pixset
pixset: convert pixset to cimg
#When converting an image to a pixset, the default is to include all pixels with non-zero value as.pixset(boats) #The above is equivalent to: boats!=0
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.