From e6c60ca8902b69364a2578490840d87173b6162b Mon Sep 17 00:00:00 2001 From: Kevin Keraudren Date: Fri, 4 Dec 2015 23:10:53 +0000 Subject: [PATCH] fixed typos in seam carving example. --- doc/examples/plot_seam_carving.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/examples/plot_seam_carving.py b/doc/examples/plot_seam_carving.py index f1dcb948..b8cce29f 100644 --- a/doc/examples/plot_seam_carving.py +++ b/doc/examples/plot_seam_carving.py @@ -46,22 +46,22 @@ plt.imshow(resized) out = transform.seam_carve(img, eimg, 'vertical', 200) plt.figure() -plt.title('Resized using Seam-Carving') +plt.title('Resized using Seam Carving') plt.imshow(out) """ .. image:: PLOT2RST.current_figure -As you can see, resizing as distorted the rocket and the objects around, -whereas seam carving has reszied by removing the empty spaces in between. +As you can see, resizing has distorted the rocket and the objects around, +whereas seam carving has resized by removing the empty spaces in between. Object Removal -------------- -Seam Carving can also be used to remove atrifacts from images. To do that, we -have to ensure that pixels to be removes get less importance. In the following +Seam carving can also be used to remove artifacts from images. To do that, we +have to ensure that pixels to be removed get less importance. In the following code I approximately mark the rocket with a mask, and then decrease the -importance of those pixels +importance of those pixels. """