Closed zicair closed 5 years ago
Can you explain more clearly? What do you mean 'result'? Do you mean that 'visualization'?
I am sorry,I don't know much about superpixels. All I know about superpixels is that you get the effect where the value of each superpixel block is the average of the pixels in that area. For example,left image is raw image and right one is the visualization result.
The screenshot above was taken from https://github.com/PSMM/SLIC-Superpixels
Superpixels give 'segments/clusters' (over-segmentation) of pixels an image. 'new_spix_indices' give unique number to pixels belonging to a superpixel cluster. Using those new_spix_indices, one could average the pixel values in each superpixel cluster to generate an average image.
This could be useful to learn about superpixel visualization: https://www.pyimagesearch.com/2017/06/26/labeling-superpixel-colorfulness-opencv-python/
I get it, thx!
Thank you for the release of project.
But I have a question, using pre-trained model to run directly, the result contains 'new_spix_indices' and '_bdry.jpg' in the code. How can I get results like this:
Looking forward to your reply, thank you!