Is it possible to modify morphology?

Hi anyone, I would like to add additional structural element of morphology, is it possible?

Hi @tzehuey85,

Of course you can.

Please take a look in the morphology applications, say BinaryMorphologicalOperation to see how it is done in OTB.
Structuring elements currently used come from the itk::FlatStructuringElement class (see doc here). Note that we only use a few in OTB!

Do not hesitate to contribute if you are happy with your implementation!

Cheers

Hi @remi.cresson

Thank you.