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

Capability of specifying background label for LabelToClusterPointIndices #2134

Merged

Conversation

wkentaro
Copy link
Member

@wkentaro wkentaro commented Jun 26, 2017

Why?

We'd like to fill index of cluster indices with bg_label to keep index == label_value.

@wkentaro wkentaro requested a review from knorth55 June 26, 2017 19:40
@wkentaro
Copy link
Member Author

wkentaro commented Jun 26, 2017

@knorth55 With this PR and #2133, we can get below pipeline

A = Point cloud
B = Image
C = Tote box
D = Object label
E = Object cluster point indices
F = Point cloud in tote
G = Labeled object bounding boxes
H = Object mask being picked

A, B = RGBDCamera()
D = FCN(B)
E = LabelToClusterPointIndices(D, bg_label=-1)
F = AttentionClipper(F, C)
G = ClusterPointIndicesDecomposer(F, E, sort_by=cloud_size)

# inside of main.l
for g in G:
  if g.label not in [shelf_label, bg_label]:
    break

H = LabelToMaskImage(D, label_value=g.label)  # g.label is set with dynparam by main.l

@wkentaro wkentaro force-pushed the label_to_cluster_indices_bg_label branch from 4f0d095 to 3a823cc Compare June 26, 2017 20:02
@k-okada k-okada merged commit 027449c into jsk-ros-pkg:master Jun 28, 2017
@wkentaro wkentaro deleted the label_to_cluster_indices_bg_label branch June 28, 2017 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants