Applying Two Filters on Same Image

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일

0 개 추천

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) );

태그

아직 태그를 입력하지 않았습니다.

질문:

2013년 3월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by