Add transmissionReconstruction.
This commit is contained in:
@@ -78,9 +78,9 @@ namespace Recon {
|
||||
return dims;
|
||||
}
|
||||
|
||||
void slownessToSOS(Aurora::Matrix & aVF1, double aSOS_IN_WATER)
|
||||
Matrix slownessToSOS(Aurora::Matrix & aVF1, double aSOS_IN_WATER)
|
||||
{
|
||||
aVF1 = 1 / ((aVF1 + 1) / aSOS_IN_WATER);
|
||||
return 1 / ((aVF1 + 1) / aSOS_IN_WATER);
|
||||
}
|
||||
|
||||
DiscretizePositionValues discretizePositions(Aurora::Matrix &aVSenderCoordList, Aurora::Matrix &aVReceiverCoordList, double aNumPixelXY)
|
||||
@@ -224,7 +224,14 @@ namespace Recon {
|
||||
|
||||
if(!data.isNull())
|
||||
{
|
||||
result.outSOS = solveParameterIterator(buildMatrixR.M, b, dims, false, transParams::nonNeg)[0][0];
|
||||
Matrix sosValue = solveParameterIterator(buildMatrixR.M, b, dims, false, transParams::nonNeg)[0][0];
|
||||
result.outSOS = slownessToSOS(sosValue, SOS_IN_WATER) ;
|
||||
}
|
||||
|
||||
if(!dataAtt.isNull())
|
||||
{
|
||||
Matrix attValue = solveParameterIterator(buildMatrixR.M, bAtt, dims, false, transParams::nonNeg)[0][0];
|
||||
result.outATT = attValue/100 ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ Aurora::Matrix calculateResolution(const Aurora::Matrix &aVDdims, const Aurora::
|
||||
|
||||
Aurora::Matrix getDimensions(double aNumPixelXY, const Aurora::Matrix& ddims);
|
||||
|
||||
void slownessToSOS(Aurora::Matrix & aVF1, double aSOS_IN_WATER);
|
||||
Aurora::Matrix slownessToSOS(Aurora::Matrix & aVF1, double aSOS_IN_WATER);
|
||||
|
||||
DiscretizePositionValues discretizePositions(Aurora::Matrix &aVSenderCoordList, Aurora::Matrix &aVReceiverCoordList, double aNumPixelXY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user