
I had a look at the SLIC code and I'll try this approach then, replace the 2D code by 3D code and consider 2D images as special cases. Cheers, Kevin Le 25/11/2013 04:02, Juan Nunez-Iglesias a �crit :
On Mon, Nov 25, 2013 at 10:41 AM, Johannes Sch�nberger <jsch@demuc.de <mailto:jsch@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.
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
participants (1)
-
Kevin Keraudren