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

Home » Public Forums » archive » inverse gradient
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: inverse gradient [message #64059 is a reply to message #63980] Fri, 28 November 2008 08:31 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
Jeremy Bailin wrote:
> On Nov 27, 3:27�am, erano <eran.o...@gmail.com> wrote:
>>> "inverse" meaning what for a vector-field?
>>
>>> Paolo
>>
>> "inverse" is the opposite operation for gradient.
>> The inputs are 2D gradient images (dX and dY), where high values are
>> large changes in the "inverse gradient" image, and zeros are stable
>> (no changes) in the "inverse gradient".
>>
>> Eran
>
> I would never use this in production code, but here's a hack that will
> give you something to look at:
>
> scalarfield = total(dX, /cumulative, 1) + total(dY, /cumulative, 2)

From the standpoint of discrete operations, that's perfectly fine.
As an approximation for the real potential, that depends on
how the gradient was measured I gues...

Paolo

>
> The real solution is to replace those totals with actual integrals.
>
> -Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Problem reading data from stdin using EOF(0) in version 6.0 and 7.0
Next Topic: installing and licensing IDL with FLEXnet

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

Current Time: Fri Oct 10 14:52:59 PDT 2025

Total time taken to generate the page: 1.27792 seconds