-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can l get the features vector associated to each superpixel ? #2
Comments
Our network first learns deep pixel features which are then used for computing distance between pixels and superpixels. We do iterative clustering using deep features. After each iteration of differentiable SLIC, we obtain superpixel centroid features. You can use the following function to convert deep pixel features into superpixel features:
Does this answer your question? |
Hi @varunjampani , Thank you for your answer. Yes this is what l need. Can l also get the coordinates of each superpixel (gravity center) and the coordinates (index(x,y)) of each pixel ? Thank you |
You can compute 'XYRGB' pixel features using the following layer:
And, then pass these pixels features onto 'SpixelFeature2' layer to compute XYRGB gravity center for superpixels:
And, you can convert pixel-superpixel associations into 'superpixel index' using the following function in 'create_net.py':
|
Hello,
Thank you a lot for your work.
I'm wondering your network learns also features vector of each superpixel or it just learn the superpixels.
If yes, how can l get them otherwise you keep just the raw pixels of each superpixels.
Thank you
The text was updated successfully, but these errors were encountered: