Skip to content
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

z-order: showing and sorting #2180

Closed
yanmu2017 opened this issue Sep 15, 2020 · 6 comments · Fixed by #5145
Closed

z-order: showing and sorting #2180

yanmu2017 opened this issue Sep 15, 2020 · 6 comments · Fixed by #5145
Labels
enhancement New feature or request

Comments

@yanmu2017
Copy link

Thanks for the nice labeling tool. I have two questions while using z-order.
I use the default 'develop' branch downloaded on September 14, 2020.

(1) showing
I understand I can use '+' or '-' to increase or decrease the z-axis, respectively.
But after doing that, I cannot find any place in the CVAT interface showing the current z-axis of a polygon, except in the downloaded xml file. Maybe I am missing something?

(2) sorting
At the moment we can sort the labeled objects with ID and updated time. Can we also sort them with their z-axis numbers?

Screenshot from 2020-09-15 10-42-59

@bsekachev
Copy link
Member

Hi, @yanmu2017
Please, follow the issue template in the future.
Speaking about your questions. There is slider to switch current layer in UI (look at the screenshot below)
Screenshot from 2020-09-15 12-00-25
On a layer X you see all objects with layer <= X.

Sorting by a z order in side panel might be a feature request, but what is use case where you need it?

@yanmu2017
Copy link
Author

Thank you for the reply.

I look for a way to check if labelled objects have desired z order numbers. This is needed as I label an image at many layers.
I cannot find an easy way to do it in the CVAT interface and now I first download segmentation masks for checking.

Sorting by a z order will do exactly what I want here.
If the z-order number of each object can be shown on the list of objects, that would be a plus for me.

@bsekachev
Copy link
Member

I look for a way to check if labelled objects have desired z order numbers.

I am not sure that sorting by z order in side panel is a convenient way. You always need to look first at sidebar, second at canvas for each object. Layer slider I suppose is more convenient way here.

@noamholz
Copy link

noamholz commented Oct 3, 2020

Hi, like @yanmu2017 I'd prefer being able to sort objects within the side panel. In my case I'd like to make sure that certain labels are always behind some otherwise labelled objects. In that case, at least, I wouldn't need to search each object also in the canvas as @bsekachev pointed out.
Other intuitive ways to allow the user understand the z-axis hierarchy:
A - Show the z-axis value within each object pop up. That would also help in my case, though less than sorting in the side-panel.
B - Enable defining labels z-axis hierarchy at the task window where the labels are defined. (ofcourse with the freedom to determine some partial hierarchies like "sky" < "buildings" or whatever.

@bsekachev
Copy link
Member

I wouldn't need to search each object also in the canvas as @bsekachev pointed out.

You would need to search each object in side panel in this case (maybe it is convenient when there aren't too many objects and a couple of classes, but in typical segmentation datasets there can be tens and hundreds of objects per frame with tens classes). So, trying to sort out what objects behind or in front of another objects in common case is not trivial in such the case.

I understand you case, but at the same time we should find a solution that doesn't overcomplicates the UI (In my opinion sorting by z-order is a feature that doesn't bring any additional complex, but showing exact z order for each object does). Let's submit a feature request and find a solution. The feature is out of scope of our team, so I put it in backlog. Maybe someone from the community will work on it.

@bsekachev bsekachev added the enhancement New feature or request label Oct 5, 2020
@bsekachev bsekachev added this to the Backlog milestone Oct 5, 2020
@yanmu2017
Copy link
Author

In my opinion sorting by z-order is a feature that doesn't bring any additional complex, but showing exact z order for each object does

Maybe put showing exact z order optional? For example, we can add a box "Show z-order" here
Screenshot from 2020-10-12 11-34-36

My project has about 5 objects for each image. By showing z-order in the side panel I can easily check them without moving the Layer slider, which will save me half the time while checking.

@nmanovic nmanovic removed this from the Backlog milestone Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants