Skip to content

transform.rescale only works on first 2 dimensions #2568

Closed

Description

@kamdh

Rescale only works for 2d images, even though the description is that it works for N-D images. On the other hand, scipy.ndimage.zoom works on all dimensions, so I have a workaround.

pd.shape

(132, 80, 114)

from skimage.transform import rescale
test = rescale(pd, 10, order=0)
test.shape

(1320, 800, 114)

skimage 0.12.3, installed with Anaconda2-4.3.1

Activity

  1. added this to the 0.14 milestone on Mar 15, 2017
  2. soupault commented on Apr 20, 2017

    @soupault
    Member

    Closed via #1522 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⏩ type: Enhancement

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions