int im_heq( in, out, bandno )
IMAGE *in, *out;
int bandno;
int im_lhisteq( in, out, xw, yw )
IMAGE *in, *out;
int xw, yw;
int im_hsp( in, ref, out )
IMAGE *in, *ref, *out;
im_hsp(3) maps in to out with histogram specified by the ref. All images should be unsigned char. Each band of the output image is specified according to the distribution of grey levels of the reference image according to im_histspec(3).
im_lhisteq(3) histogram equalises the one channel unsigned char image pointed to by the Image descriptor in. The result is written to the IMAGE descriptor out. The histogram equalisation is based on a window of size xw by yw centered at the current location of each input pixel.
In the manner of im_conv(3) the input image is expanded so that the output image is the same size as the input.
im_lhisteq_raw(3) is as above, but does not expand the input.