Home | Miscellaneous | Tools & Utilities | Transform a 3d volume by using an affine transformation matrix 1.0
Menu
 

Transform a 3d volume by using an affine transformation matrix 1.0

 
FREE DOWNLOAD
Download Transform a 3d volume by using an affine transformation matrix 1.0
DEVELOPER HOME
Transform a 3d volume by using an affine transformation matrix 1.0


This function transforms volume 'old_im' by means of affine transformation matrix 'M'. The output volume can be sub- and oversampled. The function makes use of interp3, so 'nearest', 'linear', 'spline', 'cubic' and fast ( * ) interpolation is possible.% Usage example - simple translationload mri.matD = squeeze(D(:,:,1,:));% Create affine transformation matrix, simply shift (x,y) = (50,25)M = [1 0 0 50; 0 1 0 25; 0 0 1 0; 0 0 0 1];% Invert M, since the interpolation is backward. Meanwhile subsample the output volume x-direction by a factor of two.D_new = affine3d(D,inv(M),1:2:128,1:128,1:27);figuresubplot(1,2,1)imagesc(D(:,:,10))title('Original volume')subplot(1,2,2)imagesc(D_new(:,:,10))title('Shifted volume')

Tags: Backward, Subsample, Xdirection, Invert, Squeezed, Create, Simply, Shift

Platforms: BSD , Mac OS X , Solaris , linux

 
Added: 26 March, 2013 06:13 File size: 10.0 KB
Status: new Download times: 512 kb/s: < 1 sec
Program type: shareware   1 Mb/s: < 1sec
      2 Mb/s: < 1 sec
All Software Of This Developer Software Home Page Send Feedback / Report Broken Link
 
del.icio.us digg submit to reddit MyWeb BlogMarks
  
URL:  HTML:  
FREE DOWNLOAD
Download Transform a 3d volume by using an affine transformation matrix 1.0
DEVELOPER HOME
Transform a 3d volume by using an affine transformation matrix 1.0

Tags: Backward, Subsample, Xdirection, Invert, Squeezed, Create, Simply, Shift

More Scripts from Martijn Steenwijk:


 
More Similar Scripts
 

IMAGEROTATION able to rotate an image. You can an image by any angle in degree.This is a simple implementation of matlab IMROTATE and using affine transformation matrix.Nothing new about this code.

Aligns the finger to the centre of the image using an affine transformation.Simple finger normalisation, it aligns the finger to the centre of the image using an affine transformation. Elliptic projection which is described in the referenced paper...

This matlab scprit calculates fractal dimension and intercept of a 3D volume along each redial line using Fourier analytical technique. Directionally averaged fractal dimension, intercept and Hedgehog plots of fractal dimension and intercept of...

MAKEFSLXFMMATRIX Make FSL-compatible transformation matrix. M = MAKEFSLXFMMATRIX(T,R,S,FILENAME) outputs a 4x4 transformation matrix performing the translations in T, the rotations in R and the scalings in S and writes this matrix to the file...

The function calculates the Global to Local coordinate transformation matrix for a beam in space. [x0,y0,z0] and [x1,y1,z1] are the coordinates of the beam ends. alpha is the twist over the axis perpendicular to the beam cross sectional area,...

The function calculates the Global to Local coordinate transformation matrix for a beam in space. [x0,y0,z0] and [x1,y1,z1] are the coordinates of the beam ends. alpha is the twist over the axis perpendicular to the beam cross sectional area,...

The function calculates the Global to Local coordinate transformation matrix for a beam in space. [x0,y0,z0] and [x1,y1,z1] are the coordinates of the beam ends. alpha is the twist over the axis perpendicular to the beam cross sectional area,...

FREE DOWNLOAD
Download Transform a 3d volume by using an affine transformation matrix 1.0
DEVELOPER HOME
Transform a 3d volume by using an affine transformation matrix 1.0
 
Similar Software
 

Open-source Java libraries, supporting generalized smart arrays and matrices with elements of any types (1 bit, 8/16/32/64-bit integers, 32/64-bit floating point values and any other Java types). The libraries contain a wide set of 2D-, 3D- and...

Datums<br /><br />Coordinate transformation? to GGRS87<br /><br />Datums allows you to..<br /><br />1. Automatically transform your position to GGRS87<br />2. Automatically transform ellipsoidal heights to...

Lion Transformation Pack (LTP) will transform your Windows 7/Vista/XP user interface to look like Mac OS X Lion. Features: -Seamless installation and uninstallation giving users safe transformation -Easily configurable in single click with...

Another Matrix Screen Saver uses glyphs which include reversed letters, numbers, and Japanese katakana characters. The Matrix code flows down the screen leaving the greenish trace. You have the ability to change the speed of the Matrix code and...

This program will transform your Windows user interface to ultimate Windows Vista alike looks that everyone will never notice it's the same old Windows XP (or 2003) Features Vista Transformation Pack will replace many of the resources in Windows...

FREE DOWNLOAD
Download Transform a 3d volume by using an affine transformation matrix 1.0
DEVELOPER HOME
Transform a 3d volume by using an affine transformation matrix 1.0
Scripts Categories
Related Scripts

Image Rotation 1.0
1 downloads IMAGEROTATION able to rotate an image.

 

Simple finger normalisation 1.0
1 downloads Aligns the finger to the centre of the image using an affine transformation.

 

Calculation of fractal dimension of a 3D volume using fft 1.0
1 downloads This matlab scprit calculates fractal dimension and intercept of a 3D volume along each redial line using Fourier analytical technique.

 

Make FSL-compatible Transformation Matrix 1.0
1 downloads MAKEFSLXFMMATRIX Make FSL-compatible transformation matrix.

 

Global to Local Coordinate Transformation Matrix 1.0
1 downloads The function calculates the Global to Local coordinate transformation matrix for a beam in space.

 

Orthogonal Linear Regression in 3D-space by using Principal Components Analysis 1.0
1 downloads Orthogonal Linear Regression in 3D-space by using Principal Components AnalysisThis is a wrapper function to some pieces of the code from the Statistics Toolbox demo titled "Fitting an Orthogonal Regression Using Principal Components ...

 

Faster 3D Walsh - Hadamard Transform (sequency, natural) 1.0
1 downloads Copy&Paste from the file:%WAT3D 3D Walsh or Hadamard Transform% WAT3D(X, order) will transform the 3D matrix X to the Walsh or Hadmard% domain depending on the parameter 'order'.

 

Muscle fascicle tracking - Ultrasound 1.0
1 downloads This Matlab GUI demonstrates how muscle fascicles from the medial gastrocnemius (MG) muscle in humans that are imaged using B-mode ultrasound can be automatically tracked using optical flow algorithms utilising an affine transformation to track ...

 

EC1302 DSP Lab 1.0
1 downloads The zipped file contains 18 m files implementing all experiments in the course EC1302 DSP Lab under Anna University Chennai, India syllabus: butterworth lowpass filter design using bilinear transformation & impulse invariant methods given ...

 

3D Slice Viewer 1.0
1 downloads Simple interactive viewer of 3 orthogonal slices of 3D volume and of sequence of volumes.

 
Popular Scripts