Segment Anything in QGIS with the Geo-SAM Plugin

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 16

  • @gis1875
    @gis1875 16 днів тому

    Tnx man!

  • @Christobal_tobbin
    @Christobal_tobbin 11 днів тому

    This is a great tutotial but i have a question about using the point promt segmentation code. I know its not related to the qgis tutorial but would really appreciate pointers in how to create segmentations using points and not having to create an interactive map as in the tutorial. I want the points i imported to be used as the basis for the segmentation. I hope you get what I mean. Can you help with this or point me to a source which can help. I really need this in order to complete my master thesis🙏

  • @SeSo-gj9eb
    @SeSo-gj9eb 15 днів тому

    thank you so much.
    if you're a bit clumsy like me then check your spelling ...
    Traceback (most recent call last):
    File "", line 1, in
    AttributeError: module 'torch.cuda' has no attribute 'is_availiable'. Did you mean: 'is_available'?

    • @HansvanderKwast
      @HansvanderKwast  15 днів тому

      Well spotted. Not sure who should fix that.

    • @SeSo-gj9eb
      @SeSo-gj9eb 15 днів тому

      @@HansvanderKwast It was me who spelled it wrong -> I'm the clumsy type

    • @HansvanderKwast
      @HansvanderKwast  15 днів тому

      Ah yes of course. Now I'm clumsy 🙃

    • @SeSo-gj9eb
      @SeSo-gj9eb 15 днів тому

      @@HansvanderKwast Sir, with all due respect, you are a mastermind.
      And once again - many thanks!

  • @Imperial7575
    @Imperial7575 13 днів тому

    Thank you for showing us this plugin!
    I noticed that this plugin takes in input from just 3 different bands (RGB)
    So I want to ask, how this plugin compares with something like the SCP (Semi-Automatic Classification Plugin).
    Because in SCP classification, if were to import LandSat2 I believe it extracts features from 8 different image bands, so it might be able to perform better feature extraction...
    Is there any way to use Geo-SAM with more than 3 bands?

    • @HansvanderKwast
      @HansvanderKwast  13 днів тому +1

      Indeed, Geo-SAM supports up to 3 bands because the underlying SAM algorithm is designed to handle a maximum of 3 bands. It's important to note that image segmentation and remote sensing classification are distinct techniques.
      Traditional segmentation is typically performed on high-resolution images with limited bands (see tools from SAGA and OTB), focusing on spatial patterns within the image. In contrast, remote sensing classification is usually based on per-pixel classification, where the spectral signature of each pixel is compared with the signature of training data. Historically, maximum likelihood methods were popular, but now machine learning techniques like random forest are commonly used. These methods still rely on per-pixel signatures rather than patterns.
      By combining both approaches-segmentation based on even 3 bands and incorporating spectral information from multiple bands-you can achieve better stratification in classification.

  • @digitalassets701
    @digitalassets701 10 днів тому

    Couldn't load plugin 'Geo-SAM-main'
    rasterio.errors.CRSError: The EPSG code is unknown. PROJ: proj_create_from_database: C:\PROGRA~1\QGIS33~1.2\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 4 is expected. It comes from another PROJ installation. this error occurred any soluation

    • @HansvanderKwast
      @HansvanderKwast  4 дні тому

      Maybe an update of QGIS solves this issue? Current versions: 3.34.15 and 3.40.3. Upgradable via the OSGeo4W installer.

  • @SeSo-gj9eb
    @SeSo-gj9eb 13 днів тому

    @all: is there a shortcut to save a polygon? Just pressing "S" doenst work (for me)

    • @HansvanderKwast
      @HansvanderKwast  11 днів тому

      For me it works pressing "s", so without shift.

    • @SeSo-gj9eb
      @SeSo-gj9eb 9 днів тому

      @@HansvanderKwast solved, thanks to a Github post - disable snapping toolbar -> and "s" for save works

  • @nkirankumar8294
    @nkirankumar8294 15 днів тому +1

    looking for more vedios like this and how do get these new workflow before they became mainstreamed.. do let us know if there any newsletter we need to subscribe.

  • @arizonasoilscience7252
    @arizonasoilscience7252 День тому

    Mun sabe mumbul dekremma lek , gawat bhen lek