Home |  Mu Labs
 Able Image Analyser® Powerful Image Analysing Tool  









Download now! 2.4Mb

Automatic measurement of areas of leaves.

In this task Able Image Analyser will measure areas of objects in the image.
    Open the file "leaves.jpg".

    Spatial Calibration procedure
  1. To perform scale calibration, select "Spatial Calibration" from Tools menu or press “Spatial calibration” button (left-most button, marked with cross). New dialog appears.
  2. There is a scale 5 centimeters long in the right bottom part of the image. Left click on the zero of this scale. Left click on 5 in the scale.
  3. Distance (in pixels) between those two points appears in Spatial Calibration dialog. Now you have to enter number of real world units. In our case enter 5, because the scale is 5 centimetres long.
  4. Now you have Conversion factor. You can save it to the file, so you won’t have to calibrate the image again other time. Press OK.
    area of leaf

    If you want computer to automatically count/measure objects, you have to define what is object and what it background of the image. The simplest way of binarisation of the image is thresholding.
    Binarisation of the image
  1. Select "Threshold" from the Binary menu. New dialog appears. Click, hold and move mouse in grayscale histogram to change threshold level.
  2. When all objects are dark and background is white you selected correct threshold. Click OK.
  3. Result of the operation is black and white image. Objects are represented by black color, background by white color.
Hint: If your image has dark background and light objects then you have to invert colors before Thresholding. Use "Invert" from Image menu.
    Analysis of objects
  • Select "Analyse objects" from Binary menu. Window with new options appears:
    analyse image objects
  • Objects with pixel size less than "Minimum particle size" and more than "Maximum particle size" won’t be included in results. It is useful that you select min. particle size more than 1 to get rid of binarisation induced noise. In our example 80 is selected to exclude label in the image.
  • When you click OK, it takes some time to analyse the image. Rough results are shown in the message window: "60 objects found, 6 objects meet criteria". If you had "Show outlines" option checked new image with outlines of object appears.
    outlines of analysed objects
  • Detailed results are stored in Spreadsheet (menu Tools->Spreadsheet or click second icon from the left in bottom toolbar). Object number as it appears in outline image is in column A. Columns B and C show average x and y coordinates of pixels representing object. Column D shows true (calibrated) areas of objects.
    datasheet showing object info


Back to Able Image Analyser Worked Examples.