Text Images Help?????????

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Text Images Help?????????

mtamimi
Is their any one out their that can answer my text images question?
I would like to generate a stack from several text images.
My Questions are:
1) Can I do that without having to open the text files as images?
2) How can I change a pixel dimension ? my pixel is (dx=0.5 cm and dy=0.2 cm)
3) When assigning a LU table how can I change the color (to light color) for the pixels that are Zero value?

I would greatly appreciate any one help and input.
Thanks in advance.
Mat M. Al-Tamimi
[hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Text Images Help?????????

Rasband, Wayne (NIH/NIMH) [E]
On Oct 18, 2012, at 9:01 PM, Mat M Al-Tamimi wrote:

> Is their any one out their that can answer my text images question?
> I would like to generate a stack from several text images.
> My Questions are:
> 1) Can I do that without having to open the text files as images?

There is a example macro at

 http://imagej.nih.gov/ij/macros/ImportTextImageSequence.txt

that opens a series of text images as a stack without displaying the individual images.

> 2) How can I change a pixel dimension ? my pixel is (dx=0.5 cm and dy=0.2 cm)

You can set the pixel size to 0.5x0.2 cm using

  setVoxelSize(0.5, 0.2, 1, "cm")

> 3) When assigning a LU table how can I change the color (to light color) for the pixels that are Zero value?

You can make zero value pixels white by inverting the LUT using

   run("Invert LUT");

-wayne

> I would greatly appreciate any one help and input.
> Thanks in advance.
> Mat M. Al-Tamimi
> [hidden email]
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Text Images Help?????????

mtamimi
Thank you very much for the reply.

Mat M. Al-Tamimi, MSc, DABR
Sent from My iPhone

On Oct 19, 2012, at 4:43 AM, "Rasband, Wayne (NIH/NIMH) [E]" <[hidden email]> wrote:

> On Oct 18, 2012, at 9:01 PM, Mat M Al-Tamimi wrote:
>
>> Is their any one out their that can answer my text images question?
>> I would like to generate a stack from several text images.
>> My Questions are:
>> 1) Can I do that without having to open the text files as images?
>
> There is a example macro at
>
> http://imagej.nih.gov/ij/macros/ImportTextImageSequence.txt
>
> that opens a series of text images as a stack without displaying the individual images.
>
>> 2) How can I change a pixel dimension ? my pixel is (dx=0.5 cm and dy=0.2 cm)
>
> You can set the pixel size to 0.5x0.2 cm using
>
>  setVoxelSize(0.5, 0.2, 1, "cm")
>
>> 3) When assigning a LU table how can I change the color (to light color) for the pixels that are Zero value?
>
> You can make zero value pixels white by inverting the LUT using
>
>   run("Invert LUT");
>
> -wayne
>
>> I would greatly appreciate any one help and input.
>> Thanks in advance.
>> Mat M. Al-Tamimi
>> [hidden email]
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Text Images Help?????????

mtamimi
In reply to this post by Rasband, Wayne (NIH/NIMH) [E]
Hello
Thank you very much. It worked fine without having to open the images
Also it assigned the correct dimensions to the pixels but the display is
still small.(my image is 100 pixels along the x dimension and 249 along the
y dimension.) How can I change the display while retaining the same number
of voxels?
I tried magnifying the image but it became grainy. Would padding the image
with more pixels produce larger image that well look better?
Also the invert LUT changes the display value for the zero pixels and all
other pixel. The results would be opposite to what I expect.
Can I use for example "16_colors" LUT on the image and only change the
display value for the zero value pixel?
My thoughts were to create my custom LUT; so I tried the LUT editing plugin
but I was not successful. Any suggestion?

How do you display the LU vale scale on the side of the image?

Sincerely;

Mat M. Al-Tamimi M.Sc., DABR

E-mail:  [hidden email]  or
Cell (865)  742-0093

 


-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Rasband, Wayne (NIH/NIMH) [E]
Sent: Friday, October 19, 2012 4:43 AM
To: [hidden email]
Subject: Re: Text Images Help?????????

On Oct 18, 2012, at 9:01 PM, Mat M Al-Tamimi wrote:

> Is their any one out their that can answer my text images question?
> I would like to generate a stack from several text images.
> My Questions are:
> 1) Can I do that without having to open the text files as images?

There is a example macro at

 http://imagej.nih.gov/ij/macros/ImportTextImageSequence.txt

that opens a series of text images as a stack without displaying the
individual images.

> 2) How can I change a pixel dimension ? my pixel is (dx=0.5 cm and dy=0.2
cm)

You can set the pixel size to 0.5x0.2 cm using

  setVoxelSize(0.5, 0.2, 1, "cm")

> 3) When assigning a LU table how can I change the color (to light color)
for the pixels that are Zero value?

You can make zero value pixels white by inverting the LUT using

   run("Invert LUT");

-wayne

> I would greatly appreciate any one help and input.
> Thanks in advance.
> Mat M. Al-Tamimi
> [hidden email]
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html