image_threshold


image_threshold, an Octave code which creates a black and white version of a grayscale image by specifying a single threshold value; pixels below this value become black, and above this value they are white.

Usage:

function bw = image_threshold ( gray, a )
where

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

image_threshold is available in a MATLAB version and an Octave version.

Related Data and Programs:

image_threshold_test

Reference:

Source Code:


Last revised on 03 August 2024.