imchar {imageUtilities}R Documentation

Convert image to char (DOESN'T DO ANYTHING)

Description

Convert image to char (DOESN'T DO ANYTHING)

Convert image to 4-byte int (-2^31+1 to 2^31) (DOESN'T DO ANYTHING)

Usage

  imchar(img)

  imint(img)

Arguments

img

image to convert

Value

input image.

Note

These functions just return the input image as-is. They *could* scale the images to the appropriate range (0 to 1 maps to 0 to 255, e.g.) and round, but then one has to remember that the images no longer range from 0 to 1 (which is the default for all the other functions in this package).

See Also

imbinary, which *does* do converting.

Other convert: array2im, as.image, im2array, imbinary, is.image

Other convert: array2im, as.image, im2array, imbinary, is.image


[Package imageUtilities version 1.0.3 Index]