🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.image.processing
Article #191

Re: Filter Ranges for Enhancement, HELP!?!

#191
From: Steve Lamont
Date: Mon, 27 Jul 1992 01:48
24 lines
1351 bytes
In article <1992Jul27.100116.9655@waikato.ac.nz> singlis@waikato.ac.nz writes:
>when filtering with a standard Laplacian filter
> ...
>and assuming the pixel values from 0..1 in intensity, the result of the 
>operation can range from -8.0 to 8.0. What is the standard way of
>mapping this result to a pixel range.
>
>I have tried just diving by 8.0, and if negative ignore but this just gives
>"black" images, I also tried /8.0 and the absolute, still it looks terrible.

How about 

	new_pixel_value = ( old_pixel_value + 8.0 ) / 16.0

?

This puts the pixels back into a 0..1 intensity range.

							spl
-- 
Steve Lamont, SciViGuy -- (619) 534-7968 -- spl@dim.ucsd.edu
UCSD Microscopy and Imaging Resource/UCSD Med School/La Jolla, CA 92093-0608
"Out of the ash/I rise with my red hair/And I eat men like air."
                        - Sylvia Plath, "Lady Lazarus"
Technical Details
Message-ID: <14vkm2INNdlh@network.ucsd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!dog.ee.lbl.gov!network.ucsd.edu!ivem!spl
References: <1992Jul27.100116.9655@waikato.ac.nz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!dog.ee.lbl.gov!network.ucsd.edu!ivem!spl
From: spl@ivem.uucp (Steve Lamont)
Newsgroups: sci.image.processing
Subject: Re: Filter Ranges for Enhancement, HELP!?!
Date: 27 Jul 1992 01:48:50 GMT
Organization: University of Calif., San Diego/Microscopy and Imaging Resource
Lines: 24
Message-ID: <14vkm2INNdlh@network.ucsd.edu>
References: <1992Jul27.100116.9655@waikato.ac.nz>
NNTP-Posting-Host: ivem.ucsd.edu