summaryrefslogtreecommitdiffstats
path: root/include/astra
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-09-27 13:57:04 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-09-27 13:57:04 +0200
commit1a8243ed0311c3074a79b97e1730bf3409774b8d (patch)
treebc1c499f211c832ab8f28f332f616deb2403b5e9 /include/astra
parente1a3f0ba1fe7455d0c9183ad07f106aebc1c821f (diff)
downloadastra-1a8243ed0311c3074a79b97e1730bf3409774b8d.tar.gz
astra-1a8243ed0311c3074a79b97e1730bf3409774b8d.tar.bz2
astra-1a8243ed0311c3074a79b97e1730bf3409774b8d.tar.xz
astra-1a8243ed0311c3074a79b97e1730bf3409774b8d.zip
Unify some parallel_vec parameter computations
Diffstat (limited to 'include/astra')
-rw-r--r--include/astra/GeometryUtil2D.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/astra/GeometryUtil2D.h b/include/astra/GeometryUtil2D.h
index 4d79353..914e40d 100644
--- a/include/astra/GeometryUtil2D.h
+++ b/include/astra/GeometryUtil2D.h
@@ -96,8 +96,11 @@ SFanProjection* genFanProjections(unsigned int iProjAngles,
double fDetSize,
const float *pfAngles);
+bool getParParameters(const SParProjection &proj, unsigned int iProjDets, float &fAngle, float &fDetSize, float &fOffset);
+
bool getFanParameters(const SFanProjection &proj, unsigned int iProjDets, float &fAngle, float &fOriginSource, float &fOriginDetector, float &fDetSize, float &fOffset);
+
}
#endif