summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-30 20:50:16 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-30 20:50:16 (GMT)
commit85ac071561f8caa5d6cb106ede1f822ce87a495d (patch)
tree8bc664b8f2a34c5fbd27ea51ca45621e30b7bdfb
parent4bc9e9991175a5c6cfbff1252fa860cabaeeae4b (diff)
Increase edge limit to 15% for focus and guide frame to avoid edge star detection
-rw-r--r--kstars/fitsviewer/fitsdata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/fitsviewer/fitsdata.cpp b/kstars/fitsviewer/fitsdata.cpp
index 5bbc2b0..a4d9b68 100644
--- a/kstars/fitsviewer/fitsdata.cpp
+++ b/kstars/fitsviewer/fitsdata.cpp
@@ -1006,8 +1006,8 @@ void FITSData::findCentroid(const QRectF &boundary, int initStdDev, int minEdgeW
{
if (mode == FITS_GUIDE || mode == FITS_FOCUS)
{
- subX = stats.width/10;
- subY = stats.height/10;
+ subX = round(stats.width/15.0);
+ subY = round(stats.height/15.0);
subW = stats.width - subX;
subH = stats.height - subY;
}