Write ModifyImage results
| celifani | September 1, 2010 - 21:54 | ||
|---|---|---|---|
|
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... Thanks in advance, |
|||
| celifani | September 1, 2010 - 21:54 | ||
|---|---|---|---|
|
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... Thanks in advance, |
|||
Joined: 2007-06-21
Location: United States
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.
Joined: 2010-09-01
Location: Switzerland
Exactly I actually want to change the graph AND the wave.
Thanks
Joined: 2007-09-19
Location: Germany
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
Joined: 2010-09-01
Location: Switzerland
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
Joined: 2007-09-19
Location: Germany
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.
Joined: 2010-09-01
Location: Switzerland
Thanks Andreas, that helped me solving the problem!
It works great, or at least it does the job it is supposed to do!