From 8941798daf23df1fe3ad6dd6cd652619ae3724d8 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sun, 18 Dec 2011 10:10:00 -0500 Subject: [PATCH] DOC: emphasize annotation in histogram. --- doc/examples/plot_otsu.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/examples/plot_otsu.py b/doc/examples/plot_otsu.py index 62bd6836..060f54c6 100644 --- a/doc/examples/plot_otsu.py +++ b/doc/examples/plot_otsu.py @@ -6,9 +6,10 @@ Thresholding Thresholding is used to create a binary image. This example uses Otsu's method to calculate the threshold value. -Otsu's method calculates an "optimal" threshold by maximizing the variance -between the two classes of pixels, which are separated by the threshold. -Equivalently, the optimal threshold minimizes the intra-class variance. +Otsu's method calculates an "optimal" threshold (marked by a red line in the +histogram below) by maximizing the variance between two classes of pixels, +which are separated by the threshold. Equivalently, this threshold minimizes +the intra-class variance. .. [1] http://en.wikipedia.org/wiki/Otsu's_method