[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43846] image: imresize does not accept floati
From: |
Avinoam Kalma |
Subject: |
[Octave-bug-tracker] [bug #43846] image: imresize does not accept floating point outside the [0 1] range |
Date: |
Sun, 21 Dec 2014 20:20:20 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 |
Follow-up Comment #3, bug #43846 (project octave):
Hi,
In order to fix this problem, isgray should be changed im imresize.
Changing isgray outside resize would cause problems in Matlab compatibility,
so I have changed isgray to local_isgray, and in local_isgray
I have removed the is_double_image condition.
Please review the follwoing patch.
attached: imresize.diff & imresize.m
Thanks,
Avinoam
(file #32699, file #32700)
_______________________________________________________
Additional Item Attachment:
File name: imresize.diff Size:1 KB
File name: imresize.m Size:12 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43846>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/