From f9b5f44faa0f91409252299350edfcb161e675cd Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Wed, 31 Dec 2014 15:16:39 +1100 Subject: [PATCH] Clarify boolean masks on color images --- doc/source/user_guide/numpy_images.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/user_guide/numpy_images.txt b/doc/source/user_guide/numpy_images.txt index d494ccdc..1c1ee2d8 100644 --- a/doc/source/user_guide/numpy_images.txt +++ b/doc/source/user_guide/numpy_images.txt @@ -115,8 +115,8 @@ As before, we can get and set pixel values: >>> # set the pixel at row 50, column 61 to green >>> cat[50, 61] = [0, 255, 0] # [red, green, blue] -We can also use masks where they match the 2 spatial dimensions of the -image: +We can also use 2D boolean masks for a 2D color image, as we did with +the grayscale image above: .. plot:: Using a 2D mask on a 2D color image