D23256: Sample the fits viewer's histogram calculation
Hy Murveit
noreply at phabricator.kde.org
Mon Aug 19 07:42:27 BST 2019
murveit created this revision.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
murveit requested review of this revision.
REVISION SUMMARY
Fitshistogram previously uses all samples in an image to caculate its
frequency statistics for histogram and statistics displays. This can
take a significant amount of time, and the precision is unnecessary.
With this change, image pixels are sampled when their frequencies are
computed, limited to under 2 million samples. This significantly
speeds up the capture of images when fitsviewer is displaying
statistics or histograms and there are millions of pixels in an image.
REPOSITORY
R321 KStars
BRANCH
sampling-in-fitshistogram (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D23256
AFFECTED FILES
kstars/fitsviewer/fitshistogram.cpp
To: murveit
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190819/02f9b575/attachment.html>
More information about the kde-edu
mailing list