Bird
0
0

Which combination of SciPy ndimage filters is most effective for first reducing noise and then detecting edges in a grayscale image?

hard📝 Application Q8 of 15
SciPy - Image Processing (scipy.ndimage)
Which combination of SciPy ndimage filters is most effective for first reducing noise and then detecting edges in a grayscale image?
AApply a Sobel filter followed by a Gaussian filter
BApply a median filter followed by a Sobel filter
CApply a Gaussian filter followed by a median filter
DApply a Laplace filter followed by a Gaussian filter
Step-by-Step Solution
Solution:
  1. Step 1: Noise reduction

    Median filters are effective at removing salt-and-pepper noise without blurring edges.
  2. Step 2: Edge detection

    Sobel filters highlight edges by calculating gradients after noise has been reduced.
  3. Final Answer:

    Apply a median filter followed by a Sobel filter -> Option B
  4. Quick Check:

    Noise reduction before edge detection improves results [OK]
Quick Trick: Remove noise first, then detect edges [OK]
Common Mistakes:
  • Applying edge detection before noise removal
  • Using Gaussian filter after Sobel which blurs edges
  • Confusing filter order for best results

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SciPy Quizzes