DynaSlum / SatelliteImaging

The software for WP1: SatelliteImaging
Apache License 2.0
3 stars 1 forks source link

Training and validation of an image classifier pipeline #37

Closed elboyran closed 7 years ago

elboyran commented 7 years ago

Follow example Image Category Classifier but also use own scripts. Use some default choices like SURF like 80% of the strongest features. multi-class SVM, but also own parameters:

Apply on data-set 6, 100px = 80m.

elboyran commented 7 years ago

To balance the categories use:

minSetCount = min(tbl{:,2}); % determine the smallest amount of images in a category

% Use splitEachLabel method to trim the set. imds = splitEachLabel(imds, minSetCount, 'randomize');

% Notice that each set now has exactly the same number of images. countEachLabel(imds)

elboyran commented 7 years ago

Conclusions:

  1. BoVW training with different vocabulary sizes doesn't affect the number of features (?), but only the number of iterations. The number of features when using Detector locations are 104016 and using Grid is 4867200.

  2. Training the classier (muli-class linear SVM) with the SURF features from the previous step

  3. Evaluation of the classifier's performance. The used measures are:

Main conclusions:

==>> From the tested the best is BoVW = 50 and 'Detector'

For full deatils see C:\Projects\DynaSlum\Results\Classification3Classes\PerformanceComparision\html_classifier