[ITK-users] How to generate asymmetric line structuring element?
zagwin
zagwin at gmail.com
Wed Jul 8 19:24:33 EDT 2015
Dear All,
I want to generate asymmetric line structuring elements for Dilate and Erode
operations.
An example is (1 1 1 0 0)^T
I did it as
typedef itk::FlatStructuringElement <2>
FlatStructureType;
FlatStructureType element2;
FlatStructureType::RadiusType rad;
rad[0] = 0;
rad[1] = 2;
element2 = FlatStructureType::Box(rad);
Now I get a (1 1 1 1 1)^T, is it possible to set the last two item to false?
Or is there other method to generate what I want? thanks very much
Best
Weldon
--
View this message in context: http://itk-users.7.n7.nabble.com/How-to-generate-asymmetric-line-structuring-element-tp35881.html
Sent from the ITK - Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list