Applying Two Filters on Same Image

13 次查看(过去 30 天)
Jerome
Jerome 2013-3-25
Is it possible to apply two filters in different locations of the same image? If so, how could I resolve it?

回答(1 个)

Walter Roberson
Walter Roberson 2013-3-25
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) );

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by