powered by
Standardizes images in order to compare different images. Mean of standardized image is 0.5, standard deviation is sd.
standardize(img, mask = array(TRUE, dim(img)), log = FALSE, N = 32, sd = 1/6)
Multi-dimensional array of standardized image.
is a 2d/3d array representing an image.
a mask.
Logical. Transform to log scale before standardization?
number of classes.
standard deviation.
#simuliere Daten zum Testen test2<-runif(128*128,0,1) test2<-sort(test2) test2<-array(test2,c(128,128)) img(test2) # Standardisiere test2 in 32 Klassen std<-standardize(test2,N=32,sd=4)
Run the code above in your browser using DataLab