Added attributions in median.h

This commit is contained in:
heckflosse
2016-09-27 14:47:37 +02:00
parent 9f3bfb88b6
commit d076223293

View File

@@ -15,6 +15,16 @@
*
* You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <http://www.gnu.org/licenses/>.
*
* This median implementations from Floessie and Ingo Weyrich are inspired by this work:
*
* http://ndevilla.free.fr/median/median.pdf
* http://pages.ripco.net/~jgamble/nw.html
* https://github.com/hoytech/Algorithm-Networksort-Chooser
*
* Instead of using the PIX_SORT and PIX_SWAP macros we use std::min() and std::max()
* because it turned out that it generates much faster (branch free) code on machines which support SSE
*
*/
#pragma once