From 70a69eb43756bc94b3cd1e86dd845e16dd93439b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Mon, 20 Aug 2012 19:56:17 +0200 Subject: [PATCH] Improve printed output of example --- doc/examples/plot_local_binary_pattern.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/examples/plot_local_binary_pattern.py b/doc/examples/plot_local_binary_pattern.py index 7963bff7..95ece14e 100644 --- a/doc/examples/plot_local_binary_pattern.py +++ b/doc/examples/plot_local_binary_pattern.py @@ -57,8 +57,12 @@ refs = { } # classify rotated textures +print 'Rotated images matched against references using LBP:' +print 'original: brick, rotated: 30deg, match result:', print match(refs, nd.rotate(brick, angle=30, reshape=False)) +print 'original: brick, rotated: 70deg, match result:', print match(refs, nd.rotate(brick, angle=70, reshape=False)) +print 'original: grass, rotated: 145deg, match result:', print match(refs, nd.rotate(grass, angle=145, reshape=False)) # plot histograms of LBP of textures