Skip to content

Latest commit

 

History

History
82 lines (54 loc) · 1.89 KB

public_core_api.md

File metadata and controls

82 lines (54 loc) · 1.89 KB

Public Core API

This document records the recommended public surface of MorphoTreeAdjust after the repository reorganization.

For general documentation navigation, first see:

Official Scope

Today, the official API of the main repository is the core line, namely:

  • per-pixel dynamic trees;
  • per-pixel dual min/max tree incremental filtering;
  • CASF over that main line;
  • Python bindings for the same layer.

Modules outside the standard public surface:

  • none

C++ Entry Point

Recommended header:

#include <MorphoTreeAdjust/MorphoTreeAdjust.hpp>

When used directly from a local checkout, the equivalent include is:

#include "MorphoTreeAdjust.hpp"

Main types in the C++ surface:

  • AdjacencyRelation
  • DynamicComponentTree
  • DualMinMaxTreeIncrementalFilter
  • DualMinMaxTreeIncrementalFilterLeaf
  • ComponentTreeCasf
  • DynamicAreaComputer
  • DynamicBoundingBoxComputer

Official example:

Python Entry Point

Recommended entry point:

import morphoTreeAdjust as mta

Main types in the Python surface:

  • AdjacencyRelation
  • DynamicComponentTree
  • DualMinMaxTreeIncrementalFilter
  • ComponentTreeCasf

Official example:

Official notebooks:

Usage Rules

  • prefer MorphoTreeAdjust.hpp in new C++ code;
  • when documenting the main repository, point first to the core API;
  • treat sdist, wheel, and cmake --install as distributions of the same core surface;
  • use the examples above whenever you need a small and stable starting point.