Template matching for 3D image

Juan Nunez-Iglesias jni.soma at gmail.com
Sun Nov 24 23:02:46 EST 2013


On Mon, Nov 25, 2013 at 10:41 AM, Johannes Schönberger <jsch at demuc.de>wrote:

> Imo checking for 3D images in the same function is the best option.
>

+1

Sorry if I betray my ignorance about template matching, but can the 2D case
not be considered a special case of the 3D with z=1? In other code (such as
SLIC), when we get a 2D image we simply go:

im = im[np.newaxis, ...]

and feed that to the 3D code. Can the same be done for template matching?

Thanks for this, Kevin!

Juan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20131125/032edf50/attachment.html>


More information about the scikit-image mailing list