Scanner data loaders#
NikonDataLoader#
function [proj,geo,angles]=NikonDataLoader(filepath,varargin)
NikonDataLoader(filepath) Loads Nikon uCT datasets into TIGRE standard
NikonDataLoader(filepath OPT,VAL,...) uses options and values.
These are options in case you don't want to load the entire
dataset, but only particular sets of projections.
The possible options in OPT are:
'sampling': type of sampling. default 'equidistant' Can be:
'equidistant': equidistantly sample the entire set
of angles. 'num_angles' should be set for partial
loading of the data.
'step': sample the entire set of projections every
'sampling_step' angles.
'continuous': Load the first 'num_angles' amount of
angles only.
'num_angles': Number of total angles to load. Default all of
them. Useful for 'equidistant' and 'continuous' loading
'sampling_step': step to load when loading projections.
Default=1. Useful for 'step' loading.
BrukerDataLoader#
function [proj,geo,angles]=BrukerDataLoader(filepath,varargin)
BrukerDataLoader(filepath) Loads Bruker uCT datasets into TIGRE standard
BrukerDataLoader(filepath OPT,VAL,...) uses options and values.
These are options in case you don't want to load the entire
dataset, but only particular sets of projections.
The possible options in OPT are:
'sampling': type of sampling. default 'equidistant' Can be:
'equidistant': equidistantly sample the entire set
of angles. 'num_angles' should be set for partial
loading of the data.
'step': sample the entire set of projections every
'sampling_step' angles.
'continuous': Load the first 'num_angles' amount of
angles only.
'num_angles': Number of total angles to load. Default all of
them. Useful for 'equidistant' and 'continuous' loading
'sampling_step': step to load when loading projections.
Default=1. Useful for 'step' loading.
'dataset_number': some Bruker data has several datasets in a
single folder. This can be the dataset number
of 'all' to load all of them
Parse inputs
YXLONDataLoader#
function [proj,geo,angles]=YXLONDataLoader(filepath,varargin)
NikonDataLoader(filepath) Loads YXLON uCT datasets into TIGRE standard
YXLONDataLoader(filepath OPT,VAL,...) uses options and values.
These are options in case you don't want to load the entire
dataset, but only particular sets of projections.
The possible options in OPT are:
'sampling': type of sampling. default 'equidistant' Can be:
'equidistant': equidistantly sample the entire set
of angles. 'num_angles' should be set for partial
loading of the data.
'step': sample the entire set of projections every
'sampling_step' angles.
'continuous': Load the first 'num_angles' amount of
angles only.
'num_angles': Number of total angles to load. Default all of
them. Useful for 'equidistant' and 'continuous' loading
'sampling_step': step to load when loading projections.
Default=1. Useful for 'step' loading.
DiondoDataLoader#
function [proj,geo,angles]=DiondoDataLoader(filepath,varargin)
NikonDataLoader(filepath) Loads Nikon uCT datasets into TIGRE standard
NikonDataLoader(filepath OPT,VAL,...) uses options and values.
These are options in case you don't want to load the entire
dataset, but only particular sets of projections.
The possible options in OPT are:
'sampling': type of sampling. default 'equidistant' Can be:
'equidistant': equidistantly sample the entire set
of angles. 'num_angles' should be set for partial
loading of the data.
'step': sample the entire set of projections every
'sampling_step' angles.
'continuous': Load the first 'num_angles' amount of
angles only.
'num_angles': Number of total angles to load. Default all of
them. Useful for 'equidistant' and 'continuous' loading
'sampling_step': step to load when loading projections.
Default=1. Useful for 'step' loading.
VarianDataLoader#
function [proj_lg, geo, angles] = VarianDataLoader(datafolder, varargin)
VarianDataLoader: Loads Varian CBCT projection, geometry and angles data
Optional parameter: Motion lag correction. Default True.
gpuids: Usable GPUs. Default, the first one.
Load all dataset that are needed for reconstruction
Tested on TrueBeam 2.0 and 2.7
Date: 2021-04-02
Author: Yi Du (yi.du@hotmail.com)
datafolder = '~/your_data_path/varian/2020-01-01_123456/';
DXChangeDataLoader#
function [proj,geo,angles]=DXChangeDataLoader(fname)
DXChangeDataLoader(filepath) Loads DXChange datasets into TIGRE standard
DXChangeDataLoader(fname OPT,VAL,...) uses options and values.
These are options in case you don't want to load the entire
dataset, but only particular sets of projections.
dicomDataLoader#
function [proj,geo,angles,dicomhdr]= dicomDataLoader(filepath)
This file is a modification of code written for the following article:
Hatamikia, S., Biguri, A., Kronreif, G., Kettenbach, J., Russ, T., Furtado, H.,
Shiyam Sundar, L.K., Buschmann, M., Unger, E., Figl, M., Georg, D.
and Birkfellner, W. (2020),
Optimization for customized trajectories in cone beam computed tomography.
Med. Phys., 47: 4786-4799. https://doi.org/10.1002/mp.14403
Please cite it, especially if you are using C-arm CBCT