transformImageToMatrix {Irescale}R Documentation

Transforms the image to a matrix.

Description

transformImageToMatrix transforms the image into a 2D matrix.

Usage

transformImageToMatrix(im)

Arguments

im

cimg object.

Examples

fileInput <- system.file("testdata", "imageGray.png", package="Irescale")
img<-loadSatelliteImage(fileInput)
data<-transformImageToList(img)

[Package Irescale version 2.3.0 Index]