sd_image_to_array: Convert SD image to R numeric array

View source: R/image_utils.R

sd_image_to_arrayR Documentation

Convert SD image to R numeric array

Description

Converts the raw uint8 SD image format to a [height, width, channels] numeric array with values in [0, 1] suitable for R image processing.

Usage

sd_image_to_array(image)

Arguments

image

SD image list (width, height, channel, data)

Value

3D numeric array [height, width, channels] in [0, 1]


sd2R documentation built on March 30, 2026, 5:08 p.m.