ImageJ and Metallography

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

ImageJ and Metallography

Klughammer GmbH
Dear users,

has anybody already made some experience with ImageJ and metallography?

I am looking for

- grain size measurement
- graphite morphology
- nodularity measurement
- particle size distribution

Anneliese
Reply | Threaded
Open this post in threaded view
|

Bug with complex ROIs

Joachim Wesner
Hi there,

there seems to be a small bug in 1.36b I just noticed, when having large
non-rect ROIs as elliptical/circular sections for example, that extend
(slightly) over the edge of the image, cropping to the enclosing rect does
not seems to work as expected, I see this when doing it from my plug-in as
also from the main window:

When doing "Edit/Clear" as also "Edit/Clear outside" the selection
corresponds to the ROI (i.e. circle with cut off sides), however, when
doing "Image/Crop", the origin of the selection is "recentered" somehow,
even up to the point (if possible) that a new fully circular ROI results,
that, however, will no longer agree with the selection in the source
window.

Joachim


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Bug with complex ROIs

Gabriel Landini
On Monday 03 April 2006 09:47, Joachim Wesner wrote:
> When doing "Edit/Clear" as also "Edit/Clear outside" the selection
> corresponds to the ROI (i.e. circle with cut off sides), however, when
> doing "Image/Crop", the origin of the selection is "recentered" somehow,
> even up to the point (if possible) that a new fully circular ROI results,
> that, however, will no longer agree with the selection in the source
> window.

Also when changing the image type (8 bit to rgb, etc) the selection gets
centred too.

And if one tries to convert an 8 bit grey into 8 bit colour, the expected
converted error table comes up, but the selection is lost.

Cheers,

Gabriel
Reply | Threaded
Open this post in threaded view
|

Antwort: Re: Bug with complex ROIs

Joachim Wesner
                                                                                                                                       
                      Gabriel Landini                                                                                                  
                      <G.Landini@BHAM.         An:      [hidden email]                                                            
                      AC.UK>                   Kopie:                                                                                  
                      Gesendet von:            Thema:   Re: Bug with complex ROIs                                                      
                      ImageJ Interest                                                                                                  
                      Group                                                                                                            
                      <[hidden email]                                                                                                
                      .GOV>                                                                                                            
                                                                                                                                       
                                                                                                                                       
                      03.04.2006 10:59                                                                                                
                      Bitte antworten                                                                                                  
                      an ImageJ                                                                                                        
                      Interest Group                                                                                                  
                                                                                                                                       






Hi,

yep, but I thought this really is a bug and not a "feature" as it first
seemed to happen if the "relative coordinates" of the enclosing rect are
negative or extend over the image. It also does not only mean "recentering"
but might be also rescaling of the ROI shape, I do not yet understand what
exactly happens, especially what happens with polygon ROIs etc.??? Is this
behaviour documented somewhere?

The whole discussion might appear a bit "academic", however it happened to
be that I tested my plugin with images that show a circular pupil which in
some case just slightly extends over the corner, so I thought I could just
get the right ROI using an oversize circle, but that is just the condition
where the bug seems to show up.

On Monday 03 April 2006 09:47, Joachim Wesner wrote:
> When doing "Edit/Clear" as also "Edit/Clear outside" the selection
> corresponds to the ROI (i.e. circle with cut off sides), however, when
> doing "Image/Crop", the origin of the selection is "recentered" somehow,
> even up to the point (if possible) that a new fully circular ROI results,
> that, however, will no longer agree with the selection in the source
> window.

Also when changing the image type (8 bit to rgb, etc) the selection gets
centred too.

And if one tries to convert an 8 bit grey into 8 bit colour, the expected
converted error table comes up, but the selection is lost.

Cheers,

Gabriel



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Bug with complex ROIs

Wayne Rasband
In reply to this post by Gabriel Landini
All of these bugs will be fixed in ImageJ 1.37c.

-wayne

On Apr 3, 2006, at 4:59 AM, Gabriel Landini wrote:

> On Monday 03 April 2006 09:47, Joachim Wesner wrote:
>> When doing "Edit/Clear" as also "Edit/Clear outside" the
>> selection corresponds to the ROI (i.e. circle with cut off sides),
>> however, when doing "Image/Crop", the origin of the selection
>> is "recentered"  somehow, even up to the point (if possible) that
>> a new fully circular  ROI results, that, however, will no longer
>> agree with the selection in the source window.
>
> Also when changing the image type (8 bit to rgb, etc) the
> selection gets centred too.
>
> And if one tries to convert an 8 bit grey into 8 bit colour,
> the expected converted error table comes up, but the selection is lost.
>
> Cheers,
>
> Gabriel
>