I am working with photographic images which use RGB color.
The array d is a single image and the array D is now 2 images but I want D to contain any number of images. And I want split out the R,G, and B part which I can do for d, but I am having difficulty with the analogous r, g, and b for D.

   $d
50 50 3
   $D
2 50 50 3

   'R G B'=: 0 1|: d
   $G
50 50

What is the mysteryverb that will produce ($g)-:2 50 50 in the following expression?
   'r g b'=: mysteryverb D

Thanks,

(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to