Skip to main content

Registration tools

Before everything else, the current status of the whole thing here is that it only works on UNIX systems (eg Linux & MacOs) that have reasonnable chips (eg not M1 chips for example).

Purpose and "history"

This repository is about two scripts to do spatial and temporal registration of 3D microscopy images. It was initially developed to help friends with their ever moving embryos living under a microscope. I found that actually quite a few people were interested so I made a version of it that is somewhat easier to use.

In theory, the main difficulty to make the whole thing work is to install the different libraries.

Credits

The whole thing is just a wrapping of the amazing blockmatching algorithm developed by S. Ourselin et al. and currently maintained Grégoire Malandin et al.@Team Morphem - inria (if I am not mistaking).

Installation

conda and pip are required to install registration-tools

We recommand to install the registration tools in a specific environement (like conda). For example the following way:

conda create -n registration python=3.10

You can then activate the environement the following way:

conda activate registration

For here onward we assume that you are running the commands from the registration conda environement.

Then, to install the whole thing, it is necessary to first install blockmatching. To do so you can run the following command:

conda install vt -c morpheme

Then, you can install the 3D-registration library either directly via pip:

pip install 3D-registration

Or, if you want the latest version, by specifying the git repository:

pip install git+https://github.com/GuignardLab/registration-tools.git

Usage

Most of the description on how to use the two scripts is described in the manual (Note that the installation part is quite outdated, the remaining is ok).

That being said, once installed, one can run either of the scripts from anywhere in a terminal by typing:

time-registration

or

spatial-registration

The location of the json files or folder containing the json files will be prompted and when provided the registration will start.

It is also possible to run the registration from a script/notebook the following way:

from registrationtools import TimeRegistration
tr = TimeRegistration('path/to/param.json')
tr.run_trsf()

or

from registrationtools import TimeRegistration
tr = TimeRegistration('path/to/folder/with/jsonfiles/')
tr.run_trsf()

or

from registrationtools import TimeRegistration
tr = TimeRegistration()
tr.run_trsf()

and a path will be asked to be inputed.

Example json files

Few example json files are provided to help the potential users. You can find informations about what they do in the manual.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

3D-registration-0.1.0.tar.gz (207.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

3D_registration-0.1.0-py3-none-any.whl (215.4 kB view details)

Uploaded Python 3

File details

Details for the file 3D-registration-0.1.0.tar.gz.

File metadata

  • Download URL: 3D-registration-0.1.0.tar.gz
  • Upload date:
  • Size: 207.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.10.6

File hashes

Hashes for 3D-registration-0.1.0.tar.gz
Algorithm Hash digest
SHA256 36815e06b6878aa7311360188d07c4d1ae70d6383d4610f54e1e815021bb517e
MD5 1b588e577723547b630a755f36c0a6af
BLAKE2b-256 2764783608e8e4eb4036bdf40c99796d5eae50b944a233d8ccb298a38f8b71b3

See more details on using hashes here.

File details

Details for the file 3D_registration-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for 3D_registration-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4795a2f39f5aff5e00db44cd11520dfb34830a87743e650ed97741b384c62329
MD5 274f0161aa823c160c3b8538b0b1e45e
BLAKE2b-256 9727cd57d6a8d3a3ca1ae18f0d117f9a58d00c22f08309efd95e23cd5f4fdf1e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page