Soil mask

12 views
Skip to first unread message

Prasanth Chigurupati

unread,
Jun 1, 2020, 2:57:52 AM6/1/20
to FIELDimageR: A R package to analyze orthomosaic images from field trials.
Hi

To remove the soil I have done with the given function (soil mask), but it seems to want to mask properly, please suggest the proper function.

Thank you
soil remove.jpeg

fmatias

unread,
Jun 1, 2020, 8:18:08 AM6/1/20
to FIELDimageR: A R package to analyze orthomosaic images from field trials.
Hi Prasanth,

The better way to remove the soil is to follow what I described at the link: https://github.com/OpenDroneMap/FIELDimageR#P6

Using the function fieldIndex() with the original image, you must calculate different indices ("BI", "BGI", "SCI", etc) and chose one to identify the soil. 
Then, using fieldMask() you can use this index, the value to crop (cropValue), and the direction to crop (cropAbove = TRUE or FALSE).

Please, let me know if you got this.
Best
Filipe
Reply all
Reply to author
Forward
0 new messages