Rigid body transformation for big datasets

Rigid body transformation of a large volume of uint8
2.1K Downloads
Updated 6 Nov 2006

View License

Inputs are a volume that can be uint8 and the transformation parameters (rotations, translations, scaling). Output is the linearly interpolated volume using the transformations. The transformation matrix is also returned. Not very fast, but does not require the grid as in intern, and works with integer. It is meant to transform a large volume of integer values.

% Big_Transform: rigid body transformation of a big dataset
%
% [Vi,M] = Big_Transform(V,p)
%
% V: Volume to transform, can be integer uint8.
% p: [ti tj tk ai aj ak si sj sk];
% (translation, rotation, scaling)
% Vi: new interpolated volume using trilinear interpolation
% M: transformation matrix in homogeneous coordinates
% if only one output variable: returns the transformation matrix only

Cite As

Olivier Salvado (2024). Rigid body transformation for big datasets (https://www.mathworks.com/matlabcentral/fileexchange/12900-rigid-body-transformation-for-big-datasets), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0