Installation:

    - Download G_Ratio.jar

    - Copy the downloaded file to to your ImageJ plugin directory

    - Restart ImageJ



Plugin:

    G_Ratio.jar

Source Code:

    G_Ratio.java