Login  Register

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

Posted by Juanjo Vega on Jul 03, 2009; 2:19pm
URL: http://imagej.273.s1.nabble.com/can-i-import-pixel-data-from-outside-tp3691918p3691919.html

For the first problem:

As you'll see at
http://rsbweb.nih.gov/ij/developer/api/ij/gui/NewImage.html there is
antoher parameter: FILL_RAMP which may be useful for you.

For the second problem... I don't know exactly what you want to do. Do
you want to get the value for a (x,y) pixel?

Sincerelly,

Juanjo.


ashish ram escribió:

> 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
>
>  

--
Juanjo Vega ([hidden email])

Unidad de Biocomputación. Laboratorio B-13.
Centro Nacional de Biotecnología. CNB-CSIC.
C\ Darwin, 3. Campus de Cantoblanco.
Universidad Autónoma de Madrid.
28049, Madrid, Spain.

http://www.cnb.csic.es
http://www.biocomp.cnb.uam.es

+34 91 585 4510


"Las mejores almas son capaces de los mayores vicios como de las mayores virtudes, y aquellos que caminan despacio por el camino recto pueden llegar más lejos que los que corren pero se apartan de él." - Discurso del Método, René Descartes.