Code Monkey home page Code Monkey logo

canopy_coverage's Introduction

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.

canopy_coverage's People

Contributors

moritznelle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.