read.image {SAFARI}R Documentation

Read a Binary Image

Description

This function reads a reconstructed binary image, possibly, produced from an X-Ray, CT scan, MRI, etc. and processed by standard image processing algorithms. The image is then preprocessed to facilitate the procedure in the binary.segmentation function.

Usage

read.image(file, invert = FALSE)

Arguments

file

a character string that specifies the image to read.

invert

a logical value that indicates if the B/W colors should be inverted.

Details

The binary image is preprocessed as follows:

Value

An integer matrix that represents the preprocessed image.

See Also

binary.segmentation for more information on reconstructed binary images.


[Package SAFARI version 0.1.0 Index]