Merge two adjacent BinaryRegions #1031
-
Beta Was this translation helpful? Give feedback.
Answered by
bruno-f-cruz
Sep 9, 2022
Replies: 1 comment 2 replies
-
Hey Tomas!
Hope it helps, |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
tomasmanu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Tomas!
MergeBinaryRegions
is used to merge two collections of ConnectedComponents, not to merge single binary regions. It takes a Tuple of twoConnectedComponentCollections
.AverageBinaryRegions
might work given what you are describing, but you should add it right after SortBinaryRegions. After you useConcat
you are effectively flattening the Collection into a sequence of its single elements.Hope it helps,
Bruno