Forums

adaptive Median filtering

Started by hariza November 29, 2005

i have the source code for adaptive median filtering.but when i run
this code,it has an error..i'm new to matlab ..below are some of the
code
ip_edge = zeros (212,276);

ip_convert = double (ip);

the error is below..
ip_edge (11:202, 11:266) = ip_edge (11:202, 11:266) + ip_convert;

can anybody tell me what is the correct way to add those ip_dge and
ip_convert?


how ip is defined?
check the matrix dimensions
Roshdy

--- hariza <wizza_em@wizz...> wrote:

>
> i have the source code for adaptive median
> filtering.but when i run
> this code,it has an error..i'm new to matlab ..below
> are some of the
> code >
> ip_edge = zeros (212,276);
>
> ip_convert = double (ip);
>
> the error is below..
> ip_edge (11:202, 11:266) = ip_edge (11:202, 11:266)
> + ip_convert;
>
> can anybody tell me what is the correct way to add
> those ip_dge and
> ip_convert?
>