Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / Using ENVI / Crop Science / Find Crop Gaps

Find Crop Gaps

Find Crop Gaps

Use the Find Crop Gaps tool to find the locations of missing crops within a row. The output is a new crops object that indicates the locations of missing crops, along with a classification image of the missing crop locations. You can use the results of this tool to plan where crops need to be planted.

The Find Crops Gap tool is part of ENVI Crop Science, which requires a separate license and installation. You can also write a script to estimate crop locations using ENVIAgFindAndRasterizeCropGapsTask.

See the following sections:

Before You Begin


Before running the Find Crop Gaps tool, perform the following steps:

  1. Run the Count Crops tool. See the Enhance Crops and Count Crops topics for guidelines on preprocessing your imagery, including instructions to create a single-band image that highlights crops against a dark background. Be sure to specify an Output Crops File in the Count Crops tool.
  2. Run the Find Rows and Remove Outliers tool to locate rows within your field.

Run the Tool


Follow these steps to run the Find Crop Gaps tool:

  1. From the Toolbox, select Crop Science > Find Crop Gaps.
  2. Select an Input Crops file (.json), which is the Output Crops File that you created in the Find Rows and Remove Outliers tool.
  3. Enter a Search Area Sensitivity value. The default value is 0. Increasing the value in the positive direction will increase the sensitivity of the gap-finding process, which means it will fit more crops into a gap. Decreasing the value in the negative direction will decrease the sensitivity of the gap-finding process, resulting in fewer crops in a gap. A good starting point is 0, then slowly increase the value (1, 2, 3, etc.) until the desired number of crops fill the gaps.
  4. Optional: Enable the Fill Raster Crops option to display filled circles instead of outlines in the classification result. The default value is No.
  5. Optional: Select an output filename and location for the Output Crops Raster. This is a classification raster showing the locations of missing crops.
  6. Optional: Select an output filename and location for the Output Crops File. This is a JSON-format text file that specifies the locations of the missing crops.
  7. Select the Display result option to display the output image when processing is complete.
  8. Click OK. If the Display result option was selected, the Output Crops Raster is displayed with the missing crops colored red.

Example


This example uses WorldView-3 panchromatic imagery (courtesy of DigitalGlobe) with an orthorectified resolution of 0.37 meters. The area of interest includes a citrus orchard with several gaps. The field of interest was isolated and masked using a ROI. The pixel values in the panchromatic image were inverted using the Enhance Crops tool so that the trees had bright, circular shapes:

The Crop Count tool was run on this image, followed by the Find Rows and Remove Outliers tool. The following image shows the resulting crops, with outliers removed:

Finally, the Find Crop Gaps tool was run using a Search Area Sensitivity value of 1. The resulting crops raster shows the missing crops in red:

See Also


Find Rows and Remove Outliers, Count Crops



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us