The official implementation of “High quality superpixel generation through regional decomposition”.
Paper link: https://ieeexplore.ieee.org/document/9927181
The main requirements are opencv (4.7.0) and Microsoft Visual Studio 2022.
- Download the datasets (Paper_dataset.zip) from this google drive link.
- git clone https://github.com/YunyangXu/HQSGRD.
- Install Microsoft Visual Studio 2022 and opencv (4.7.0).
- Open the project file "HQSGRD. sln".
- Unzip the downloaded folder Paper_daset.zip. This folder contains the three data sets used in the paper (BSD, FashImages and PASCAL-S). Each folder contains the original image and the results of its RCF method.
- Set the path of Input_folder and Output_folder in main.cpp.
- When Save_Image == 1, the visual result of the superpixel is saved. When Save_Label_file == 1, save the split mark file of the super pixel.
- The RCF method is used to obtain the edge detection results of the input image and perform non-maximum suppression. RCF_code
- Put the result of non-maximum suppression and the original image into Input_folder.
- Run the algorithm.
@ARTICLE{xu2022high, author={Xu, Yunyang and Gao, Xifeng and Zhang, Caiming and Tan, Jianchao and Li, Xuemei}, journal={IEEE Transactions on Circuits and Systems for Video Technology}, title={High Quality Superpixel Generation Through Regional Decomposition}, year={2023}, volume={33}, number={4}, pages={1802-1815}, doi={10.1109/TCSVT.2022.3216303}}