[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #10315] [octave forge] (image) new functio
From: |
Avinoam Kalma |
Subject: |
[Octave-patch-tracker] [patch #10315] [octave forge] (image) new functions imgaussfilt and imboxfilt |
Date: |
Tue, 21 Feb 2023 16:23:53 -0500 (EST) |
Follow-up Comment #5, patch #10315 (project octave):
In the code:
function [fil1, fil2] = create_gaussfilter (filter_size, sigma)
fil1 = gauss (sigma(1), filter_size(2));
fil2 = gauss (sigma(2), filter_size(1))';
fil1 /= sum (fil1);
fil2 /= sum (fil2);
endfunction
I think that it should be:
fil1 = gauss (sigma(1), filter_size(1));
fil2 = gauss (sigma(2), filter_size(2))';
There should be also a relevant test.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?10315>
_______________________________________________
נשלחה הודעה דרך Savannah
https://savannah.gnu.org/