ImLab Scilab Function
Last update :

imotsu - threshold computing using OTSU method

Calling Sequence

[threshold,discriminant] = imotsu(image_data,thresh_nb[,mask])

Parameters

Description

This function computes the threshold maximising between class variance of an image using OTSU method.

HOW TO THRESH AN IMAGE :

image_data(image_data<threshold)=0;

image_data(image_data>=threshold)=1;