增加了范围提示计算
parent
7299339e73
commit
ffeca6d968
|
|
@ -280,6 +280,8 @@ ErrorCode TBPImageAlgCls::ProcessGPU()
|
||||||
qDebug() << "------- resolution ----------------------------------";
|
qDebug() << "------- resolution ----------------------------------";
|
||||||
qDebug() << "Range Resolution (m):\t" << dx ;
|
qDebug() << "Range Resolution (m):\t" << dx ;
|
||||||
qDebug() << "Cross Resolution (m):\t" << dr;
|
qDebug() << "Cross Resolution (m):\t" << dr;
|
||||||
|
qDebug() << "Range Range (m):\t" << dx*PlusePoints;
|
||||||
|
qDebug() << "Cross Range (m):\t" << dr*PRFCount;
|
||||||
qDebug() << "start Freq (Hz):\t" << startfreq;
|
qDebug() << "start Freq (Hz):\t" << startfreq;
|
||||||
qDebug() << "start lamda (m):\t" << startlamda;
|
qDebug() << "start lamda (m):\t" << startlamda;
|
||||||
qDebug() << "rowCount:\t" << rowCount;
|
qDebug() << "rowCount:\t" << rowCount;
|
||||||
|
|
@ -307,7 +309,8 @@ ErrorCode TBPImageAlgCls::ProcessGPU()
|
||||||
if (startimgrowid + imageBlockline >= rowCount) {
|
if (startimgrowid + imageBlockline >= rowCount) {
|
||||||
tempimgBlockline = rowCount - startimgrowid;
|
tempimgBlockline = rowCount - startimgrowid;
|
||||||
}
|
}
|
||||||
qDebug() << "\r[" << QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss.zzz") << "] image create :\t" << startimgrowid << "\t-\t" << startimgrowid + tempimgBlockline<<"\t/\t"<< rowCount ;
|
qDebug() << "\r image create Row Range :\t"<<QString("[%1]").arg(startimgrowid*100.0/ rowCount)
|
||||||
|
<< startimgrowid << "\t-\t" << startimgrowid + tempimgBlockline << "\t/\t" << rowCount;
|
||||||
// ÌáÈ¡¾Ö²¿pixel x,y,z
|
// ÌáÈ¡¾Ö²¿pixel x,y,z
|
||||||
std::shared_ptr<double> img_x = readDataArr<double>(imageXYZ,startimgrowid,0,tempimgBlockline,colCount,1,GDALREADARRCOPYMETHOD::VARIABLEMETHOD);
|
std::shared_ptr<double> img_x = readDataArr<double>(imageXYZ,startimgrowid,0,tempimgBlockline,colCount,1,GDALREADARRCOPYMETHOD::VARIABLEMETHOD);
|
||||||
std::shared_ptr<double> img_y = readDataArr<double>(imageXYZ,startimgrowid,0,tempimgBlockline,colCount,2,GDALREADARRCOPYMETHOD::VARIABLEMETHOD);
|
std::shared_ptr<double> img_y = readDataArr<double>(imageXYZ,startimgrowid,0,tempimgBlockline,colCount,2,GDALREADARRCOPYMETHOD::VARIABLEMETHOD);
|
||||||
|
|
@ -317,6 +320,7 @@ ErrorCode TBPImageAlgCls::ProcessGPU()
|
||||||
// »ñÈ¡»Ø²¨
|
// »ñÈ¡»Ø²¨
|
||||||
long startechoid = 0;
|
long startechoid = 0;
|
||||||
for (long startechoid = 0; startechoid < PRFCount; startechoid = startechoid + echoBlockline) {
|
for (long startechoid = 0; startechoid < PRFCount; startechoid = startechoid + echoBlockline) {
|
||||||
|
|
||||||
long tempechoBlockline = echoBlockline;
|
long tempechoBlockline = echoBlockline;
|
||||||
if (startechoid + tempechoBlockline >= PRFCount) {
|
if (startechoid + tempechoBlockline >= PRFCount) {
|
||||||
tempechoBlockline = PRFCount - startechoid;
|
tempechoBlockline = PRFCount - startechoid;
|
||||||
|
|
@ -341,7 +345,8 @@ ErrorCode TBPImageAlgCls::ProcessGPU()
|
||||||
tempechoBlockline, PlusePoints,
|
tempechoBlockline, PlusePoints,
|
||||||
startechoid,startimgrowid
|
startechoid,startimgrowid
|
||||||
);
|
);
|
||||||
|
qDebug() << QString(" image block PRF:[%1] \t").arg((startechoid + tempechoBlockline) * 100.0 / PRFCount)
|
||||||
|
<< startechoid << "\t-\t" << startechoid + tempechoBlockline;
|
||||||
}
|
}
|
||||||
this->L1ds->saveImageRaster(imgArr, startimgrowid, tempimgBlockline);
|
this->L1ds->saveImageRaster(imgArr, startimgrowid, tempimgBlockline);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue