Skip to content

Commit 421a7b8

Browse files
committed
Merge pull request abidrahmank#22 from yuvallanger/patch-1
Minor wording correction
2 parents ef3629a + 9bc4b98 commit 421a7b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/py_tutorials/py_core/py_basic_ops/py_basic_ops.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can modify the pixel values the same way.
4949

5050
.. warning:: Numpy is a optimized library for fast array calculations. So simply accessing each and every pixel values and modifying it will be very slow and it is discouraged.
5151

52-
.. note:: Above mentioned method is normally used for selecting a region of array, say first 5 rows and last 3 columns like that. For individual pixel access, Numpy array methods, ``array.item()`` and ``array.itemset()`` is considered to be more better. But it always returns a scalar. So if you want to access all B,G,R values, you need to call ``array.item()`` separately for all.
52+
.. note:: Above mentioned method is normally used for selecting a region of array, say first 5 rows and last 3 columns like that. For individual pixel access, Numpy array methods, ``array.item()`` and ``array.itemset()`` is considered to be better. But it always returns a scalar. So if you want to access all B,G,R values, you need to call ``array.item()`` separately for all.
5353

5454
Better pixel accessing and editing method :
5555

0 commit comments

Comments
 (0)