-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add ability to generate superpixels and label each superpixel #772
Comments
@rsnk96 , did you try to annotate data using the approach? What is the annotation speed in the case? I like new features but I need some information how to prioritize them. Does the approach give better quality or better speed than traditional methods? |
This is a feature that is available in LabelBox, sample usage: I believe this would give better speed in the following cases:
|
How do you can port this to opencvjs because opencvjs don't support this method createSuperpixelLSC() |
I'm not quite sure I followed you @jrreyes29. Where is that method being called? |
Hi @rsnk96 the method in opencv is this one https://docs.opencv.org/4.1.2/df/d6c/group__ximgproc__superpixel.html#gga0024d8bac96a9f0d49bd97665d76ae08a9b397d2eb2d75580b3a481bf8e0edef1 |
Ah, didn't know that it comes as a part of I guess that leaves us with no option but to implement the superpixel method in JS from scratch... |
but implement that in js from scratch take long time hahahaha that is the idea about opencvjs |
superpixel annotation would be awesome! |
Here is an implementation in javascript for Superpixels using SLIC. It has a nice demo that you can try online. @nmanovic Is the demo good enough to compare? Also, the COCO-Stuff dataset used superpixels (shown in the paper) in their annotation tool. |
@nmanovic How would one go about implementing a new tool / feature like this? I have created it in Python, I'm just struggling to re-implement it in javascript. |
It would be nice to have a feature to generate superpixels, and label superpixels in one mouse-click (sort of like a brush, but it labels the superpixel if the mouse has hovered over with the Mouse Button pressed down). An easy idea for this is to run K-means in RGB+(x,y) space, like the SLIC/SLIC-zero algorithm does
A sample implementation of SLIC in C++ is available here, this can be ported to OpenCV.js
The text was updated successfully, but these errors were encountered: