ImageJ User & Developer Conference 2008

bUnwarpJ: Consistent and Elastic Registration in ImageJ. Ignacio Arganda-Carreras1,2 Biocomputing Unit, National Centre for Biotechnology (CSIC). Madrid, Spain 2 Escuela Politécnica Superior. Universidad Autónoma de Madrid. Madrid, Spain 1

1

Outline  

User or developer? What can this plugin offer me? 

As user: Main features.  Parameters.  Results. 



As developer: Flow chart.  Optimizer.  Future work?  Extensions? 

2

bUnwarpJ for users (if you dare…)

3

Consistent and elastic registration

4

The plugin: main features Source and target images Speed vs. Accuracy Deformation precision

Energy function weights

Stopping criterion Output info and save option

5

Image and deformation representation: cubic B-splines • Multi-resolution approach

• Spline deformation • Spline interpolation • Vectorial splines

6

So, what is the deformation precision?   

Multi-resolution: from “Very coarse” to “Super Fine”. Meaning: from 20 x 20 = 1x1 intervals of B-spline coefficients to 24 x 24 = 16x16 intervals. Basically, more B-spline coefficients, more details.

Deformation pyramid Image pyramid

7

Energy function E =w i E img w  E  w d E dvg wr E rot w c E cons Images’ Similarity 

  

Landmarks

Regularization

Deformation Consistency

Image similarity: MSE - Mean Square Error (grayscale pixel value) Landmarks: geometric error between landmark points. Regularization: divergence and curl of the deformations. Consistency: geometric distances between the pixel coordinates after applying both transformations (direct and inverse). 8

Weights: similarity and landmarks 



Similarity: difference between pixel values. Weight: 1.0 usually enough. Landmarks: distance between manual landmark points. Weight: 1.0 (if any). 9

Weights: regularization  

 

The regularization weights penalize the divergence and curl of the vector field. Meaning: we penalize vector fields with many points like this:

Result: we force the deformation to be smooth. Weights: 0.1 and 0.1 when there’s no prior knowledge about the deformation shape. 10

Weights: consistency



Similarity-Consistency 2160,00

35

2140,00

30

2120,00

25

2100,00 2080,00

20

2060,00 15

2040,00 2020,00

10

2000,00

Consistency Error



How invertible are the deformations? Weights: 10-30 are usually stable values. Advice: play around!

Similarity Error



Similarity Error Consistency Error

5

1980,00 1960,00 0

20

40

60

80

0 100

Consistency Weight

11

The toolbar

Landmarks

Masks

Input/Output Menu

12

Results information (1) Basic

“Verbose” option checked

(2 stacks: from source to target and vice versa)

13

Results information (2) 





If the “Verbose” option is checked, then every step of the optimization process is displayed. The “Stop Threshold” is the difference between these steps that forces the program to end. The optimal error values are displayed at the end of the process.

14

Other relevant features for users 

Since version 2.0 (August 29th, 2008), bUnwarpJ is fully compatible with ImageJ macro language. Example: run("bUnwarpJ", "source_image=A target_image=B registration=Accurate initial_deformation=[Very Coarse] final_deformation=[Very Fine] divergency_weight=0.1 curl_weight=0.1 landmark_weight=1 image_weight=1 consistency_weight=10 stop_threshold=0.01 verbose save_transformations");

 



bUnwarpJ can be called from command line (no GUI). Color images are processed in grayscale and the resulting deformations are applied to the RGB channels. No, there is no such a thing as bUnwarpJ 3D (yet). 15

bUnwarpJ for developers (if you dare…)

16

Flow chart No

Image A

Image pyramids

Next pyramids level

Optimize coefficients for this level

Yes Stop?

Show Results

Image B

Optimal deformations



The initial deformations are the affine transformations between landmarks if they exist or the Identity if they don’t. 17

Optimization Gradient

Gradient descend

• Trust region methods • Levenberg-Marquardt like + BFGS

f(x), x, dx

Optimizer

+Hessian

New x

18

Optimizer steps 





It starts at the lowest resolution of both pyramids. It increases first the deformation detail. When the level optimum is found, it moves up in the other pyramid. 19

Results Source Only Elastic

Direct

Target

Inverse

Elastic + Consistent 20

Results (2) 



Especially useful for serial images of broken, torn or folded tissue. Example: TEM sections of Lamina tissue from Drosophila Melanogaster.

Images by courtesy of Marta Rivera-Alba

21

SIFT and MOPS plugins support 



Automatic landmarks introduced thanks to Stephan Saalfeld's plugin. Don't miss next talk ;-)

22

Future work (any volunteer?) 

