I have flown a multispectral vineyard survey and want to generate indices just on the vine plants themselves. Between the vine rows there is either earth, or grass & weeds. I know I can ‘mask’ the earth using SAVI but it’s difficult to distinguish between the health of vine and the grass.
I thought I could use the Magic Tool to remove the areas I don’t want values for, leaving the actual vine plants on which I can generate an index.
However, my theory didn’t work so I must be doing something wrong!
I selected the Ortho layer and created a boundary. I then ran the magic tool and selected WANTED as the vine plants and UNWANTED as the earth & grass. I then cleaned up and ran the output. I am left with a new annotation called ‘Grass Removed’, but I can’t do anything with it. If I run Indexes, they generate on the whole Ortho, not the filtered one.
Please can you tell me what I am doing wrong?
What you obtained is a selection of the pixels with grass. You are correct. This could be useful if you need to apply some treatment only there, for example.
As you mentioned, perhaps masking is what you need, although it can be difficult to differentiate between grass and vine rows. Soil and plant masking w/ Pix4Dfields
In our next release happening in June, you will be able to export a grid prescription taking Magic tool outputs too.
For now, you will need to draw each vine row as a boundary and then trim the layer.
I hope this helps.
Does that mean that ‘WANTED’ actually means ‘these are the things I want to remove’? I assumed it means ‘these are the things I want to keep’!
I think you’re saying the Magic Tool should not be used for this type of task?
Ok, I will try creating multiple boundaries to cover each line of vine (wow that’s a big job!) and then run indices on that.
UPDATE: So I quickly drew 3 boundaries on the Ortho, but could only trim to one? Now I am left with a single strip of vine plants and 2 empty boundaries. How do I draw all the boundaries and then trim to all of them? I expect to see 50+ boundaries each containing a row of plants, on which I can generate an index.
Regarding Magic tool, Wanted refers to the pixels you want to be selected automatically by the tool. This is always referring to the new grid that is generated and not the original Orthomosaic.
You can create one boundary per field, adding more parts to it using this icon:
This will provide only one boundary file per field.
Let me know if this works for you.
That’s not working: now I get a large rectangular dotted-line box that I can’t move, or this mess:
UPDATE: no, I got it now! But I have to draw each new sub-polygon, I can’y copy/paste the previous?
Sorry, another question! Now I have created my complex boundary, can I export it and them import on another project? I will survey the same area again in a month and will want to reuse the boundary, so that I can compare the first survey with the second survey.
Yes, you can always Export going to the Export menu on the top right.
From there export this boundaries to be used later.