[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #8612] impyramid.m for image package

From: Carnë Draug
Subject: [Octave-patch-tracker] [patch #8612] impyramid.m for image package
Date: Wed, 14 Oct 2015 17:28:33 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.3.0

Update of patch #8612 (project octave):

                  Status:                    None => Done                   
             Open/Closed:                    Open => Closed                 


Follow-up Comment #6:

> When I look at the Matlab documentation for impyramid (see
http://de.mathworks.com/help/images/ref/impyramid.html ) then I read
"Reduction and expansion take place only in the first two dimensions."
> To me this says that it is alright to always do the reduction and filtering
process ONLY to the dimensions 1 and 2 of any given input. The other possible
dimensions should probably be kept intact during this procedure. But in Matlab
this function impyramid is NOT ment to reduce an ND image along the third or
fourth dimension at all! 

You are right. I missed that note on the Matlab documentation. So we 're kinda
limited there.

I have pushed the original function (after small style changes):


I then replaced the usage of imfilter with padarray and convn so it accepts
arrays of any dimensions (but still only reduces/expands) the first 2.


I then added a bunch of more tests.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]