Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 566 Bytes

readme.md

File metadata and controls

30 lines (18 loc) · 566 Bytes

Connected-Component

This repository contains the following functions for connected component analysis of 2D/3D segmentation data:

  1. keep_largest_connected_component

  2. count_connected_component

  3. label_connected_component

Installation instructions

  1. Clone/download repository.

  2. Change directory into repository.

  3. Install:

    pip install .
    

How to use it

  • Function imports.

  • Command line:

     connected_component --input_dir .\sample_data\0_sample_seg --output_dir .\sample_data\1_output --count_cc --keep_largest_cc