Login  Register

can i import pixel data from outside??????

Posted by ashish ram on Jul 03, 2009; 1:48pm
URL: http://imagej.273.s1.nabble.com/can-i-import-pixel-data-from-outside-tp3691918.html

Hello everyone,

I am trying to use imageJ in my project and want to know about the
followings

*1>*i am creating a new image by the following code

    *ImagePlus im = NewImage.createImage(** title,width,height, 1,bitdep,
NewImage.FILL_WHITE);*
*    ImageProcessor ip=im.getProcessor();
    im.show(); *

so i am getting an image in white and for FILL_BLACK i m getting in black
colour.*i want to know if i can get the image with any desired gray scale
value.*

*2>*secondly, after generating the image window i want to show different
pixels with different pixel values which*(means the co-ordinates and their
gray scale pixel values) i already have in form of a text file or .xls file.
*

Please help me so that it would be easier for me so solve the problem.If u
can send me any important links where i can get more information regarding
these,that could also be a great help for me.

Thank you,
Ashish