1. Home
  2. IMBSTRETCH

IMBSTRETCH

IMBSTRETCH(r;l;u;m) performs a histogram stretch of the brightness in the RGB image in matrix r; scalar l (default 0) specifies the percentage of pixels to set to 0 (i.e. black), scalar h (default 0) specifies the percentage of pixels to set to white, and scalar m (0≤m≤255; default 128) specifies the colour value in each channel to be set to the middle intensity.

Updated on December 4, 2017

Was this article helpful?