AFNI User Group Meeting Anisotropic Smoothing Daniel Glen Robert Cox SSCC / NIMH / NIH / DHHS.

Slides:



Advertisements
Similar presentations
Scale & Affine Invariant Interest Point Detectors Mikolajczyk & Schmid presented by Dustin Lennon.
Advertisements

Medical Image Registration Kumar Rajamani. Registration Spatial transform that maps points from one image to corresponding points in another image.
R. DOSIL, X. M. PARDO, A. MOSQUERA, D. CABELLO Grupo de Visión Artificial Departamento de Electrónica e Computación Universidade de Santiago de Compostela.
Topic 6 - Image Filtering - I DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Implementation of PROPELLER MRI method for Diffusion Tensor Reconstruction A. Cheryauka 1, J. Lee 1, A. Samsonov 2, M. Defrise 3, and G. Gullberg 4 1 –
Digital Image Processing
Results The algorithm is validated using artificial images of fibres. Statistical analysis showed no significant difference between the ground truth and.
ECE 562 Computer Architecture and Design Project: Improving Feature Extraction Using SIFT on GPU Rodrigo Savage, Wo-Tak Wu.
New Progresses of DTI-Map, a Program for DTI Computation and Fiber Tracking Hangyi Jiang, Peter van Zijl, Susumu Mori Dept. of Radiology Johns Hopkins.
Computer Vision - A Modern Approach
Diffusion Filters S. Derin Babacan Department of Electrical and Computer Engineering Northwestern University March 7, 2006 ECE 463 Term Project.
Edge Detection Phil Mlsna, Ph.D. Dept. of Electrical Engineering
Feature extraction: Corners and blobs
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Linear filters and edges. Linear Filters General process: Form new image whose pixels are a weighted sum of original pixel values, using the same set.
CS443: Digital Imaging and Multimedia Filters Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring 2008 Ahmed Elgammal Dept.
Scale Invariant Feature Transform (SIFT)
2-D, 2nd Order Derivatives for Image Enhancement
Lecture 2: Image filtering
CS4670: Computer Vision Kavita Bala Lecture 7: Harris Corner Detection.
Computer Vision P. Schrater Spring 2003
Rician Noise Removal in Diffusion Tensor MRI
Filtering Course web page: vision.cis.udel.edu/cv March 5, 2003  Lecture 9.
Edge Detection Hao Huy Tran Computer Graphics and Image Processing CIS 581 – Fall 2002 Professor: Dr. Longin Jan Latecki.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30 – 11:50am.
Linear Filters and Edges
Wavelets and Denoising Jun Ge and Gagan Mirchandani Electrical and Computer Engineering Department The University of Vermont October 10, 2003 Research.
Overview Harris interest points Comparing interest points (SSD, ZNCC, SIFT) Scale & affine invariant interest points Evaluation and comparison of different.
Under Supervision of Dr. Kamel A. Arram Eng. Lamiaa Said Wed
Ramifications of Isotropic Sampling and Acquisition Orientation on DTI Analyses David H. Laidlaw 1, Song Zhang 1, Mark Bastin 2,3, Stephen Correia 4, Stephen.
HCI/ComS 575X: Computational Perception Instructor: Alexander Stoytchev
A 3D Vector-Additive Iterative Solver for the Anisotropic Inhomogeneous Poisson Equation in the Forward EEG problem V. Volkov 1, A. Zherdetsky 1, S. Turovets.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
EECS 274 Computer Vision Linear Filters and Edges.
Chapter 10, Part I.  Segmentation subdivides an image into its constituent regions or objects.  Image segmentation methods are generally based on two.
Non-Euclidean Example: The Unit Sphere. Differential Geometry Formal mathematical theory Work with small ‘patches’ –the ‘patches’ look Euclidean Do calculus.
Conclusions The success rate of proposed method is higher than that of traditional MI MI based on GVFI is robust to noise GVFI based on f1 performs better.
By: Abeer Mohtaseb Najla Bazaya Oraib Horini Supervised by: Dr.Musa Alrefaya.
CS 556 – Computer Vision Image Basics & Review. What is an Image? Image: a representation, resemblance, or likeness An image is a signal: a function carrying.
Spatial Filtering (Applying filters directly on Image) By Engr. Muhammad Saqib.
Efficient, Robust, Nonlinear, and Guaranteed Positive Definite Diffusion Tensor Estimation Robert W Cox & D aniel R Glen SSCC / NIMH / NIH / DHHS / USA.
Edges.
BMI2 SS08 – Class 7 “functional MRI” Slide 1 Biomedical Imaging 2 Class 7 – Functional Magnetic Resonance Imaging (fMRI) Diffusion-Weighted Imaging (DWI)
A Tutorial on using SIFT Presented by Jimmy Huff (Slightly modified by Josiah Yoder for Winter )
A tutorial on using mirror to calibrate non-overlapping view cameras
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Instructor: Mircea Nicolescu Lecture 7
Digital Image Processing Week V Thurdsak LEAUHATONG.
Sliding Window Filters Longin Jan Latecki October 9, 2002.
Introduction to Medical Imaging Week 6: Introduction to Medical Imaging Week 6: Denoising (part II) – Variational Methods and Evolutions Guy Gilboa Course.
Higher Degree Total Variation for 3-D Image Recovery Greg Ongie*, Yue Hu, Mathews Jacob Computational Biomedical Imaging Group (CBIG) University of Iowa.
L ECTURE 3 PDE Methods for Image Restoration. O VERVIEW Generic 2 nd order nonlinear evolution PDE Classification: Forward parabolic (smoothing): heat.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Digital Image Processing
PDE Methods for Image Restoration
Digital Image Processing CSC331
Lecture 11: Multiscale Bio-Modeling and Visualization Organ Models I: Synapses and Transport Mechanisms Chandrajit Bajaj
ECE 692 – Advanced Topics in Computer Vision
Dominik Meier, Ron Kikinis Sept. 2010
Math 3360: Mathematical Imaging
Human Brain Mapping Conference 2003 # 653
Generic image diffusion system
CAP 5415 Computer Vision Fall 2012 Dr. Mubarak Shah Lecture-5
Math 3360: Mathematical Imaging
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Heat Diffusion Homogeneous Isotropic Diffusion
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Recursive Implementation of Anisotropic Filtering
Presentation transcript:

