Applying Two Filters on Same Image

12 views (last 30 days)
Jerome
Jerome on 25 Mar 2013
Is it possible to apply two filters in different locations of the same image? If so, how could I resolve it?

Answers (1)

Walter Roberson
Walter Roberson on 25 Mar 2013
Yes.
overall_output_image = input_image;
overall_output_image(r1a:r1b, c1a:c1b) = first_filter( input_image(r1a:r1b, c1a:c1b) );
overall_output_image(r2a:r2b, c2a:c2b) = second_filter( input_image(r2a:r2b, c2a:c2b) );

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!