mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-12 10:41:50 +08:00
BUG: Always return contiguous array from colour conversion.
This commit is contained in:
@@ -307,7 +307,7 @@ def _convert(matrix, arr):
|
||||
out.shape = oldshape
|
||||
out = np.swapaxes(out, 2, 0)
|
||||
|
||||
return out
|
||||
return np.ascontiguousarray(out)
|
||||
|
||||
|
||||
def xyz2rgb(xyz):
|
||||
|
||||
Reference in New Issue
Block a user