|
From: | Carnë Draug |
Subject: | [Octave-patch-tracker] [patch #9077] image package: new function imfill.m |
Date: | Tue, 16 Aug 2016 22:38:27 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #13, patch #9077 (project octave): I pushed your new commit here https://bitbucket.org/carandraug/octave-image/commits/e04ba70324a14e43c50e0de49ac83fab68041670?at=new-function-imfill-patch-9077 so we can see exactly what changed since your previous commit. I left my comments there. While padarray will work, would be better if we could avoid padding at all. I left a snippet there that checks which dimension matters for connectivity. Then we create indices for the image based on that so that it includes "1:end" or "2:end-1" based on the previous check. Then just use that for setting the value of non-border elements. This should add the support for ND images so it's all done. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?9077> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |