Path: news.mathworks.com!not-for-mail
From: "Bryan Babcock" <lastresort88@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: image processing
Date: Sun, 30 Mar 2008 16:15:03 +0000 (UTC)
Organization: Colorado School of Mines
Lines: 18
Message-ID: <fsoea7$54m$1@fred.mathworks.com>
References: <fsns6q$ke7$1@fred.mathworks.com> <fsnv89$jkj$1@fred.mathworks.com> <fsodr6$11e$1@fred.mathworks.com>
Reply-To: "Bryan Babcock" <lastresort88@hotmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1206893703 5270 172.30.248.38 (30 Mar 2008 16:15:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 30 Mar 2008 16:15:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1164781
Xref: news.mathworks.com comp.soft-sys.matlab:459942


I would try using:

filter = fspecial('average',n);
filteredimg = imfilter(originalimg,filter,'replicate');

where n is an n-by-n pixel region you average over. The
result is a 'smeared' image. Play around with the size of n
to see how big you have to make it for the cracks to be
smeared out.


"misty m." <donotspam@smth.be> wrote in message
<fsodr6$11e$1@fred.mathworks.com>...
> unfortunately, making a negative won't help :/
> any other ideas?
> 
>