From: Ana Molina on 29 Dec 2009 04:31 Hello, I would like to know how can I get the pixel value by using impixelinfoval.m I know I can display the intensity of a pixel by moving the cursor over the image, but I would like to know how I can get this value to use it on my m-file. What I mean is that I would like to use the intensity value displayed with impixelinfoval.m in my m-file. Any suggestions? Thanks!
From: ImageAnalyst on 29 Dec 2009 10:16 You might look into putting your code into the WindowButtonMotionFcn callback for the figure that your axes lie on. Just a guess. Unfortunately MATLAB doesn't expose very many of the events for the controls, so there is no "MouseMove" event for the axes (at least in R2008b which I'm using at the moment) like you'd find in Visual Basic.
|
Pages: 1 Prev: libxcb openSUSE 10.3 Next: sizing of the sample data in Matlab for neural network |