Re: [OctDev] imerode erodes from edges in Octave but not Matlab.

2010-06-24 Thread Li-Ping Yuan
Thanks to Judd for excellent examples. In addition, putting an extra layer of pixels around the image is a good approach to simplify the coding, too. I used to put one layer of object (i.e. 1s), including corner pixels. This ensures that there will be no erosion from edges. This has the sa

[OctDev] ga-0.9.8 released

2010-06-24 Thread Luca Favatella
Hi. The ga-0.9.8 package is released in the package release forum. News: * new 'UseParallel' and 'Vectorized' options: enable vectorized and (stub) parallel evaluation of objective function * improve tests and doc * remove old stuff Cheers, Luca Favatella --

Re: [OctDev] imerode erodes from edges in Octave but not Matlab.

2010-06-24 Thread Judd Storrs
Here's another example: Evil: >> A = ones(5) ; >> A(2,1) = 0 ; >> A(5,5) = 0 A = 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 >> imerode(A,[0,0,0;1,1,1;0,0,0]) ans = 1 1 1

Re: [OctDev] imerode erodes from edges in Octave but not Matlab.

2010-06-24 Thread Judd Storrs
On Thu, Jun 24, 2010 at 9:52 AM, Søren Hauberg wrote: > Could you send an example that illustrates the bug (including data) ? Octave: > imerode(ones(5),ones(3)) ans = 0 0 0 0 0 0 1 1 1 0 0 1 1 1 0 0 1 1 1 0 0 0 0 0 0 Evil: >> imerode(ones

Re: [OctDev] imerode erodes from edges in Octave but not Matlab.

2010-06-24 Thread Søren Hauberg
tor, 24 06 2010 kl. 15:31 +0200, skrev Søren Hauberg: > As far as I can tell, imerode (image morphological operator) erodes from > edges, where objects touch edges, in Octave but not Matlab. I do need > the function behaves like Matlab. Could you send an example that illustrates the bug (includin

[OctDev] imerode erodes from edges in Octave but not Matlab.

2010-06-24 Thread Søren Hauberg
The following bug was opened for Octave (https://savannah.gnu.org/bugs/index.php?30240), but is related to Octave-Forge [bug report] As far as I can tell, imerode (image morphological operator) erodes from edges, where objects touch edges, in Octave but not Matlab. I do need the function behaves l

[OctDev] video: aviinfo always returns NumFrames = 0

2010-06-24 Thread Søren Hauberg
Hi On the Octave-Forge bug tracker somebody opened the following bug (https://sourceforge.net/tracker/?func=detail&aid=2672574&group_id=2888&atid=102888) [bug report] aviinfo always returns NumFrames = 0, although my videos have many frames. octave video: 1.0.1 octave: 3.0.1 libav*: 20080206-17

[OctDev] movavg function not correct when doing exponential option

2010-06-24 Thread Søren Hauberg
Hi All On the Octave-Forge bug tracker (apparently we have one at Source Forge...) we have the following bug report (https://sourceforge.net/tracker/?func=detail&aid=2958429&group_id=2888&atid=102888): [bug report] When using movavg from the financial package, if I don't specify the 'e' weighting

Re: [OctDev] dicom support

2010-06-24 Thread Andy Buckle
On Thu, Jun 24, 2010 at 8:35 AM, Søren Hauberg wrote: > søn, 20 06 2010 kl. 21:19 +0100, skrev Andy Buckle: >> Please find a diff against the octave-forge svn repo. My sf.net >> username is blondandy. I would be grateful if I could be granted >> access. I have had a couple of offers of help, it wo

Re: [OctDev] New function contribution

2010-06-24 Thread Søren Hauberg
Hi I'm sorry about the late reply, but I have just been painfully busy lately :-( lør, 12 06 2010 kl. 17:07 -0400, skrev Kyle Winfree: > I have made most of the comments you have requested. I retained > the switch case so that it will handle null input and because I don't > see how to cha

Re: [OctDev] dicom support

2010-06-24 Thread Søren Hauberg
søn, 20 06 2010 kl. 21:19 +0100, skrev Andy Buckle: > Please find a diff against the octave-forge svn repo. My sf.net > username is blondandy. I would be grateful if I could be granted > access. I have had a couple of offers of help, it would help to have > it in the repo. > > This only includes d