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 #64067 is a reply to message #63980] Fri, 28 November 2008 01:31 Go to previous messageGo to previous message
erano is currently offline  erano
Messages: 22
Registered: November 2008
Junior Member
On Nov 27, 5:24 pm, Jeremy Bailin <astroco...@gmail.com> 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)
>
> The real solution is to replace those totals with actual integrals.
>
> -Jeremy.


Thanks,

It's the simplest way. it's basicly works but with errors.
I found few articlies about "inverse gradient" on the web, and the
problem is very complex and the simple MATLAB function (from matlab
exchange) is expensive (memory).
The main problem is to solve A*F=V where A is M*N matrix, V is vector
and we look for F.
I used LA_LEAST_SQUARES (with all possible methods) for solve this
but it is slow and have memory problem. please note that most of A
matrix are zeros...

Any ideas?
[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: Wed Oct 08 19:57:19 PDT 2025

Total time taken to generate the page: 0.00459 seconds