Masking/filtering soil pixels from drone imagery in QGIS (Drones in agriculture series, 4/7)

  Рет қаралды 10,632

Travis Parker

Travis Parker

Күн бұрын

Пікірлер: 30
@adamotoole_soilcquest
@adamotoole_soilcquest 4 ай бұрын
Thanks very much for this video, you saved me a heap of time in not masking out soil areas with a manually drawn shapefile mask. This worked a treat!
@adrianalexanderveraesmeral182
@adrianalexanderveraesmeral182 Жыл бұрын
Thank you very much for your videos, I hope you come back to provide more information about precision agriculture.
@anarmilan8848
@anarmilan8848 3 жыл бұрын
Deat Travis Paker, Your videos have been very well explained. Please upload more videos
@saarreshef6782
@saarreshef6782 Жыл бұрын
**To get output of 4 bands (RGB and alpha band), thank you!!
@MrDukkee
@MrDukkee 3 жыл бұрын
Another useful video. Thank youu! Looking forward to seeing more videos of the Drones in agriculture series from you!
@lauracastillo1376
@lauracastillo1376 3 жыл бұрын
Thank you, it was so helpful and well explained! You just made my work easier.
@travisparkerplantscience
@travisparkerplantscience 3 жыл бұрын
Thanks Laura, I'm glad it was useful!
@samuelafolabi7345
@samuelafolabi7345 3 жыл бұрын
Honestly 🕺🕺
@Prascau
@Prascau 3 жыл бұрын
Your videos helped me a lot Thank you
@yacinebnhal30
@yacinebnhal30 3 жыл бұрын
keep up the good work . many thanks
@sharannagarajan4089
@sharannagarajan4089 3 жыл бұрын
hey travis, could you explain how you got the mask layer. Will you get it by performing some sort of image segmentation algorithm using deep learning?
@travisparkerplantscience
@travisparkerplantscience 3 жыл бұрын
Hi Sharan, good question! We can separate those using a threshold value for a vegetation index (or, in rare cases other things like elevation, temperature, etc.). An NDVI value of 0.5 usually does a great job. That is explained at 11:55 here: kzbin.info/www/bejne/i2PUe6Ftn62Metk Hope this helps!
@travisparkerplantscience
@travisparkerplantscience 3 жыл бұрын
I just added a card with a link to that video, in case others have the same question. Thanks!
@saarreshef6782
@saarreshef6782 Жыл бұрын
Hi, very useful video, thank you!! I now have the mask and my RGB image, how can I clip the RGB from the mask?
@travisparkerplantscience
@travisparkerplantscience Жыл бұрын
Usually by the time you have a mask layer, you are working with your vegetation index data to get the data you need, and aren't going back to the original RGB except maybe to make slides for a presentation or something. For presentation purposes, you can often just put your sDSM (soil digital surface model, see the plant height and canopy volume video in this playlist) on top of your RGB layer in the layer panel at bottom left. If you really need a masked RGB orthomosaic for some reason, you would probably have to use the raster calculator (as explained starting around 0:55 in this video) to calculate (RGBband / mask) for each of the bands, then merge the outputs again as explained in the final video in this video series. I hope that helps!
@saarreshef6782
@saarreshef6782 Жыл бұрын
@@travisparkerplantscience I tried it and it works thank you!!
@anarmilan8848
@anarmilan8848 3 жыл бұрын
Could you please explain, how to get the true colour image after masking?
@travisparkerplantscience
@travisparkerplantscience 3 жыл бұрын
If you already loaded true color images earlier, you can check the boxes in the layers panel to change what is displayed. Make sure the layer you want to see is checked, and there aren't any layers on top of it to "hide" it. If you haven't loaded true color layers, you can make them in Pix4D from RGB imagery or derived from multispectral imagery here: kzbin.info/www/bejne/rpCTnWWvaamZpMk
@anarmilan8848
@anarmilan8848 3 жыл бұрын
@@travisparkerplantscience Sorry, I asked how to develop a new true-color raster (composite 5 bands) by using the mask layers
@travisparkerplantscience
@travisparkerplantscience 3 жыл бұрын
@@anarmilan8848 I don't usually make composites of the five bands, but you could do that using the "merge" function from the video in the link I just shared. Maybe also I'm a little confused because usually the true-color rasters are usually composites of three bands (Red Green Blue) rather than five. Let me know if that makes sense or if you still have questions
@travisparkerplantscience
@travisparkerplantscience 3 жыл бұрын
If you already have a composite map you are happy with, and want to mask soil or whatever, you can go to the raster calculator and put in "(name of your composite raster layer)"/ "(name of your masking layer)" and any pixels with '0' values in the masking layer will now be "NA" (no data) in the output you generate from this
@anarmilan8848
@anarmilan8848 3 жыл бұрын
@@travisparkerplantscience I performed the merge raster processing and got output. But pixel value for composite raster is ranges from 0 - 45000. But I got composite RGB from PIX4D which shows the rages from 0 -255. So could you please explain this variation?
@capsulaproducciones3370
@capsulaproducciones3370 2 жыл бұрын
travis, one question for you: what do you think is the most accurate result, eliminating soil and then calculate NDVI or MSAVI2 in the whole plot?
@travisparkerplantscience
@travisparkerplantscience 2 жыл бұрын
Hi, it really depends on what you want to do, but yes these are very useful approaches!
@vincentbraun4290
@vincentbraun4290 8 ай бұрын
very helpfull! thanks a lot
@travisparkerplantscience
@travisparkerplantscience 8 ай бұрын
Thanks for watching!
@Jakolo121
@Jakolo121 2 жыл бұрын
Hello Travis! First of all thanks for the videos 🙏 I encountered some problems when masking soil pixels. Somehow the division by 0 produces -3.40e+38 instead of NULL. Any idea how to fix this?
@Jakolo121
@Jakolo121 2 жыл бұрын
Edit: Solved it :D In case someone encounter the same problem; It’s important to save the layer on the Disk. If you only working with temp files, the operation will fail. Apparently the name of the temp file is to long 🤦🏻‍♀️
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Green on Brown Spot Spraying - Mapping fallow weeds with PIX4Dfields
5:35
Pix4D Agriculture
Рет қаралды 2,7 М.
Using QGIS to Segment Orthomosaics and Extract Drone Data
24:37
Dave MacTaggart
Рет қаралды 4,2 М.
Georeferencing Drone Imagery in QGIS
12:50
Karen Joyce
Рет қаралды 24 М.
OSINT At Home #9 - Top 4 Free Satellite Imagery Sources
13:21
Bendobrown
Рет қаралды 1,6 МЛН
Multispectral Imagery Analysis
21:02
NCSU GeoForAll Lab
Рет қаралды 7 М.