Commit bd321050 authored by Andrey Filippov's avatar Andrey Filippov

Fix DoubleFHT header and add ImageJ attribution to both FHT and GaussianBlur

DoubleFHT.java had a copy-paste error in its GPL header (wrong description
and wrong filename from MatchSimulatedPattern). Fixed both and added
attribution to the ImageJ FHT.java source (Wayne Rasband, NIH, public domain).

DoubleGaussianBlur.java already had an in-class attribution comment; added
a matching note in the GPL header for consistency.
Co-Authored-By: 's avatarClaude Sonnet 4.6 <noreply@anthropic.com>
parent e77ff2a8
...@@ -2,14 +2,16 @@ package com.elphel.imagej.common; ...@@ -2,14 +2,16 @@ package com.elphel.imagej.common;
/** /**
** **
** DoubleFHT - Determine simulation pattern parameters to match ** DoubleFHT.java - Fast Hartley Transform operating on double-precision arrays
** the acquired image **
** Based on ImageJ FHT.java by Wayne Rasband, NIH (public domain).
** Ported to double[] arrays for improved performance on modern hardware.
** **
** Copyright (C) 2010-2011 Elphel, Inc. ** Copyright (C) 2010-2011 Elphel, Inc.
** **
** -----------------------------------------------------------------------------** ** -----------------------------------------------------------------------------**
** **
** MatchSimulatedPattern.java is free software: you can redistribute it and/or modify ** DoubleFHT.java is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by ** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or ** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version. ** (at your option) any later version.
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
** **
** DoubleGaussianBlur.java - Gaussian blur for double-precision floating-point arrays ** DoubleGaussianBlur.java - Gaussian blur for double-precision floating-point arrays
** **
** Based on ImageJ GaussianBlur.java by Wayne Rasband, NIH (public domain).
** Converted from float[] to double[], with additional methods.
**
** Copyright (C) 2014-2025 Elphel, Inc. ** Copyright (C) 2014-2025 Elphel, Inc.
** **
** -----------------------------------------------------------------------------** ** -----------------------------------------------------------------------------**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment