comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: blurring and deblurring for effect
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: blurring and deblurring for effect [message #42797 is a reply to message #42795] Wed, 23 February 2005 06:41 Go to previous messageGo to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <1109167314.650513.117960@o13g2000cwo.googlegroups.com>,
"Rob" <robert.dimeo@nist.gov> wrote:

> David,
>
> The problem is that the smoothed image shows some strange colors.
> Since the image that I'm using is "more or less" a blue-white color
> scheme, I ditched the image colors (converted my image to gray-scale),
> loaded in color table 1, then performed the smoothing operation. This
> resulted in the look that I wanted. Unfortunately I don't know how to
> accomplish this for the general case for an image with its *own* colors
> like my PNG image.

This works pretty well for me.

infile = '~/Pictures/dave_index.jpg'
READ_JPEG, infile, image
TV, image, TRUE = 1
cr = ''
READ, cr, PROMPT = 'Enter <cr> to continue ...'
image = SMOOTH(image, [1, 20, 20], /EDGE)
TV, image, TRUE = 1

The picture is from http://www.dfanning.com/images/dave_index.jpg.

After smoothing, Dave looks much like he did at the end of the last
Expert Programmers Association meeting.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Putting bands together
Next Topic: IDL in Medical Imaging

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:10:46 PDT 2025

Total time taken to generate the page: 1.28083 seconds