Skip to content

Commit

Permalink
Bug in HRV routine.
Browse files Browse the repository at this point in the history
  • Loading branch information
hvanruys committed Oct 24, 2018
1 parent fc5b938 commit 8b42b4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <QMutex>

#define APPVERSION "1.4.0"
#define APPVERSION "1.4.2"

using namespace std;

Expand Down
10 changes: 6 additions & 4 deletions core/segmentlistgeostationary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2350,10 +2350,12 @@ void SegmentListGeostationary::ComposeHRV()




imageptrs->CLAHE(pixelsRed, 3712, 3712, 0, 1023, 16, 16, 256, 4);
imageptrs->CLAHE(pixelsGreen, 3712, 3712, 0, 1023, 16, 16, 256, 4);
imageptrs->CLAHE(pixelsBlue, 3712, 3712, 0, 1023, 16, 16, 256, 4);
if(kindofimage == "HRV Color")
{
imageptrs->CLAHE(pixelsRed, 3712, 3712, 0, 1023, 16, 16, 256, 4);
imageptrs->CLAHE(pixelsGreen, 3712, 3712, 0, 1023, 16, 16, 256, 4);
imageptrs->CLAHE(pixelsBlue, 3712, 3712, 0, 1023, 16, 16, 256, 4);
}

if(opts.geosatellites.at(geoindex).rss)
imageptrs->CLAHE(pixelsHRV, 5568, 5*464, 0, 1023, 16, 16, 256, 4);
Expand Down

0 comments on commit 8b42b4f

Please sign in to comment.