修复bug

pull/3/head
陈增辉 2024-12-29 14:40:02 +08:00
parent 7ba47e2761
commit 00017a32bd
2 changed files with 7 additions and 4 deletions

View File

@ -279,7 +279,7 @@ ErrorCode TBPImageAlgCls::ProcessGPU()
Rnear, Rfar,
tempimgBlockline, colCount,
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,
long rowcount, long colcount,
long prfcount, long freqcount,
long startPRFId
long startPRFId, long startRowID
)
{
// 声明GPU变量
@ -384,8 +384,11 @@ void TBPImageGPUAlg(std::shared_ptr<float> antPx, std::shared_ptr<float> antPy,
#ifdef __TBPIMAGEDEBUG__
// 定义采样点
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<long> CIdslist(new long[4*prfcount], delArrPtr);

View File

@ -72,5 +72,5 @@ void TBPImageGPUAlg(std::shared_ptr<float> antPx, std::shared_ptr<float> antPy,
float freq, float fs, float Rnear, float Rfar,
long rowcount, long colcount,
long prfcount,long freqcount,
long startPRFId
long startPRFId,long startRowID
);