-
Download dataset from here(109 MB)
-
Directory structure:
-
src/main.py:Calculates the final saliency. Its major components are:apply_slicorapply_gmmapply_uniquenessapply_distributionapply_saliency
-
src/slic_segmentation.py:Apply SLIC superpixels based on LAB color space and Euclidean distance using K-means clustering. -
src/gmm_segmentation.py:Fit GMM onto image pixels based on RGB, RGBXY and LABXY space. And divide pixels inton_componentsclusters to form Superpixels.
-
-
Usage:
python src/main.py <path_to_image>python src/gmm_segmentation.py <path_to_image>- Superpixels count can be varied by changing
n_componentsin the code.
-
Resources:
-
Notifications
You must be signed in to change notification settings - Fork 1
harshitsankhla/saliencyFiltering
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Implementation of Contrast Based Saliency Filtering
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published