From: Eric Diaz on 12 May 2010 22:42 Walter Roberson <roberson(a)hushmail.com> wrote in message <wTIGn.18016$_84.12825(a)newsfe18.iad>... > Eric Diaz wrote: > > This forum is weak sauce! > > Which kind of computer work is it that you do, where the existence of > "window/level" tools is fundamental and pervasive enough that people > could be assumed to have a solid grasp of what they are? "In medical imaging the brightness/contrast control is called the "window/level" control, and there is a reasonably standard set of mouse motions for changing the window and level. These mouse motions are supported by imtool [imcontrast]". ref: http://blogs.mathworks.com/steve/2006/02/17/all-about-pixel-colors-window-level/ "Using the Window/Level tool, you can change the contrast and brightness of an image by simply dragging the mouse over the image. Moving the mouse horizontally affects contrast; moving the mouse vertically affects brightness. Note that any contrast adjustments you make using the Window/Level tool are reflected immediately in the Adjust Contrast tool. For example, if you increase the brightness, the window in the Adjust Contrast moves over the histogram. " ref: http://www.mathworks.com/access/helpdesk/help/toolbox/images/f10-44495.html Apparently TMW knows all about this function but just hasn't implemented it in a more user friendly manner. > I don't know yet *what* functionality that is, but is there a particular > _reason_ that imtool and imcontrast must be avoided? Some constraint > that you are under? E.g., are you needing something that will work in a > standalone GUI and there is some reason imtool and imcontrast are not > compliable? I just don't want to have to use imtool or imcontrast. Personally, I like to use imagesc (not imtool), and I don't want to have to go to the command line to type an extra command "imcontrast" to accomplish what I could accomplish with a flick of the mouse. This function is simple and useful enough that it should be easily implementable in any figure via the toolbar, for example; it has nothing to do with noncompliance of these tools nor standalone guis. I should be able to do this in any figure window.
From: Walter Roberson on 12 May 2010 23:30 Eric Diaz wrote: > I just don't want to have to use imtool or imcontrast. Personally, I > like to use imagesc (not imtool), and I don't want to have to go to the > command line to type an extra command "imcontrast" to accomplish what I > could accomplish with a flick of the mouse. This function is simple and > useful enough that it should be easily implementable in any figure via > the toolbar, for example; it has nothing to do with noncompliance of > these tools nor standalone guis. I should be able to do this in any > figure window. Are you aware that you can set the root property DefaultFigureCreateFcn and that the function you nominate there can add arbitrary toolbar entries using uipushtool ? > "In medical imaging the brightness/contrast control is called the > "window/level" control, and there is a reasonably standard set of > mouse motions for changing the window and level. Interestingly, I have never encountered this term before, even though we do a fair bit of medical imaging work. We do, though, tend to build our own imaging tools, and the work I do tends to be more on MRS or on features already extracted from images (MRI, infra red)
From: Eric Diaz on 13 May 2010 01:36 Dear Walter, > Are you aware that you can set the root property DefaultFigureCreateFcn > and that the function you nominate there can add arbitrary toolbar > entries using uipushtool ? > I was not aware of that. I will look into that. hmmm...when I type in inspect(0), I don't see a DefaultFigureCreateFcn property. That's odd. I suppose it is just the same as the CreateFcn. Do you mean that the nominated function should be a uipushtool pushbutton? > Interestingly, I have never encountered this term before, even though we > do a fair bit of medical imaging work. We do, though, tend to build our > own imaging tools, and the work I do tends to be more on MRS or on > features already extracted from images (MRI, infra red) That is interesting. Perhaps the vernacular isn't as common in all fields, however it is the vernacular of medical imagers. I suppose you would not need it for MRS (I assume you mean MR spectroscopy). Not sure what you mean by features already extracted... Thanks for the tips.
From: Steven Lord on 13 May 2010 17:28 "Eric Diaz" <eric.diaz(a)gmail.com> wrote in message news:hsg344$q39$1(a)fred.mathworks.com... > Dear Walter, > >> Are you aware that you can set the root property DefaultFigureCreateFcn >> and that the function you nominate there can add arbitrary toolbar >> entries using uipushtool ? >> > > I was not aware of that. I will look into that. hmmm...when I type in > inspect(0), I don't see a DefaultFigureCreateFcn property. That's odd. That naming convention indicates that it's not a property of the root object itself but the syntax to set the default value all figures that are children of root (i.e. all of them) should use for their CreateFcn property when they are created. That syntax is described in this section of the documentation: http://www.mathworks.com/access/helpdesk/help/techdoc/creating_plots/f7-21465.html -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
From: us on 13 May 2010 18:16 "Eric Diaz" <eric.diaz(a)gmail.com> wrote in message <hsg344$q39$1(a)fred.mathworks.com>... > Dear Walter, > > > Are you aware that you can set the root property DefaultFigureCreateFcn > > and that the function you nominate there can add arbitrary toolbar > > entries using uipushtool ? > > > > I was not aware of that. I will look into that. hmmm...when I type in inspect(0), I don't see a DefaultFigureCreateFcn property. That's odd. I suppose it is just the same as the CreateFcn. Do you mean that the nominated function should be a uipushtool pushbutton? a hint: - to look at all/defined settings, use these get(0,'factory') get(0,'default') us
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: Open 16 workers by matlabpool on a local machine? Next: comparing matrices |