ImageJ mean grey value

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

ImageJ mean grey value

Youssef Chebli
When measuring the 'mean grey value' in imageJ, the software
Hello, 

When measuring the 'mean grey value' in imageJ, the software gives me only one mean value. Is it possible to access the values of each pixel it measured?

Thank you very much for your help
 
Youssef Chebli


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ mean grey value

Michael Weber-4
Youssef,

afaik the easiest way is to save your image as a "text image" and load
this to a chart software such as MS Excel.

Michael


> When measuring the 'mean grey value' in imageJ, the software
> Hello, 
>
> When measuring the 'mean grey value' in imageJ, the software gives me only
> one mean value. Is it possible to access the values of each pixel it
> measured?
>
> Thank you very much for your help
>  
> Youssef Chebli
>
>
>       __________________________________________________________________
> Looking for the perfect gift? Give the gift of Flickr!
>
> http://www.flickr.com/gift/
Reply | Threaded
Open this post in threaded view
|

adding text to stacks and movies?

Franklin Shaffer-2
In reply to this post by Youssef Chebli
Would someone be so kind as to point me to instructions on how to add
text to a stack of images or a movie?

I've done some web searching and scanned through the ImageJ
documentation, but had no luck.

Much thanks!

Frank Shäffer
Senior Research Engineer
USDOE National Energy Technology Laboratory
Reply | Threaded
Open this post in threaded view
|

Re: adding text to stacks and movies?

Prashant-2-3
Hi Frank ,

         I have done it for me.
         I am just taking graphics from image and then drawing string in
that graphics mode.
        Then i saved images in jpeg format.
        The jpeg image consist of my string at location 50,50.

        same thing you can do for movie also because you have array of
images.
        i think it will help you.
        Here imp is a ImagePlus object.

try

{

BufferedImage bimg = null;

Image img = imp.getImage();

int w = img.getWidth(null);

int h = img.getHeight(null);

bimg = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);

Graphics2D gg = bimg.createGraphics();

gg.drawImage(img, 0, 0, img.getWidth(null), img.getHeight(null), null);

gg.dispose();

////it writes into image that it is save from medsynaptic

gg.drawString(""Hello text added",50,50);

int ind = name.lastIndexOf(".");

if (ind > 0)

{

String temp = name.substring(0, ind);

File fi = new File(dir + File.separator + temp + ".JPEG");

ImageIO.write(bimg, "jpg", fi);

bimg = null;

img = null;

}

}







----- Original Message -----
From: "Franklin Shaffer" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, December 04, 2008 3:00 AM
Subject: adding text to stacks and movies?


Would someone be so kind as to point me to instructions on how to add
text to a stack of images or a movie?

I've done some web searching and scanned through the ImageJ
documentation, but had no luck.

Much thanks!

Frank Shäffer
Senior Research Engineer
USDOE National Energy Technology Laboratory
Reply | Threaded
Open this post in threaded view
|

Re: adding text to stacks and movies?

Michael Schmid
Hi Frank,

what about the Time Stamper plugin?

   http://rsbweb.nih.gov/ij/plugins/stamper.html

Michael
________________________________________________________________

On 4 Dec 2008, at 07:02, prashant wrote:

> Would someone be so kind as to point me to instructions on how to add
> text to a stack of images or a movie?
>
> I've done some web searching and scanned through the ImageJ
> documentation, but had no luck.
>
> Much thanks!
>
> Frank Shäffer
Reply | Threaded
Open this post in threaded view
|

Re: adding text to stacks and movies?

Wayne Rasband
In reply to this post by Franklin Shaffer-2
On Dec 3, 2008, at 4:30 PM, Franklin Shaffer wrote:

> Would someone be so kind as to point me to instructions on how to add
> text to a stack of images or a movie?
>
> I've done some web searching and scanned through the ImageJ
> documentation, but had no luck.

The Edit>Draw command in ImageJ 1.42b or later displays a "Process
Stack?" dialog when operating on a stack. The Draw command works with
area and line selections and with text created using the text tool. The
Edit>Fill command also displays a "Process Stack?" dialog when
operating on a stack. You can upgrade to the latest version of ImageJ
(1.42c) using the Help>Update ImageJ command.

-wayne
Reply | Threaded
Open this post in threaded view
|

Antwort: Re: ImageJ mean grey value

Joachim Wesner
In reply to this post by Michael Weber-4
Hi Youssef,

you can do almost anything regarding pixel values with a macro, however it
will become a little more complicated, when
you only want the values within some nonreactangular selection region.

You can also configure the details the "Measurement" command gives you, if
you only  need some more info, besides
MIn and Max, you can get statistics as Std Dev, Median and so on, it can be
configured from the "Edit/Set Measurements"
submenu of the results window.

Mit freundlichen Grüßen / Best regards

Joachim Wesner


Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht
Wetzlar  HRB 2432
Geschäftsführer:  Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy
Martyr | Colin Davis



                                                                           
             Michael Weber                                                
             <[hidden email]                                            
             >                                                          An
             Gesendet von:              [hidden email]                
             ImageJ Interest                                         Kopie
             Group                                                        
             <[hidden email].                                       Thema
             GOV>                       Re: ImageJ mean grey value        
                                                                           
                                                                           
             03.12.2008 11:33                                              
                                                                           
                                                                           
              Bitte antworten                                              
                    an                                                    
             [hidden email]                                              
                                                                           
                                                                           




Youssef,

afaik the easiest way is to save your image as a "text image" and load
this to a chart software such as MS Excel.

Michael


>
> When measuring the 'mean grey value' in imageJ, the software gives me
only
> one mean value. Is it possible to access the values of each pixel it
> measured?
>



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________