-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Static assertion raised in SegmentFactory when using SaturatedSegmentation #1483
Comments
Hi Jocelyn and sorry for the delay 😉 From what I understand from these classes, While waiting for a fix, I suggest you to use the corresponding alias, that is the same line as in the original example: typedef ArithmeticalDSSComputer<Iterator,Coordinate,4> RecognitionAlgorithm; or if you prefer, to get the real type using the typedef typename StandardDSS4Computer<Iterator>::Self RecognitionAlgorithm; |
No worries for the delay! Thank you for your answer, I already used your first proposition to solve the issue but a real fix would be better 😉 |
Ongoing fix : #1491 |
Should be fixed, I close the issue! |
Thanks! |
Hi all,
I tried to use the
SaturatedSegmentation
class with aStandardDSS4Computer
namely the following typedefs (for instance in lines 173-174 the convex-and-concave-parts example):and it raised a static assertion in
SegmentFactory
:Using an
ArithmeticalDSSComputer<Iterator,Coordinate,4>
for theRecognitionAlgorithm
does not raise this error.As far as I understand
SaturatedSegmentation
should work with any kind ofSegmentComputer
such asStandardDSS4Computer
or am I wrong?Thank you in advance.
The text was updated successfully, but these errors were encountered: