Login  Register

changing RGB values

Posted by John Kershaw-4 on Nov 28, 2008; 11:21pm
URL: http://imagej.273.s1.nabble.com/changing-RGB-values-tp3694369.html

Sorry if this is a real newbie question, but I cannot figure out the syntax
to change the color components in an RGB image.  I am using:

ip.putPixel( x, y, int[] ????)

I cannot seem to figure out how to specify the Array values in java (I'm not
a java program, but am learning).

Thanks for being tolerant of an aging newbie.

JAK