int img_rescale_to_avg_std(Bimage *p, double avg, double std)
Rescales the image data to a given average and standard deviation.
int img_truncate(Bimage *p, double min, double max, double setmin, double setmax)
Truncates image data to a given minimum and maximum.
int img_limit_levels(Bimage *p, int nlevels)
Converts a full gray scale image to a limited level image.
int img_truncate_to_background(Bimage *p, double min, double max)
Sets voxels in image data exceeding a given minimum and maximum to the image background.
General image parameter class.
int img_rescale(Bimage *p, double scale, double shift)
Rescales the image data to a given minimum and maximum.
int img_truncate_to_min_max(Bimage *p, double min, double max)
Truncates image data to a given minimum and maximum.
Header file for 2D and 3D image I/O.
int img_rescale_to_min_max(Bimage *p, double min, double max)
Rescales the image data to a given minimum and maximum.
int img_truncate_to_avg(Bimage *p, double min, double max)
Sets voxels in image data exceeding a given minimum and maximum to the average.