I have been doing some color conversions RGB to HSV and RGB to HLS and am running into a problem. The RGB to HSV and back works fine but not when returning from HLS.
h_l_s=: RGB_to_HLS read_image 'color-test.bmp'
$ h_l_s
1000 1000 3
(HLS_to_RGB h_l_s) write_image 'color-HLSout.bmp'
|index error: n1n2h_to_val
| z=.+/"1 x*c {1 0,0 1,_3 4,:1 0
David
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
