[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Migrating from 3.6.4 to 3.8.0
From: |
ijourneaux |
Subject: |
Re: Migrating from 3.6.4 to 3.8.0 |
Date: |
Sun, 16 Feb 2014 18:41:47 -0800 (PST) |
I think I have a solution that might work
in imresize.m, the following line allocates the XI and YI working arrays.
The default is double.
[XI, YI] = meshgrid (linspace (1, inCols, outCols), linspace (1, inRows,
outRows));
I would propose that these arrays should be cast to the type of incoming
image array.
I used the following 2 lines but I would think there is a more elegant
solution
XI = cast (XI, class (im));
YI = cast (YI, class (im));
I am along ways from a Octave expert, is this even correct?
--
View this message in context:
http://octave.1599824.n4.nabble.com/Migrating-from-3-6-4-to-3-8-0-tp4661903p4661967.html
Sent from the Octave - General mailing list archive at Nabble.com.
Re: Migrating from 3.6.4 to 3.8.0, Carnë Draug, 2014/02/14
Re: Migrating from 3.6.4 to 3.8.0, Carnë Draug, 2014/02/16
Re: Migrating from 3.6.4 to 3.8.0, Carnë Draug, 2014/02/17