Hello @blowekamp, @zivy
Could you help me with the issue posted above? I was reading this comment from @blowekamp and I created this json:
{
"name": "BinaryMask3DMeshSource",
"template_code_filename" : "ImageFilter",
"template_test_filename" : "ImageFilter",
"number_of_inputs" : 0,
"doc" : "Some global documentation",
"pixel_types" : "BasicPixelIDTypeList",
"output_pixel_type": "double"
"filter_type" : "itk::itk::BinaryMask3DMeshSource<InputImageType, itk::Mesh< double, TImageType::ImageDimension>>",
"members" : [
{
"name" : "ObjectValue",
"type" : "double",
"default" : 1,
"doc" : "Value to assign to object pixels",
"custom_itk_cast" : "filter->SetObjectValue(static_cast<typename FilterType::PixelType>(this->GetObjectValue()) );"
}
],
"tests" : [],
"briefdescription" : "Construct a 3D mesh surface based on a binary mask",
"detaileddescription" : "This class tries to construct a 3D mesh surface based on a binary mask. It can be used to integrate a region-based segmentation method and a deformable model into one hybrid framework. To construct a mesh, we need to construct elements in a voxel and combine those elements later to form the final mesh. Before go through every voxel in the 3D volume, we first construct 2 look up tables. The index of these 2 tables are the on-off combination of the 8 nodes that form the voxel. So both of these tables has the size of $2^8$ bytes. According to previous work, all those $2^8$ combination of the nodes can be grouped into 16 final combinations. In the first table, we record the final combination that can be transformed from the current combination. The entries of the second table are made up of the transforming sequence that is necessary for the current combination transform to one of the final combinations., We then go through the 3D volume voxel by voxel, using those two tables we have defined to construct elements within each voxel. We then merge all these mesh elements into one 3D mesh.",
"itk_module" : "ITKMesh",
"itk_group" : "Core"
}
and rebuild SITK, but the filter isn’t in java wrap.
Please, could you address me about the steps?
Thanks!
Gustavo