Main Title
Details for G Ratio Calculator
NameG Ratio Calculator
G Ratio Calculator allows you to calculate the G ratio in the following way:
Image processing

The two first steps (“Prepare image” and “Start measurements”) involve several filters and processing procedures. Then the actual measurement occurs.

Prepare Image
• Convert the image to 8-bit: we do not need color information.
• Apply a median filter: removes noise and allows better edge detection.
• Apply a user-defined threshold: we need to binarize the image.

Start measurements
• Apply an “Open” binary operation on the image: removes residual gaps between “attached” fibers.
• Listen the image for cursor location

• Auto-outline the inner part of the fiber
• Measure inner area and inner perimeter (a1 and p1)
• Find the border
• Auto-outline the outer part of the fiber
• Measure total area and outer perimeter (a2 and p2)

- Methods used for G factor calculation:

Two values are computed:

pgfactor, which is the perimeter-based g factor, is calculated this way:

pgfactor =  pratio.jpg

agfactor, which is the area-based g factor, is calculated this way:

agfactor =  aratio.jpg

pgfactor and agfactor are totally equal for an ideal round fiber. The more the fiber is distorted, the more these values will differ. If you should use only one of these values, the agfactor should be chosen because it is shape independent.


FilenameG Ratio
Filesize1.5 MB
Filetypezip (Mime Type: application/zip)
Created On: 10/30/2008 10:13
Maintained byEditor
Hits2021 Hits
Last updated on 10/30/2008 10:28
CRC Checksum
MD5 Checksum