Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

bcpd

> 数据库
Open source

Domain Elastic Transform / Bayesian Coherent Point Drift

360 stars0 likes0 views
WebsiteGitHub

About

Domain Elastic Transform / Bayesian Coherent Point Drift

Bayesian Coherent Point Drift / Domain Elastic Transform

NEWS

  • Sep 2026 Our paper on Domain Elastic Transform (DET) was published in IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI).
  • Mar 22 2026 We uploaded our paper proposing Domain Elastic Transform to arXiv.
  • Mar 18 2025 We initiated distributing Domain Elastic Transform code initial commit.

This repository provides a software suite implementing Domain Elastic Transform (DET), Bayesian Coherent Point Drift (BCPD/GBCPD), and Dependent Landmark Drift (DLD). BCPD registers two point clouds and can be applied to shape analysis, 3D model reconstruction, and related problems. DET registers functions defined on irregular domains and can be applied to spatial transcriptomics data, digital images, and audio signals. DLD is a method for active shape model fitting. All methods can be accelerated using downsampling and displacement field interpolation, indicated by '++' after the method's name, as in BCPD++. Below is a demonstration of DET applied to a spatial transcriptomics dataset:

For more information, see Hirose2026 (DET; arXiv), Hirose2022 (GBCPD/GBCPD++), Hirose2020a (BCPD), Hirose2020b (BCPD++), and Hirose2017 (DLD). Also, several examples can be watched in [Video 1], [Video 2], [Video 3], [Video 4], and [Video 5]. If you have any questions, kindly email ohirose.univ+bcpd(at)gmail.com with your name and affiliation.

Table of Contents

  1. Algorithm Overviews
  2. Citation
  3. Performance
    • GBCPD vs CPD
    • BCPD vs CPD
    • BCPD vs BCPD++
  4. Demo
    • Dataset preparation
    • Demo script execution
  5. Compilation
    • Windows
    • MacOS and Linux
  6. Usage
    • Terms and symbols
    • Algorithms
    • Input data
    • Tuning parameters
    • Kernel functions
  7. Acceleration
    • Nystrom method
    • KD tree search
    • Downsampling
    • Interpolation
  8. Options
    • Convergence
    • Normalization
    • File output
    • Terminal output

Algorithm Overviews

Domain Elastic Transform (DET)

[Paper] [arXiv]

DET is a grid-free probabilistic framework for function registration that combines geometric and functional alignment. By treating data as functions on irregular domains, it registers high-dimensional signals directly without requiring voxelization or binning. DET formulates registration within a generalized Bayesian framework, modeling domain deformation as an elastic motion guided by a joint spatial-functional likelihood. The method is fully unsupervised and scalable through registration on sampled points followed by displacement interpolation. It is particularly suited to scientific data such as spatial transcriptomics, where high-dimensional vector-valued functions are observed on sparse, irregular domains.

Bayesian Coherent Point Drift (BCPD)

[Paper] BCPD represents a probabilistic generalization of the Coherent Point Drift algorithm, designed to align geometric structures by treating data as sparse point clouds. It utilizes a motion coherence prior to facilitate smooth, non-rigid domain deformation. BCPD also incorporates a robust acceleration scheme that scales the algorithm to handle millions of points efficiently on standard hardware.

Geodesic-Based Bayesian Coherent Point Drift (GBCPD)

[Paper] GBCPD enhances the standard BCPD framework by employing a surface coherence matrix that combines a Gaussian kernel with a geodesic exponential kernel. This specific formulation allows for more flexible domain deformations. Crucially, it helps topologically separate closely located boundaries, ensuring stable deformation even across complex topological cuts or distinct structural interfaces.

Dependent Landmark Drift (DLD)

[Paper] DLD is a robust point set registration algorithm designed specifically for active shape model fitting. Instead of relying on a standard motion coherence prior to guide alignment, DLD utilizes a statistical shape model to constrain its deformations. This allows the algorithm to reliably map a learned mean shape to a target point cloud, making it highly resilient to noise, artifacts, and structural variations by anchoring the transformation to prior shape knowledge.

Accelerated Variants (The "++" Framework)

