title: Check the parity of the Green and Blue values into an image
body: <p>I have an array <strong>ver</strong> of shape (9,8,2) which I extracted from an image.
  What I'm searching to do is to iterate over the pixels of this array, check if Green and Blue values have a different parity, if so, put the result <strong>True</strong> in a list, and do the same for each lines. </p>
  
  <pre><code>ver = im_arr[:9,:8,1:3]
  </code></pre>
  
  <p>Here I took the first 9 lines of the image, the 8 first pixels, and I've extracted the columns to have only the Green and Blue values.
  I now know how to with a 2D array like that :</p>
  
  <pre><code>cf = cf[:,1:3]
  jou = (cf.sum(1)%2).astype(bool)
  
  </code></pre>
  
  <p>But in this case, with a 3D array, I really don't know how to do, I tried with three for loop, but it doesn't work : </p>
  
  <pre><code>  for i in range(ver.shape[0]):
           for y in range(ver.shape[1]):
             for z in range(ver.shape[2]):
                  juju[i,y,z] = (ver.sum(1)%2).astype(bool)
  
  </code></pre>