Extension to 3D images:   

 

Complexity. Visualization? Open source alternatives: Elastix, ITK?

Change similarity metric, mutual information? Detailed manual.

23

Questions?

24

Consistent and Elastic Registration of Histological ...

Meaning: from 20 x 20 = 1x1 intervals of B-spline coefficients to ... Meaning: we penalize vector fields with many ... No, there is no such a thing as bUnwarpJ 3D.

6MB Sizes 0 Downloads 146 Views

Recommend Documents

Time-Consistent and Market-Consistent Evaluations
principles by a new market-consistent evaluation procedure which we call 'two ... to thank Damir Filipovic, the participants of the AFMath2010 conference, the ... Pricing such payoffs in a way consistent to market prices usually involves combining ..

Histological validation of gonad gross morphology to ...
Correspondence: Bojan Lazar, Department of Zoology, Croatian Natural History Museum, Demetrova 1,. HR-10000 ..... Science, Education and Sport of Croatia, under permit nos. ... Commerce, NOAA Technical Report NMFS 143. Casale, P.

Elastic Motif Segmentation and Alignment of Time ...
1NTU IoX Center, National Taiwan University, Taipei, Taiwan. 2Department of Applied ... Time series (TS) learning tasks usually succeed identification of motifs and data cleaning from dynamics ..... recorded with EcoBT Mini sensor (http://epl.tw/ecob

Time-inconsistency of VaR and time-consistent alternatives
(D1) It is immediate from the definition that VaR at level α does not give any ... Y strictly riskier than X at time t although it is certain that this assessment will be.

Basic Theory of Plates and Elastic Stability
A feature of the body is that one dimension is much smaller than the other two .... Constitutive Equations. Since the thickness of a plate is small in comparison with the other dimensions, it is usually ..... By either the second- or the fourth-order

GENERATIVE MODEL AND CONSISTENT ...
is to propose a coherent statistical framework for dense de- formable templates both in ... Gaussian distribution is induced on β. We denote the covari- ... pair ξi = (βi,τi). The likeli- hood of the observed data can be expressed as an integral

Falling elastic bars and springs
digital camera or camcorder in an alternative setup in which a spring is substituted for the bar. The ... For times t 0 the bar is at rest hanging from its end A as.

CONSISTENT FRAGMENTS OF GRUNDGESETZE ...
terms of individual type, and if all formulas of this extended language are eligible as ... Just as r was modelled on the Russell class {x : x ∈ x}, the value range of.

Elastic computing with R and Redis - GitHub
May 16, 2016 - Listing 3 presents a parallel-capable variation of the boot function from the ... thisCall

Simultaneous elastic and electromechanical imaging ...
Both imaging and quantitative interpretation of SPM data on complex ... Stanford Research Instruments, and Model 7280, Signal Re- covery as ... Typical values were 1. =99 kHz .... nal in the center and enhanced PFM amplitude at the circum-.

Simultaneous elastic and electromechanical imaging by scanning ...
Received 3 March 2005; accepted 15 August 2005; published 20 September 2005. An approach for combined imaging of elastic and electromechanical ...

AUTOMATIC REGISTRATION OF SAR AND OPTICAL IMAGES ...
... for scientific analysis. GIS application development, nonetheless, inevitably depends on a ... solutions, traditional approaches may broadly be characterized as.

Consistent Bargaining
Dec 27, 2008 - Consistent Bargaining. ∗. Oz Shy†. University of Haifa, WZB, and University of Michigan. December 27, 2008. Abstract. This short paper ...

Elastic Potential Energy and Kinetic Energy Notes and Worksheet ...
Elastic Potential Energy and Kinetic Energy Notes and Worksheet Warren student copy.pdf. Elastic Potential Energy and Kinetic Energy Notes and Worksheet ...

Elastic Remote Methods - KR Jayaram
optimize the performance of new or existing distributed applications while de- ploying or moving them to the cloud, engineering robust elasticity management components is essential. This is especially vital for applications that do not fit the progra

Elastic Remote Methods
Elasticity, the key driver of cloud computing, is the ability of a distributed ... virtualized storage (e.g., Amazon Elastic Block Store (EBS)) in a way that is ag- ...... oracle; and the number of nodes required to meet a desired QoS (throughput,.

Report of Registration: Contact Information and ... - State of California
Dec 29, 2015 - We are writing to ensure that we have current contact information for your county ... of business on Tuesday, January 5, 2016. If you have any ...

Elastic Remote Methods
Explicit Elasticity, on the other hand, is typically associated with Infrastructure- ..... greedy bin-packing approximation algorithm (See http://en.wikipedia.org/wiki/.