I got this paper titled 'Deep Contrast Learning for Salient Object Detection' by Guanbin LI, Yizhou Yu a few day ago and I tried to implement the method using keras modul API (Im new to deep learning btw). I tried the first stream one that using CNN and I think I nailed it, but the second stream needed spatial pooling using superpixel segmentation image to implement. How can I convert the image to superpixel on preprocessing before I get this in to the model? Or is any other method I can use to answer my problem?
The first image above shows the two streams used for the method to work. The second image shows the Architecture for the CNN on the first stream.
Thanks.