import.map: Internal function. Import a greyscale picture and convert it...

Description Usage Arguments Value

Description

Internal function. Import a greyscale picture and convert it in a matrix. Supported picture formats are PNG, JPEG and BMP.

Usage

1
import.map(path)

Arguments

path

Character indicating path to depth map (greyscale picture)

Value

Matrix where elements are in [0,1]. White pixel become 1, and black 0.


pierrecattin/Rstereo documentation built on May 14, 2019, 11:13 a.m.