Add transmossion detection functions.
This commit is contained in:
@@ -11,9 +11,10 @@ struct TimeWindowResult {
|
||||
Aurora::Matrix AscanBlockProcessed;
|
||||
};
|
||||
|
||||
struct DetectTofResult {
|
||||
struct DetectResult {
|
||||
Aurora::Matrix tof;
|
||||
Aurora::Matrix sosValue;
|
||||
Aurora::Matrix att;
|
||||
};
|
||||
Aurora::Matrix calculateAttenuation(const Aurora::Matrix &ascans,
|
||||
const Aurora::Matrix &startPos,
|
||||
@@ -35,20 +36,52 @@ TimeWindowResult applyTimeWindowing(
|
||||
double expectedSOSWater, double startOffset, double segmentLenOffset,
|
||||
double minSpeedOfSound, double maxSpeedOfSound, bool gaussWindow);
|
||||
|
||||
Aurora::Matrix detectAttVectorized(const Aurora::Matrix &Ascan, const Aurora::Matrix &AscanRef,
|
||||
const Aurora::Matrix &distRef,
|
||||
const Aurora::Matrix &sosWaterRef,
|
||||
const Aurora::Matrix &tof, int aScanReconstructionFrequency,
|
||||
double offsetElectronic, int detectionWindowATT);
|
||||
Aurora::Matrix
|
||||
detectAttVectorized(const Aurora::Matrix &Ascan, const Aurora::Matrix &AscanRef,
|
||||
const Aurora::Matrix &distRef,
|
||||
const Aurora::Matrix &sosWaterRef,
|
||||
const Aurora::Matrix &tof, int aScanReconstructionFrequency,
|
||||
double offsetElectronic, int detectionWindowATT);
|
||||
|
||||
Aurora::Matrix detectTofVectorized(
|
||||
DetectResult
|
||||
detectTofVectorized(
|
||||
const Aurora::Matrix &AscanBlock, const Aurora::Matrix &AscanRefBlock,
|
||||
const Aurora::Matrix &distBlock, const Aurora::Matrix &distBlockRef,
|
||||
const Aurora::Matrix &sosWaterBlock,
|
||||
const Aurora::Matrix &sosWaterRefBlock, double expectedSOSWater,
|
||||
int useTimeWindowing, int aScanReconstructionFrequency,
|
||||
double offsetElectronic, int detectionWindowSOS, double minSpeedOfSound,
|
||||
double maxSpeedOfSound, bool gaussWindow) ;
|
||||
double maxSpeedOfSound, bool gaussWindow);
|
||||
|
||||
DetectResult
|
||||
detectTofAndAtt(
|
||||
const Aurora::Matrix &AscanBlock, const Aurora::Matrix &AscanRefBlock,
|
||||
const Aurora::Matrix &distBlock, const Aurora::Matrix &distRefBlock,
|
||||
const Aurora::Matrix &sosWaterBlock, const Aurora::Matrix &sosWaterRefBlock,
|
||||
int resampleFactor, int nthreads, double expectedSOSWater,
|
||||
int useTimeWindowing, int aScanReconstructionFrequency,
|
||||
int detectionWindowATT, double offsetElectronic, int detectionWindowSOS,
|
||||
double minSpeedOfSound, double maxSpeedOfSound, bool gaussWindow);
|
||||
|
||||
DetectResult
|
||||
detectTofAndAttMex(
|
||||
const Aurora::Matrix &AscanBlock, const Aurora::Matrix &AscanRefBlock,
|
||||
const Aurora::Matrix &distBlock, const Aurora::Matrix &distBlockRef,
|
||||
const Aurora::Matrix &sosWaterBlock, const Aurora::Matrix &sosWaterRefBlock,
|
||||
int resampleFactor, int nthreads, double expectedSOSWater,
|
||||
int useTimeWindowing, int aScanReconstructionFrequency,
|
||||
int detectionWindowATT, double offsetElectronic, int detectionWindowSOS,
|
||||
double minSpeedOfSound, double maxSpeedOfSound, bool gaussWindow);
|
||||
|
||||
DetectResult
|
||||
transmissionDetection(
|
||||
const Aurora::Matrix &AscanBlock, const Aurora::Matrix &AscanRefBlock,
|
||||
const Aurora::Matrix &distBlock, const Aurora::Matrix &distRefBlock,
|
||||
const Aurora::Matrix &sosWaterBlock, const Aurora::Matrix &sosWaterRefBlock,
|
||||
int version, int resampleFactor, int nthreads, double expectedSOSWater,
|
||||
int useTimeWindowing, int aScanReconstructionFrequency,
|
||||
int detectionWindowATT, double offsetElectronic, int detectionWindowSOS,
|
||||
double minSpeedOfSound, double maxSpeedOfSound, bool gaussWindow);
|
||||
|
||||
} // namespace Recon
|
||||
|
||||
|
||||
Reference in New Issue
Block a user