# Faster registration

**URL:** https://discourse.slicer.org/t/faster-registration/872
**Category:** Support
**Tags:** registration, sequences, resample
**Created:** [August 15, 2017, 2:30pm UTC](https://discourse.slicer.org/t/faster-registration/872 "2017-08-15T14:30:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![moselhy](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/moselhy/32/501_2.png) [@moselhy](https://discourse.slicer.org/u/moselhy)
#### Post date: [August 15, 2017, 2:30pm UTC](https://discourse.slicer.org/t/faster-registration/872/1 "2017-08-15T14:30:07Z")

</div>

How do I get my multivolume sequence to register faster?

It is taking approx. 3 min and 2 seconds for the original volume sequence of spacing 1.95,1.95,1.95 and approx. 2 min 50 seconds for a downsampled volume sequence with a spacing of 5,5,5. Only a 12 second difference, which is not very significant…

I am using the [Sequence Registration module](https://github.com/moselhy/SlicerSequenceRegistration) with the `"generic rigid (all)"` preset, using frame `t=3` as the fixed volume

[Link to original multivolume sequence](https://moselhy.org/physics/original.seq.nrrd)  
[Link to downsampled multivolume sequence](https://moselhy.org/physics/downsampled.seq.nrrd)

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [August 15, 2017, 4:54pm UTC](https://discourse.slicer.org/t/faster-registration/872/2 "2017-08-15T16:54:44Z")

</div>

Probably you need a custom preset (list of parameter files) that sets lower number of samples or different stopping condition (lower max number of iterations, larger convergence tolerance value, etc).

---

<div class="post-metadata">

### Author: ![moselhy](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/moselhy/32/501_2.png) [@moselhy](https://discourse.slicer.org/u/moselhy)
#### Post date: [August 15, 2017, 7:11pm UTC](https://discourse.slicer.org/t/faster-registration/872/3 "2017-08-15T19:11:23Z")

</div>

I am doing this to make the [“Reload and Test”](https://github.com/moselhy/SlicerSequenceRegistration/blob/master/SequenceRegistration/SequenceRegistration.py#L378-L449) of the module faster than 3 minutes, should I just register the first 10 frames?

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [August 15, 2017, 7:13pm UTC](https://discourse.slicer.org/t/faster-registration/872/4 "2017-08-15T19:13:41Z")

</div>

For a basic module test it could be enough to register a few frames. Most likely you would detect if anything is wrong from 3 frames as well as from 20.
