Bird
0
0

What will be the shape of the output image after applying scipy.ndimage.zoom with zoom factor 0.5 on a (100, 200) image?

medium📝 Predict Output Q4 of 15
SciPy - Image Processing (scipy.ndimage)
What will be the shape of the output image after applying scipy.ndimage.zoom with zoom factor 0.5 on a (100, 200) image?
A(50, 100)
B(200, 400)
C(100, 200)
D(25, 50)
Step-by-Step Solution
Solution:
  1. Step 1: Understand zoom factor effect on shape

    A zoom factor less than 1 reduces the image size by that factor along each dimension.
  2. Step 2: Calculate new shape

    Original shape (100, 200) multiplied by 0.5 gives (50, 100).
  3. Final Answer:

    (50, 100) -> Option A
  4. Quick Check:

    Shape scales by zoom factor [OK]
Quick Trick: Output shape = input shape x zoom factor [OK]
Common Mistakes:
  • Multiplying shape by 2 instead of 0.5
  • Confusing zoom factor with output shape
  • Assuming shape stays same

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SciPy Quizzes