Pipeline:
-
- Prepare folders (original image, ground truth, label map, etc.) Make sure they have same amount of files.
-
- Go to SLIC_new_cityscapes_training_server_parallel_spark.py to run modified SLIC algorithm to run superpixels.
-
- Go to SLIC_merge_superpixels_parallel.py to merge the superpixels obtained from 1, using connected components.
-
- (Optional, for random forest of xgboost): Go to feature_extraction to extract features from the merged superpixels.
-
- Run classifier at your choice.