Skip to content

Is this a seperate module? Or is this a sub-module of ITK? #49

@Jingnan-Jia

Description

@Jingnan-Jia

python -m pip install itk-thickness3d could install this module, right? However, the implementation is:

import itk

input_filename = sys.argv[1]
output_filename = sys.argv[2]

image = itk.imread(input_filename)
thickness_map = itk.MedialThicknessImageFilter3D.New(image)

itk.imwrite(thickness_map, output_filename)

The above script only import itk, instead of itk-thickness3d. So I have two questions:

  1. Can I use the function itk.MedialThicknessImageFilter3D if I only import itk?
  2. Why I installed itk-thickness3d but I do not need to use it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions