D28767: SEP Focus improvements

Hy Murveit noreply at phabricator.kde.org
Sun Apr 12 07:54:36 BST 2020

murveit created this revision.
murveit added reviewers: mutlaqja, lancaster, TallFurryMan.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
murveit requested review of this revision.

  This PR should improve the HFR calculations with SEP for the focus module and for displaying HFR for those that want to track it in subs.
  It is not the end-all, but should be an improvement. There is still work to do.
  - Updated and added to tests for the fitssepdetector.cpp
  - Removed saturated stars from the HFR calculation, if possible.
  - Sped up the SEP star detector 2X when used with full exposures.
  - Improved SEP star detector quality, especially for focus/hfr, by (1) changing the deblend constant, and (2) removing the largest stars
  - Fixed two bugs in the SEP star detector (1) major issue, ushorts being treated as shorts, and (2) a memory leak for (rare) float images
  - Added logging for HFR when calculated
  - Fixed bug so that Mark Stars now works
  - Improved drawing of circles for Mark Stars, now uses star radius, instead of flakey star width.
  - Updated the fitsviewer status to include the HFR when calculated
  - Increased a threshold in SEP extract.c which previously would fail on images, e.g. like M42 <https://phabricator.kde.org/M42>, where there was a lot of area over background.
  Not done, but related:
  - Should improve the MarkStars UI so that HFR could be calculated without star annotation on display, and could turn on on first image.
  - API to star detection methods should be generalized (should wait on rlancaste's investigations of SEP best practices)
  - Some display of HFR trends.

  Basic test added to testfitsdata for SEP, run that.
  Load a .fits file into fitsviewer. Select view->MarkStars, for a full-exposure sub, you should see ~100 stars circled with an HFR displayed in the status bar.
  Load another image and the HFR should continue to be displayed.
  Similarly, one could make a capture sequence job with, say 20 5s simulator exposures. After the first exposure completes and the fitsviewer displays
  the image, go to the view menu and turn on Mark Stars, then the rest of the images should display with stars circled and HFR displayed in the status bar.
  This way of turning on the star/HFR detection should be improved in a future PR.

  R321 KStars

  sep-focus-improvements (branched from master)



To: murveit, mutlaqja, lancaster, TallFurryMan
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20200412/2ebe8626/attachment-0001.html>

More information about the kde-edu mailing list