Don't slice it, directly index `image` and define it as `double[:, :] cimage`