AFNI User Group Meeting Anisotropic Smoothing Daniel Glen Robert Cox SSCC / NIMH / NIH / DHHS

Anisotropic Smoothing Image filtering operation that preferentially smoothes one part of an image versus another. This operation is in contrast to the more standard mean, median and Gaussian smoothing operations. Method based on Ding (Weickert, et al and Gerig, et al). Diffusion-based filtering.

Anisotropic Smoothing Pseudo-code for DWI data (SmoothDWI) (2D only) U 0 is original image data For i=0 to 10 Compute Image diffusion tensor (D) –Smooth U i a little with Gaussian (sigma=0.5) –Compute gradients, matrix of products of gradients R=[ (du/dx) 2 (du/dx)(du/dy); (du/dx)(du/dy) (du/dy) 2 ] –Smooth each component of R (sigma=1) –Compute eigenvalues  1  2 ) vectors for R –Compute   = 1  /(  1 *s)    = 1 / (  2 *s) where s= 1/  1 + 1/  2 (Ding method) – or  1 = exp [-0.01/(  1 -        = 0.01 (exp method) Compute D = V  V T where  = [   0; 0   ] Smooth image dataset (DWI data) given D –Compute flux in image J x, J y Jx = Exx du/dx + Exy du/dy Jy = Exy du/dx + Eyy du/dy where E = [Dxx-Dm Dxy; Dxy Dyy-Dm] and Dm = mean diffusivity –G pqn = dJ x /dx + dJ y /dy = anisotropic part of the smoothing –U p,q,n+1 = U p,q,n +  t (F pqn + G pqn ) –where F = Dm /  x 2 * U smooth = isotropic smoothing and  t = Dmax/4 End loop

3danisosmooth Usage: 3danisosmooth [options] dataset Smooth a DWI dataset using anisotropic smoothing. The output dataset is preferentially smoothed in similar areas may use a sub-brick selection list, as in program 3dcalc. Options : -prefix pname = Use 'pname' for output dataset prefix name. -iters nnn = compute nnn iterations (default=10) -2D = smooth a slice at a time -3D = smooth through slices. Can not be combined with 2D option -mask dset = use dset as mask to include/exclude voxels -automask = automatically compute mask for dataset Can not be combined with -mask -viewer = show central axial slice image every iteration. Starts aiv program internally. -nosmooth = do not do intermediate smoothing of gradients -sigma1 n.nnn = assign Gaussian smoothing sigma before gradient computation for calculation of structure tensor. Default = 0.5 -sigma2 n.nnn = assign Gaussian smoothing sigma after gradient matrix computation for calculation of structure tensor. Default = 1.0 -deltat n.nnn = assign pseudotime step. Default = savetempdata = save temporary datasets each iteration. Dataset prefixes are Gradient, Eigens, phi and Dtensor. Each is overwritten each iteration. -phiding = use Ding method for computing phi (default) -phiexp = use exponential method for computing phi -help = print this help screen

Gradient Filter Kernels du/dx du/dy where a=3/16, b= 10/16 -a0a -b0b -a0a -b-a 000 aba aba bcb aba where a = 0.02, b = 0.06, c = D kernels at p-1, p+1 2D kernels

Isotropic smoothing kernel cbc bab cbc a = 1/6, b=2/3, c = -10/3 bab ada bab aba bcb aba at slice pat slice p-1, p+1 2D 3D a = 0.4, b = 2.0/15.0, c = 1.0/60.0, d = (-6.0 * a) - (12.0 * b) - (8.0 * c) =-4.13

DWI Images 25 iterations

DWI Images

DWI/DT Images

DWI Intermediate Images Gradient Dxx 2, Dxy, Dyy 2

DWI Intermediate Images Eigenvalues, vectors

DWI Intermediate Images Phi Values

DWI Intermediate Images D Tensor: Dxx, Dxy, Dyy

DWI Intermediate Images Flux in x and y G matrix - anisotropic part

Cosine Circles After 25 iterations

Cosine Circles 25 iterationsGradient Dxx 2, Dxy, Dyy 2 Eigenvalues, vectors phi valuesD tensor Dxx, Dxy, Dyy

Phi value calculation Ding Exponential c 2 = 0.01

Issues Performance and Memory –3:30 for 10 iterations, 21 seconds per iteration with DWI 256x256x41 x 22 sub-bricks (2D) – ~ 1 sec/sub-brick/iteration ~ sec/slice/iteration –9:00 for 10 iterations, 54 seconds per iteration, 2.5 sec/sub-brick/iteration, 0.06 sec/slice/iteration (3D), –5:54 for 10 iterations, 35 seconds per iteration with T2 512x512x112 single brick data (2D) – ~ 0.3 sec/slice/iteration –16:22 for 10 iterations, 98 seconds per iteration, 0.88 sec/slice/iteration (3D) –2n + 6 sub-briks for 2D, 2n+12(3D), n=number of sub-bricks (almost 1GB) –Improvements made in Gaussian smoothing (spatial kernels instead) more efficient spatial kernels for gradient and other smoothing kernel in algorithm eigenvalue solver specific for symmetric 2x2 and 3x3 mask operations – edge of mask gets special treatment –Larger Delta T step (instability possible) –Cheaper D tensor and alternative phis - eigenvalue alternative (Ding, Matlab) Edges, Masks, Anisotropy –Edges show problems after many iterations –Masks treated equivalently to edges in program –Voxels treated “isotropically” (dx=dy=dz) Overfiltering and end points –Truth –Shock filter (stop determination)

References Z Ding, JC Gore, AW Anderson, Reduction of Noise in Diffusion Tensor Images Using Anisotropic Smoothing, Mag. Res. Med., 53: , 2005 J Weickert, H Scharr, A Scheme for Coherence-Enhancing Diffusion Filtering with Optimized Rotation Invariance, CVGPR Group Technical Report at the Department of Mathematics\n" " and Computer Science,University of Mannheim,Germany,TR 4/2000. J.Weickert,H.Scharr. A scheme for coherence-enhancing diffusion filtering with optimized rotation invariance. J Visual Communication and Image Representation, Special Issue On Partial Differential Equations In Image Processing,Comp Vision Computer Graphics, pages , Gerig, G., Kubler, O., Kikinis, R., Jolesz, F., Nonlinear anisotropic filtering of MRI data, IEEE Trans. Med. Imaging 11 (2), , 1992.