Hi Marc,
Hi guys,I've been using np.ravel(). This morning I tried to lookup the difference between np.ravel() and np.ascontiguousarray(). Does anybody know?
Marc
On Sunday, July 21, 2013 6:37:47 AM UTC+2, Chintak Sheth wrote:Hi Ronnie,
On Jul 21, 2013 10:00 AM, "Ronnie Ghose" <ronnie...@gmail.com> wrote:
>
> So in skimage/colors why does it matter if the array is contiguous? Is this for Cython operations later?
>Yeah it is mainly for using memory views in Cython which is initialized as C contiguous.
`cdef some_type[:. ::1] var_name`In thus case ::1 is for C contiguous.
Chintak
--
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.