From: Mike on 22 Apr 2010 20:18 Hi Is there a way to show same area between two images according to the mouse moves? For example, using imtool to open two images, which are the same area but with different gray levels. I'd like to use pixel region to see gray levels at the same sub area. But I need to find the center of the interest area by clicking the mouse twice at both windows. Say, I move the mouse in the left window and the right window will move accordingly. Mike
From: Mike on 23 Apr 2010 21:48 On Apr 23, 8:18 am, Mike <sulfate...(a)gmail.com> wrote: > Hi > > Is there a way to show same area between two images according to the > mouse moves? For example, using imtool to open two images, which are > the same area but with different gray levels. I'd like to use pixel > region to see gray levels at the same sub area. But I need to find the > center of the interest area by clicking the mouse twice at both > windows. Say, I move the mouse in the left window and the right window > will move accordingly. > > Mike just repost it.
From: Walter Roberson on 23 Apr 2010 22:37 Mike wrote: > On Apr 23, 8:18 am, Mike <sulfate...(a)gmail.com> wrote: >> Is there a way to show same area between two images according to the >> mouse moves? For example, using imtool to open two images, which are >> the same area but with different gray levels. I'd like to use pixel >> region to see gray levels at the same sub area. But I need to find the >> center of the interest area by clicking the mouse twice at both >> windows. Say, I move the mouse in the left window and the right window >> will move accordingly. linkaxes or linkprop, or adjust the callbacks for the ButtonDownFcn so as to update the CurrentPosition for both axes.
From: Mike on 24 Apr 2010 04:35 On Apr 24, 10:37 am, Walter Roberson <rober...(a)hushmail.com> wrote: > Mike wrote: > > On Apr 23, 8:18 am, Mike <sulfate...(a)gmail.com> wrote: > >> Is there a way to show same area between two images according to the > >> mouse moves? For example, using imtool to open two images, which are > >> the same area but with different gray levels. I'd like to use pixel > >> region to see gray levels at the same sub area. But I need to find the > >> center of the interest area by clicking the mouse twice at both > >> windows. Say, I move the mouse in the left window and the right window > >> will move accordingly. > > linkaxes or linkprop, or adjust the callbacks for the ButtonDownFcn so > as to update the CurrentPosition for both axes. I check the example in linkaxes. It is usually used in subplot. But what I have are two images. I use imtool for the two images. Can linkaxes or linkprop be used in linking two images? Mike
|
Pages: 1 Prev: Avoiding for loop for an array of image indices Next: 3d plot of linear splines |