修复bug
parent
7ba47e2761
commit
00017a32bd
|
|
@ -279,7 +279,7 @@ ErrorCode TBPImageAlgCls::ProcessGPU()
|
||||||
Rnear, Rfar,
|
Rnear, Rfar,
|
||||||
tempimgBlockline, colCount,
|
tempimgBlockline, colCount,
|
||||||
tempechoBlockline, PlusePoints,
|
tempechoBlockline, PlusePoints,
|
||||||
startechoid
|
startechoid,startimgrowid
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -298,7 +298,7 @@ void TBPImageGPUAlg(std::shared_ptr<float> antPx, std::shared_ptr<float> antPy,
|
||||||
float freq, float fs, float Rnear, float Rfar,
|
float freq, float fs, float Rnear, float Rfar,
|
||||||
long rowcount, long colcount,
|
long rowcount, long colcount,
|
||||||
long prfcount, long freqcount,
|
long prfcount, long freqcount,
|
||||||
long startPRFId
|
long startPRFId, long startRowID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
// 声明GPU变量
|
// 声明GPU变量
|
||||||
|
|
@ -384,8 +384,11 @@ void TBPImageGPUAlg(std::shared_ptr<float> antPx, std::shared_ptr<float> antPy,
|
||||||
#ifdef __TBPIMAGEDEBUG__
|
#ifdef __TBPIMAGEDEBUG__
|
||||||
// 定义采样点
|
// 定义采样点
|
||||||
long tc[4] = { 6956,6542,7003,6840};
|
long tc[4] = { 6956,6542,7003,6840};
|
||||||
long tr[4] = { 1100,9324,9415,11137 };
|
long tr[4] = { 1100,9324,9415,11137};
|
||||||
|
|
||||||
|
for (long iii = 0; iii < 4; iii) {
|
||||||
|
tr[iii] = tr[iii] - startRowID;
|
||||||
|
}
|
||||||
std::shared_ptr<float> Rlist(new float[4*prfcount], delArrPtr);
|
std::shared_ptr<float> Rlist(new float[4*prfcount], delArrPtr);
|
||||||
std::shared_ptr<long> CIdslist(new long[4*prfcount], delArrPtr);
|
std::shared_ptr<long> CIdslist(new long[4*prfcount], delArrPtr);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,5 +72,5 @@ void TBPImageGPUAlg(std::shared_ptr<float> antPx, std::shared_ptr<float> antPy,
|
||||||
float freq, float fs, float Rnear, float Rfar,
|
float freq, float fs, float Rnear, float Rfar,
|
||||||
long rowcount, long colcount,
|
long rowcount, long colcount,
|
||||||
long prfcount,long freqcount,
|
long prfcount,long freqcount,
|
||||||
long startPRFId
|
long startPRFId,long startRowID
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue