Bird
0
0

How can you combine SciPy filters to remove noise and then highlight edges in a color image?

hard📝 Application Q9 of 15
SciPy - Image Processing (scipy.ndimage)
How can you combine SciPy filters to remove noise and then highlight edges in a color image?
AApply median filter on each color channel, then Sobel filter on grayscale
BApply Sobel filter on each color channel, then median filter on grayscale
CApply Gaussian filter on grayscale only, ignoring color channels
DApply median filter on grayscale, then invert colors
Step-by-Step Solution
Solution:
  1. Step 1: Remove noise per color channel

    Median filter works well on each color channel to reduce noise without mixing colors.
  2. Step 2: Convert to grayscale for edge detection

    Applying Sobel filter on grayscale simplifies edge detection across combined channels.
  3. Final Answer:

    Apply median filter on each color channel, then Sobel filter on grayscale -> Option A
  4. Quick Check:

    Noise removal per channel + edge detection on grayscale [OK]
Quick Trick: Filter noise per channel, detect edges on grayscale [OK]
Common Mistakes:
  • Applying edge detection before noise removal
  • Filtering grayscale only for noise
  • Mixing filter order incorrectly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SciPy Quizzes