cpp_cast_image: Cast Image

View source: R/RcppExports.R

cpp_cast_imageR Documentation

Cast Image

Description

Casts image from RAW, INT or REAL SEXP vector

Arguments

x

SEXP, the image to cast

what

uint8_t, type to use for casting. Default is 1. Allowed are 1=uint8_t, 2=int8_t, 3=uint16_t, 4=int16_t, 5=uint32_t, 6=int32_t, 7=float_t, 8=double_t.

swap

bool, whether single scalar values of x should be swap. Default is false.

Value

a Rcpp::RawVector


gitdemont/IFC documentation built on Feb. 20, 2025, 12:55 a.m.