Operators acting on Image
objects to extract or
replace parts.
# S3 method for Rcpp_Image
[(x, i = NULL, j = NULL, ..., drop = TRUE)
# S3 method for Rcpp_Image
[(x, i = NULL, j = NULL) <- value
x | An |
---|---|
i, j | Indices specifying elements to extract or replace. Indices are
numeric vectors which values are coerced to integer as by
|
... | Ignored. |
drop | If |
value | Single-, three- or four-values vectors representing the gray intensity, BGR or BGRA values (respectively) of the pixels. The vector is recycled if it is shorter than the number of pixels to modify times the number of channels of the image. |
Simon Garnier, garnier@njit.edu
# TODO