Skip to content

Merge two adjacent BinaryRegions #1031

Answered by bruno-f-cruz
tomasmanu asked this question in Q&A
Discussion options

You must be logged in to vote

Hey Tomas!

MergeBinaryRegions is used to merge two collections of ConnectedComponents, not to merge single binary regions. It takes a Tuple of two ConnectedComponentCollections .

AverageBinaryRegions might work given what you are describing, but you should add it right after SortBinaryRegions. After you use Concat you are effectively flattening the Collection into a sequence of its single elements.

Hope it helps,
Bruno

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tomasmanu
Comment options

@bruno-f-cruz
Comment options

Answer selected by tomasmanu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants