fix use of histeq in extractplanes