R/open_image_rscript.R
NormalizeObject.Rd
normalize a vector, matrix or array (in the range between 0 and 1)
NormalizeObject(x)
either a vector, matrix, data frame or array
either a normalized vector, matrix, or array
This is a helper function which normalizes all pixel values of the object to the range between 0 and 1. The function takes either a vector, matrix, data frame or array as input and returns a normalized object of the same type (in case of data frame it returns a matrix).