# Enter a commit message. # # Changes: # # kstars/fitsviewer/fitshistogram.

Authored by murveit on Sep 18 2019, 8:32 AM.

Description

Enter a commit message. # # Changes: # # kstars/fitsviewer/fitshistogram.cpp

Summary:
Improve the accuracy of the median calculation in fitshistogram.cpp

Previously, the median calculation used a histogram algorithm to find a range that contained the
median value, and chose the median as the center of that range. With this revision, the frequencies
of all samples in the range are calculated, and the exact median can be computed (subject to some
downsampling of the data).

Reviewers: mutlaqja

Reviewed By: mutlaqja

Subscribers: kde-edu

Tags: KDE Edu

Differential Revision: https://phabricator.kde.org/D24041

Details

Committed
mutlaqjaSep 18 2019, 8:32 AM
Reviewer
mutlaqja
Differential Revision
D24041: # Enter a commit message. # # Changes: # # kstars/fitsviewer/fitshistogram.cpp
Parents
R321:f84708e85a6a: Add debian patches set
Branches
Unknown
Tags
Unknown