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

Home » Public Forums » archive » Re: Radar dB values
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: Radar dB values [message #29334 is a reply to message #29327] Thu, 14 February 2002 00:58 Go to previous messageGo to previous message
Vincent Schut is currently offline  Vincent Schut
Messages: 8
Registered: February 2002
Junior Member
Ronald Greeley wrote:
> I have been trying to synthesize AIRSAR images in the form where I can
> get the dB value for individual pixels off of the image.
>
>
> When I generate a dB image, it gives me values between 0 and 1.
>
> Can anyone provide advice on how to generate an AIRSAR image off of
> which I can get the dB values ??
>
> Thanks!
>
> Kevin Williams
> kkw@asu.edu
>

Usually when you get an output of only 0's and 1's, there is a integer
somewhere in your calculation where it should have been floating point.
Check your formulas and variables; if any of them in your calculation is
integer, the result will be integer too...
I assume you use something like db=10*alog10(rawvalue)? Try putting a
point zero behind the '10', which makes it a floating point constant
instead of a integer: db=10.0 * alog10(rawvalue)

Cheers,
Vincent.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Masking multiple ROI's
Next Topic: positioning cursor in object graphics

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

Current Time: Fri Oct 10 15:01:23 PDT 2025

Total time taken to generate the page: 1.36133 seconds