|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
27 #ifndef ImageLutWidget_H
28 #define ImageLutWidget_H
34 #include "ui_ImageLutWidget.h"
141 bool setColor(QString whichColor, QColor newColor);
151 Ui::ui_ImageLutWidget
ui;
163 QMap<camitk::ImageComponent*, ImageLutModel*>
allModels;
double getMaxBinValue()
get the highgest grey level value
Definition: ImageLutModel.cpp:101
double getWindowFromPercent(int)
get window value from a percentage
Definition: ImageLutModel.cpp:174
double getLevelFromPercent(int)
get level value from a percentage
Definition: ImageLutModel.cpp:169
int getPercentFromWindow(double)
get window value as a percentage between 0 and 100
Definition: ImageLutModel.cpp:164
int getPercentFromLevel(double)
get level value as a percentage between 0 and 100
Definition: ImageLutModel.cpp:159
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:77
The class HistogramGraphicsRectItem defines the histogram graphics item and is required to manage the...
Definition: HistogramGraphicsRectItem.h:43
double getMinValue()
get the minimal voxel value (lutMin)
Definition: ImageLutModel.cpp:141
virtual vtkSmartPointer< vtkWindowLevelLookupTable > getLut()
get the current lookup table
Definition: ImageComponent.cpp:742
QDockWidget * getDockWidget()
Get the QDockWidget* where this viewer is currently docked (or nullptr if it is not docked anywhere o...
Definition: Viewer.cpp:176
double getBinIndexAsDouble(double value, bool checkBound=true)
image value to the histogram value (required to show the current level/window values on the graph)
Definition: ImageLutModel.cpp:121
double getBinValue(int)
get the number of voxels that end up in a given bin index
Definition: ImageLutModel.cpp:91
void refresh() override
force refresh of all interactive viewers that are displaying sub-components as ImageComponent is not ...
Definition: ImageComponent.cpp:801
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:180
vtkSmartPointer< vtkImageData > getImageData() const override
get the image volume managed by this Component
Definition: ImageComponent.h:123
void setNumberOfBins(int)
change the number of bins
Definition: ImageLutModel.cpp:151
The class ImageLutModel model the histogram of a given vtkImageData.
Definition: ImageLutModel.h:46
double getMaxValue()
get the maximal voxel value (lutMax)
Definition: ImageLutModel.cpp:136
int getNumberOfBins()
get the current number of bins
Definition: ImageLutModel.cpp:146
Definition: Action.cpp:35