Phase Ratio Analyzer


Why?

In materials science, it is common to analyze the ratio between two phases from micrographs. The method is to draw a grid on the micrograph and count the number of crossing point in each phase. When the density of grid is high enough, the ratio between the points in different phases is the volume ratio of the different phases. A second method is to randomly select points for analysis.

The different two phases usually show different brightness on micrographs. But due to background, it is hard to decide a point is which phase simply by the brightness of the point, some human intervention is needed.

Phase ratio analyzer plugin provide a computer assisted mechanism to analyze phase ratio. Phase ratio analyzer plugin randomly displays a number of points in a image opened in imageJ and their surrounding areas. The user decide if the center of displayed area is in the bright phase or the dark phase.

How does it work?

When the phase ratio analysis plugin is triggered from the plugin menu, it firstly shows a dialog box for selecting the number of points the user wants to count. And the size of the area the user wants to show around the point of interest.

screen shot of parameter window

image 1: screenshot of parameter window

Then a new window will open and the computer will generate the user set number of points, and display the area around that points. At each time, the user can increase the counters for the "bright" or "dark" phase by clicking either the "bright" or "dark" button at the bottom of the window. A third "stop" button is provided for user to stop at any time.

screen shot of main window with area size of 16pixels screen shot of main window with area size of 50pixels

image 2: screenshots of main window with different area size

After the counting is finished or the "stop" button is clicked, a table will be brought into front to show the counting result.

screen shot of result window

image 3: screenshot of result window

Install

  1. Download Phase_Ratio_Analyzer.class and RatioAnalyzerWindow.class.
  2. Put those files in the imageJ plugin directory.
  3. Restart imageJ if the program is currently running.

Or

  1. Download Phase_Ratio_Analyzer.java.
  2. Put the file in the imageJ plugin directory.
  3. Choose Plugins->Compile and run... menu.