InsightSoftwareConsortium / InsightSoftwareConsortium/ITK

Implement function to decompose affine transforms

Open
#3,801 2 comments 0 reactions 0 assignees View on GitHub
type:Enhancement
Dominant language
C++
Stars
1.7k
Forks
748
Avg merge
1d 1h
Merged PRs (30d)
64

Description

### Description

A generalized affine transform can be represented as a composition of a `projection*translation*rotation*shearing*scaling` matrices, there are many applications where a user might be interested in extracting a specific component for use.

A derivation of one possible implementation is available here
https://caff.de/posts/4X4-matrix-decomposition/decomposition.pdf

I am currently hacking together a version using SimpleITK/numpy, I am not familiar enough with the internals of ITK to directly implement this (yet...)

### Expected behavior

A function that operates on affine transforms and returns decomposed matrices.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.