Write ModifyImage results

Hi everyone, I'm new in Igor, so it might be a stupid question but, I've been trying for a while to solve the problem and I couldn't do it...
How can I save the effects of ModifyImage on a wave, or in other words how can I save the results that I see. ModifyImage only change the graphic output, not the source and I want to modify the source too.

Thanks in advance,
Claudio
ModifyImage changes the graph, not the wave. It seems that you want to change the wave, not the graph.

How to do it depends on specifically what you want to do.
celifani wrote:
Exactly I actually want to change the graph AND the wave.
Thanks

If you want to change the data in the wave you have to use functions or operations that work on waves, if you want to change the appearance of the data in a graph you have to use functions or operations that modify graphs.
Changing the waves will often change also the graphs in which the waves are visualized. But changing only the graphs will NEVER change the waves.

With this in mind it depends on specifically what you want to do (as Howard said).

Andreas
Thanks Andreas, thanks Howard.
I actually do want to change the wave and I was wondering if it there was a ModifyImage function which modifies the wave (and as you said will change the graph too), let's say a "ModifyWave" function. I'm actually working on image contrast and I wanted to apply contrast profile in a similar way like ModifyImage does with the lookup="wave" parameter.

Thanks again
I posted a snippet here that probably does what you want.
But I am not very familiar with image processing. There are possibly more efficient and powerful methods to increase the contrast of an image wave.

A.
Thanks Andreas, that helped me solving the problem!
It works great, or at least it does the job it is supposed to do!