[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33290] "fspecial" produces NA-results with th
From: |
fidelcastro |
Subject: |
[Octave-bug-tracker] [bug #33290] "fspecial" produces NA-results with the "motion" filter shape when its orientation parameter does not equal null |
Date: |
Wed, 11 May 2011 14:22:50 +0000 |
User-agent: |
Opera/9.80 (Windows NT 6.1; U; de) Presto/2.8.131 Version/11.10 |
URL:
<http://savannah.gnu.org/bugs/?33290>
Summary: "fspecial" produces NA-results with the "motion"
filter shape when its orientation parameter does not equal null
Project: GNU Octave
Submitted by: transsilvanien
Submitted on: Mi 11 Mai 2011 14:22:44 GMT
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.4.0
Operating System: Other
_______________________________________________________
Details:
The function fspecial from the image package produces wrong results for the
"motion" filter shape.
When the first parameter is set to "motion" and when the third parameter which
then represents the orientation of the motion is set to something other than
null degrees, then the resulting matrix only contains NA elements.
I have experienced this problem on a Cygwin installation.
Here is an example:
psf = fspecial("motion", 5, 0)
psf =
0.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 0.0
0.2 0.2 0.2 0.2 0.2
0.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 0.0
This is exampl produced correct results, but when I change the orientation
parameter to 10 degrees, then
psf = fspecial("motion", 5, 10)
psf =
NA NA NA NA NA
NA NA NA NA NA
NA NA NA NA NA
NA NA NA NA NA
NA NA NA NA NA
the returned matrix only contains NA elements. I would expect a correctly
interpolated motion matrix here.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33290>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #33290] "fspecial" produces NA-results with the "motion" filter shape when its orientation parameter does not equal null,
fidelcastro <=