# Wavelength filter with OpenCV

I am new to OpenCV and DSP. I want to code a filter which act like a real optical filter. When you filter the image, the output looks like shotted with a $550nm$ optical filter lens. Like a Bandpass filter for image. I wanna filter all lights below $550nm$ wavelength.

Is it possible with OpenCV? How can Ii do that? Filter2D or Gabor Filter?

Sorry for my English and sorry if the question is irrevelent.

Thanks

• How is your image represented? RGB? Luminance/chroma? Something else? – Jim Clay Mar 28 '12 at 14:25
• So you want to get keep all light above 550 nm and get rid of all light below 550 nm? – Jim Clay Mar 28 '12 at 15:27
• yes my image is rgb and i need all lights above 550 nm – juds Mar 28 '12 at 15:35
• If you need all colors above 550nm, just take the red channel. – nibot Mar 29 '12 at 8:10
• This might prove useful to you: scientificbulletin.upb.ro/rev_docs_arhiva/full49129.pdf I think it is relevant to the topic of discussion here. – user5353 Aug 31 '13 at 20:15