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 #64085 is a reply to message #63980] Thu, 27 November 2008 06:24 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
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)

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: Sat Oct 11 21:11:13 PDT 2025

Total time taken to generate the page: 1.84091 seconds