[Paper] To handle massive datasets - scaling up to millions of points on standard hardware - all of the core algorithms can be run in a highly optimized accelerated mode, denoted by the "++" suffix (e.g., DET++, BCPD++, G-BCPD++, DLD++). This framework drastically reduces computational and memory bottlenecks by employing a combination of mathematical approximations and spatial search techniques:

  • Downsampling & Interpolation: To further improve scalability, the registration workflow is divided into a streamlined three-step process. First, the input functions or point clouds are downsampled to a smaller set of representative landmarks. Second, the core registration algorithm is applied to this reduced set. Finally, the resulting domain displacement vectors are interpolated back to the original, full-resolution data.

  • Low-Rank Approximation & Fast Search: The acceleration pipeline utilizes the Nystrom method for low-rank matrix approximation during the early optimization stages. As the alignment refines and the matching probability matrix becomes sparser, the system transitions to a k-d tree search to efficiently evaluate and prune low-probability point correspondences.

Citation

If you use this software in your research, please cite the paper corresponding to the algorithm you use.

Domain Elastic Transform (DET)

O. Hirose and E. Rodolà, "Domain Elastic Transform: Bayesian Function Registration for High-Dimensional Scientific Data," IEEE Transactions on Pattern Analysis and Machine Intelligence, 2026. [arXiv]

BibTeX

bibtex
@article{hirose2026det,
  author  = {Hirose, Osamu and Rodol{\`a}, Emanuele},
  title   = {Domain Elastic Transform: Bayesian Function Registration for High-Dimensional Scientific Data},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year    = {2026},
  doi     = {10.1109/TPAMI.2026.3733393}
}

Geodesic-Based Bayesian Coherent Point Drift (GBCPD)

O. Hirose, "Geodesic-Based Bayesian Coherent Point Drift," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 45, no. 5, pp. 5816-5832, 2023.

BibTeX

bibtex
@article{hirose2023gbcpd,
  author  = {Hirose, Osamu},
  title   = {Geodesic-Based Bayesian Coherent Point Drift},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  volume  = {45},
  number  = {5},
  pages   = {5816--5832},
  year    = {2023},
  doi     = {10.1109/TPAMI.2022.3214191}
}

BCPD++

O. Hirose, "Acceleration of Non-Rigid Point Set Registration With Downsampling and Gaussian Process Regression," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 43, no. 8, pp. 2858-2865, 2021.

BibTeX

bibtex
@article{hirose2021bcpdpp,
  author  = {Hirose, Osamu},
  title   = {Acceleration of Non-Rigid Point Set Registration With Downsampling and Gaussian Process Regression},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  volume  = {43},
  number  = {8},
  pages   = {2858--2865},
  year    = {2021},
  doi     = {10.1109/TPAMI.2020.3043769}
}

Bayesian Coherent Point Drift (BCPD)

O. Hirose, "A Bayesian Formulation of Coherent Point Drift," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 43, no. 7, pp. 2269-2286, 2021.

BibTeX

bibtex
@article{hirose2021bcpd,
  author  = {Hirose, Osamu},
  title   = {A Bayesian Formulation of Coherent Point Drift},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  volume  = {43},
  number  = {7},
  pages   = {2269--2286},
  year    = {2021},
  doi     = {10.1109/TPAMI.2020.2971687}
}

Notes

  • The article's supplementary document contains proofs of propositions.
  • Fig. 15 in the print version was accidentally replaced by Fig. 3 during the publication process after the review process. See an erratum correcting the error.
  • In Fig. 2, following Proposition 3, please replace with as follows:

Performance

GBCPD vs CPD

GBCPD works better than CPD and BCPD if it registers the shapes whose different parts neighboring each other:

BCPD vs CPD

BCPD is faster than coherent point drift (CPD) and is often more accurate. The following figure shows a comparison using Armadillo data included in demo data (vs Dr. Myronenko's implementation on Macbook Pro Early 2013):

BCPD vs BCPD++

BCPD++ is much faster than BCPD but is slightly less accurate (Mac Mini 2018).

Demo

The software provides the following demonstrations:

  • Function registration: image/shape/audio registration (DET)
  • Point set registration (BCPD/BCPD++)
  • 3D model reconstruction from point clouds (BCPD/BCPD++)
  • Shape transfer (BCPD/BCPD++)
  • Surface registration (GBCPD/GBCPD++)
  • Active shape model fitting (DLD)

Dataset Preparation

Download the following datasets and move them into the data folder in this software:

  • 3D reconstruction data.
  • DET data.
  • DLD data.
  • GBCPD data.
  • BCPD++ data.
  • BCPD data

Demo Script Execution:

All demo scripts except for the shape transfer can be executed as follows:

  1. Start MATLAB and move into a foloder including demo scripts, e.g., demo/bcpd-3drecov.
  2. Double-click a demo script, e.g., demoRecovChef.m.
  3. Press the run button in the code editor of MATLAB.

The demo scripts of the shape transfer can be ex

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cbayesian-inferencecoherent-point-driftdownsamplingfunction-registration

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库