Skip to content

MoritzNelle/Canopy_Coverage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1. Installation of FIJI:

  1. Download and install FIJI (FIJI is just ImageJ)
  2. Open Fiji, it should look like this:

alt text

Use Macro to analyze multiple images

  1. Perform a color threshold as you would do without macro and note down the numbers, you used. The result and color threshold window can be discarded, you will only need the numbers.
  2. Drag and drop the macro file on to the FIJI Window and press the 'Run' button in the popped-up window.
  3. Enter the numbers from Step 1 in to the dialog window
  4. From now on follow the instructions given by the Macro.
    • Read the dialogs carefully!
    • All numerical result will be printed in the Log-window, save it then you finished your analysis!

Canopy Coverage analysis with FIJI (without Macro):

Perform a perspective correction

  1. Open your clearly named canopy coverage image by drag and drop or File › Open
  2. Plugins › Transform › Interactive Perspective
    • Four small plus signs should appear on the image, drag them across the image until the frame is just outside the field of view.
    • Confirm with ENTER

alt text alt text

Isolate the green plants with a color threshold

  1. Image › Adjust › Color Threshold...
    1. Set all filters to 'Pass'
    2. Thresholding method: Default
    3. Threshold color: B&W
    4. Color space: HSB
    5. Dark background: enabled
  2. Set Hue, Saturation and Brightness, so only plants are white and anything else is black.

alt text alt text

Create a histogram for the black and white image

  1. Select the image
  2. Duplicate the image: Image › Duplicate... (Ctrl + Shift + D)
  3. Analyze › Histogram (Ctrl + H)
  4. Press 'List' on the Histogram Window (red in the picture below)
  5. Note down the count for value=0 (background) and value=255 (canopy)
  6. Calculate the canopy coverage

alt text

Erase all weeds from the RGB image (created in step 4.b)

  1. Double click on the color picker (green in the picture below) and select black as background color.
  2. Use the selection tools from Fiji (red in the picture below) to select one weed or a group of weeds at a time, when selected press the del key. The weeds should now be replaced by solid black color.

alt text

  1. Repeat, until there are no visible weeds left
  2. You can reverse the last deletion with Cntr + Z

Preform steps 3 and 4 again for the image without weeds and calculate the weed coverage from the difference.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published