void SegmentListVIIRSM::ComposeGVProjection(int inputchannel)
{

    qDebug() << "SegmentListVIIRSM::ComposeGVProjection()";
    QList<Segment *>::iterator segit = segsselected.begin();
    while ( segit != segsselected.end() )
    {
        (*segit)->ComposeSegmentGVProjection(inputchannel);
        emit segmentprojectionfinished(false);
        ++segit;
    }

    initBrightnessTemp();

    //the following code calculates a new LUT that only takes
    //the pixels in the projection into account and not the complete segment(s).
//   CalculateProjectionLUT();
//   segit = segsselected.begin();
//   while ( segit != segsselected.end() )
//   {
//       (*segit)->RecalculateProjection();
//        emit segmentprojectionfinished(false);
//       ++segit;
//   }

}
void SegmentListVIIRSDNB::finishedviirs()
{

    qDebug() << "=============>SegmentListVIIRSDNB::readfinishedviirs()";
    emit progressCounter(100);
    opts.texture_changed = true;
    QApplication::restoreOverrideCursor();
    delete watcherviirs;

    emit segmentprojectionfinished(true);
}
Esempio n. 3
0
void SegmentListOLCI::ComposeSGProjection(int inputchannel)
{

    qDebug() << "SegmentListOLCIefr::ComposeSGProjection()";
    QList<Segment *>::iterator segit = segsselected.begin();
    while ( segit != segsselected.end() )
    {
        (*segit)->ComposeSegmentSGProjection(inputchannel);
        emit segmentprojectionfinished(false);
        ++segit;
    }
}
void SegmentListVIIRSM::ComposeLCCProjection(int inputchannel)
{

    qDebug() << "SegmentListVIIRSM::ComposeLCCProjection()";
    QList<Segment *>::iterator segit = segsselected.begin();
    while ( segit != segsselected.end() )
    {
        (*segit)->ComposeSegmentLCCProjection(inputchannel);
        emit segmentprojectionfinished(false);
        ++segit;
    }

    initBrightnessTemp();
}