Remove createVectorMatrix from resamleTransmissionVolume.
This commit is contained in:
@@ -13,27 +13,6 @@
|
||||
using namespace Aurora;
|
||||
using namespace Recon;
|
||||
|
||||
namespace
|
||||
{
|
||||
Matrix createVectorMatrix(double aStartValue, double aStepValue, double aEndValue)
|
||||
{
|
||||
std::vector<double> matrixData;
|
||||
double tempValue = aStartValue;
|
||||
matrixData.push_back(tempValue);
|
||||
long long compare1 = round(aEndValue * 10e13);
|
||||
long long compare2 = round(tempValue * 10e13);
|
||||
while(round(tempValue* 10e13) <= compare1)
|
||||
{
|
||||
tempValue += aStepValue;
|
||||
matrixData.push_back(tempValue);
|
||||
compare2 = round(tempValue * 10e14);
|
||||
}
|
||||
matrixData.pop_back();
|
||||
|
||||
return Matrix::copyFromRawData(matrixData.data(), 1, matrixData.size());
|
||||
}
|
||||
}
|
||||
|
||||
TransmissionVolme Recon::resampleTransmissionVolume(const Aurora::Matrix& aTransVol, const Aurora::Matrix& aMaxPos,
|
||||
const Aurora::Matrix& aMinPos,const GeometryInfo& aGeom)
|
||||
{
|
||||
@@ -64,7 +43,6 @@ TransmissionVolme Recon::resampleTransmissionVolume(const Aurora::Matrix& aTrans
|
||||
zNew = transpose(zNew);
|
||||
|
||||
Matrix smHelper = meshgridInterp3(ySOS,xSOS,zSOS,aTransVol,yNew,xNew,zNew, InterpnMethod::Spline, 0);
|
||||
//result.transMap = smHelper;
|
||||
smHelper = imageExtrapolation(smHelper, 3);
|
||||
xSOS = xNew;
|
||||
ySOS = yNew;
|
||||
|
||||
Reference in New Issue
Block a user