dzetsaka : classification plugin for Qgis
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img dzetsaka v3.3.1 Jun 30, 2018
processing fix bugs with processing toolbox Jun 29, 2018
scripts gdal instead of osgeo.gdal Jun 30, 2018
ui v3.4 with welcome msg Jul 1, 2018
.gitignore v3.0.0 Feb 28, 2018
__init__.py v3.0.0 Feb 28, 2018
config.txt local beta Jun 6, 2018
dzetsaka.py v3.4 with welcome help Jul 1, 2018
dzetsaka_provider.py dzetsaka v3.3.1 Jun 30, 2018
icon.png v3.0.0 Feb 28, 2018
metadata.txt v3.4 with welcome msg Jul 1, 2018
readme.md Update readme.md May 4, 2018
resources.py dzetsaka v3.3.1 Jun 30, 2018
resources.qrc v3.4 with welcome msg Jul 1, 2018
zipVersion.sh v3.0.0 Feb 28, 2018

readme.md

dzetsaka : classification tool

Inselberg in Guiana Amazonian Park

dzetsaka dzetsaka logo is very fast and easy to use but also a powerful classification plugin for Qgis. Initially based on Gaussian Mixture Model classifier developped by Mathieu Fauvel (now supports Random Forest, KNN and SVM), this plugin is a more generalist tool than Historical Map which was dedicated to classify forests from old maps. This plugin has by developped by Nicolas Karasiak.

A quick tutorial is available online (dzetsaka : how to make your first classification in qgis ?), or you can just download samples to test the plugin on your own.

What does dzetsaka mean ?

As this tool was developped during my work in the Guiana Amazonian Park to classify different kind of vegetation, I gave an Teko name (a native-american language from a nation which lives in french Guiana) which represent the objects we use to see the world through, such as satellites, microscope, camera...

Discover dzetsaka

dzetsaka : Classification tool runs with scipy library. You can download package like Spider by Anaconda for a very easy setup.

Then, as this plugin is very simple, you will just need two things for making a good classification :

  • A raster
  • A shapefile which contains your ROI (Region Of Interest)

The shapefile must have a column which contains your classification numbers (1,3,4...). Otherwise if you use text or anything else it certainly won't work.

Installation of scikit-learn

On Linux simply open terminal and type : pip install scikit-learn

On Windows

For Qgis 3: Open OsGeo shell in admin, then :

py3_env.bat

pip install scikit-learn

Thanks to Alexander Bruy for the tip.

For Qgis 2: In the OsGeo setup, search for PIP and install it. Then you have few more steps to do. In the explorer, search for OsGeo4W Shell, right click to open it as an administrator. Now use pip in OsGeo Shell like on Linux. Just type :
pip install scikit-learn

If you do not have pip installed, open osgeo4w-setup-x86_64.exe, select Advanced install and install pip.

You can now use Random Forest, SVM, or KNN !

Tips

  • If your raster is spot6scene.tif, you can create your mask under the name spot6scene_mask.tif and the script will detect it automatically.
  • If you want to keep your spectral ROI model from an image, you can save your model to use it on another image.

Online dev documentation is available throught the doxygen branch.

Thanks to...

I would like to thank the Guiana Amazonian Park for their trust in my work, and the Master 2 Geomatics Sigma for their excellent lessons in geomatics.

Sponsors of Qgis