Add resampleTransmissionVolume and unittest.

This commit is contained in:
sunwen
2023-06-12 11:37:00 +08:00
parent 6535d40409
commit 2bb12bf078
3 changed files with 218 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#ifndef RESAMPLETRANSMISSIONVOLUME_H
#define RESAMPLETRANSMISSIONVOLUME_H
#include "Matrix.h"
#include "src/common/getGeometryInfo.h"
namespace Recon
{
struct TransmissionVolme
{
Aurora::Matrix transMap;
double deltaTransMap;
Aurora::Matrix beginTransMap;
};
TransmissionVolme resampleTransmissionVolume(const Aurora::Matrix& aTransVol, const Aurora::Matrix& aMaxPos,
const Aurora::Matrix& aMinPos,const GeometryInfo& aGeom);
}
#endif // RESAMPLETRANSMISSIONVOLUME_H