Difference between revisions of "Projects:ARRA:SlicerEM:Developer:WidgetsToPort"

From NAMIC Wiki
Jump to: navigation, search
 
(30 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
* This document illustrates the widgets used in KWWidgets and their Qt counterpart
 
* This document illustrates the widgets used in KWWidgets and their Qt counterpart
  
= List of Widgets and associated panel =
+
= List of Widgets and associated panels (ordered by priority) =
 
''Ordered by priority. Different panels are illustrated [[Projects:ARRA:SlicerEM:Developer:ExampleWorkflow|here]]''.
 
''Ordered by priority. Different panels are illustrated [[Projects:ARRA:SlicerEM:Developer:ExampleWorkflow|here]]''.
* [[#TaskSelector|TaskSelector]]
+
{|
** Panels: Define Task
+
|- bgcolor="#abcdef"
* [[#Segmentation Mode|Segmentation Mode]]
+
! Widget !! Panels !! Note
** Panels: Define Task
+
|-
* [[#InputChannel selector|InputChannel selector]]
+
|| [[#WorkflowManager-ControlButton|WorkflowManager - ControlButton]] || Generic || Note that the buttons change based on the panels
** Panels: Define Input Channels
+
|-
* [[#DynamicListOfInputChannel|DynamicListOfInputChannel]]
+
|| [[#TaskSelector|TaskSelector]] || Define Task
** Panels: Define Input Channels
+
|-
* [[#AnatomicalTree|AnatomicalTree]]
+
|| [[#Segmentation Mode|Segmentation Mode]] || Define Task
** Panels: Define Anatomical Tree, Define Atlas
+
|-
* [[#NodeAttributes|NodeAttributes]]
+
|| [[#InputChannel selector|InputChannel selector]] || Define Input Channels ||  Qt: Should be embedded in qMRMLNodeComboBoxTableWidget
** Panels: Define Anatomical Tree
+
|-
* [[#Colormap selector|Colormap selector]]
+
|| [[#DynamicListOfInputChannel|DynamicListOfInputChannel]] || Define Input Channels || Qt: Create a qMRMLNodeComboBoxTableWidget
** Panels: Define Anatomical Tree
+
|-
* [[#ColorMapViewOnly|ColorMapViewOnly]]
+
|| Input channel aligned || Define Input Channels ||
** Panels: Define Anatomical Tree
+
|-
* [[#ProbabilityMapSelector|ProbabilityMapSelector]]
+
|| [http://wiki.na-mic.org/Wiki/index.php/File:Projects-ARRA-SlicerEM-Developer-EMSegment_step_SimpleMode.png Simple Mode GUI] || Simple Mode
** Panels: Define Atlas
+
|-
* [[#AtlasToInputRegistration|AtlasToInputRegistration]]
+
|| [[#AnatomicalTree|AnatomicalTree]] || Define Anatomical Tree, Define Atlas
** Panels: Edit registration parameters
+
|-
* [[#IntensityDistribution|IntensityDistribution]]
+
|| [[#NodeAttributes|NodeAttributes]] || Define Anatomical Tree ||  Note that it changes - for superclass only shows name !
** Panels: Specify internsity distributions
+
|-
* [[#ManualSampling|ManualSampling]]
+
|| [[#ProbabilityMapSelector|ProbabilityMapSelector]] || Define Atlas || Qt:Use qMRMLNodeComboBox with node type: vtkMRMLVolumeNode
** Panels: Specify internsity distributions
+
|-
* [[#WeightEditor|WeightEditor]]
+
|| [[#AtlasToInputRegistration|AtlasToInputRegistration]] || Edit registration parameters || Qt: Extend from qMRMLWidgets and use mrmlManager
** Panels: Edit node-based parameters
+
|-
* [[#ClassWeightsOverview|ClassWeightsOverview]]
+
|| [[#IntensityDistribution|IntensityDistribution]] - lets talk about redesign || Specify internsity distributions
** Panels: Edit node-based parameters
+
|-
* [[#StoppingConditionsEditor|StoppingConditionsEditor]]
+
|| [[#PlotClassDistribution1D|PlotClassDistribution1D]] || Plot class distribution 1D || Note that it changes when we have on input channel vs two
** Panels: Edit node-based parameters
+
|-
* [[#PrintConfig|PrintConfig]]
+
|| [[#PlotClassDistribution2D|PlotClassDistribution2D]] || Plot class distribution 2D || Note that it changes when we have on input channel vs two
** Panels: Edit node-based parameters
+
|-
* [[#AdvancedNodeParameterEditor|AdvancedNodeParameterEditor]]
+
|| [[#WeightEditor|WeightEditor]] || Edit node-based parameters
** Panels: Edit node-based parameters
+
|-
* [[#WorkingDirSelector|WorkingDirSelector]]
+
|| [[#ClassWeightsOverview|ClassWeightsOverview]] || Edit node-based parameters
** Panels: Run segmentation
+
|-
* [[#OutputLabelMapSelector|OutputLabelMapSelector]]
+
|| [[#StoppingConditionsEditor|StoppingConditionsEditor]] || Edit node-based parameters
** Panels: Run segmentation
+
|-
* [[#VOIEditor|VOIEditor]]
+
|| [http://wiki.na-mic.org/Wiki/index.php/File:Projects-ARRA-SlicerEM-Developer-EMSegment_step6.png Dynamic Preprocessing panel] || Preprocessing || Currently implemented in Tcl. See function ShowUserInterface in [http://viewvc.slicer.org/viewcvs.cgi/trunk/Modules/EMSegment/Tasks/MRI-Human-Brain.tcl?rev=14433&view=markup MRI-human-brain.tcl]
** Panels: Run segmentation
+
|-
 +
|| [[#WorkingDirSelector|WorkingDirSelector]] || Run segmentation
 +
|-
 +
|| [[#VOIEditor|VOIEditor]] || Run segmentation
 +
|-
 +
|| [[#ManualSampling|ManualSampling]] || Specify internsity distributions
 +
|-
 +
|| [[#OutputLabelMapSelector|OutputLabelMapSelector]] || Run segmentation
 +
|-
 +
|| [[#Colormap selector|Colormap selector]] || Define Anatomical Tree  || <del style="color:gray">'''JC lets talk about the widget''' - i think functionality already exists in slicer</del>
 +
|-
 +
|| [[#ColorMapViewOnly|ColorMapViewOnly]] || Define Anatomical Tree || <del style="color:gray">'''JC lets talk about the widget''' - i think functionality already exists in slicer</del>
 +
|-
 +
|| Multi-thread enabled || Run Segmentation
 +
|-
 +
|| [[#PrintConfig|PrintConfig]] || Edit node-based parameters
 +
|-
 +
|| [[#AdvancedNodeParameterEditor|AdvancedNodeParameterEditor]] || Edit node-based parameters
 +
|}
  
 
= Widget screenshots =  
 
= Widget screenshots =  
 +
 +
== WorkflowManager-ControlButton ==
 +
{|
 +
|[[Image:Projects-ARRA-SlicerEM-Developer-EMSegment_widget_0_controlBar1.png]]
 +
|-
 +
|[[Image:Projects-ARRA-SlicerEM-Developer-EMSegment_widget_0_controlBar2.png]]
 +
|}
 +
 
== TaskSelector ==
 
== TaskSelector ==
 +
 
{|
 
{|
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_0_TaskSelector.png‎]]
+
|- bgcolor="#abcdef"
 +
! KWWidget !! Qt
 +
|-
 +
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_0_TaskSelector.png‎]] || [[Image:Projects-ARRA-SlicerEM-EMSegment_widget_0_TaskSelector_Qt.png]]
 
|}
 
|}
  
 
== Segmentation Mode ==
 
== Segmentation Mode ==
 
{|
 
{|
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_1_SegmentationMode.png‎]]
+
|- bgcolor="#abcdef"
 +
! KWWidget !! Qt
 +
|-
 +
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_1_SegmentationMode.png‎‎]] || [[Image:Projects-ARRA-SlicerEM-EMSegment_widget_1_SegmentationMode_Qt.png]]
 
|}
 
|}
  
 
== InputChannel selector ==
 
== InputChannel selector ==
 
{|
 
{|
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_2_InputChannelSelector.png]]
+
|- bgcolor="#abcdef"
 +
! KWWidget !! Qt
 +
|-
 +
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_2_InputChannelSelector.png‎‎]] || [[#DynamicListOfInputChannel|See DynamicListOfInputChannel]]
 
|}
 
|}
  
 
== DynamicListOfInputChannel ==
 
== DynamicListOfInputChannel ==
 
{|
 
{|
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_3_DynamicListOfInputChannel.png]]
+
|- bgcolor="#abcdef"
 +
! KWWidget !! Qt
 +
|-
 +
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_3_DynamicListOfInputChannel.png‎‎]] || [[Image:Projects-ARRA-SlicerEM-EMSegment_widget_3_DynamicListOfInputChannel_Qt.png]]
 
|}
 
|}
  
 
== AnatomicalTree ==
 
== AnatomicalTree ==
 
{|
 
{|
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_4_AnatomicalTree.png]]
+
|- bgcolor="#abcdef"
 +
! KWWidget !! Qt
 +
|-
 +
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_4_AnatomicalTree.png‎‎]] || [[Image:Projects-ARRA-SlicerEM-EMSegment_widget_4_AnatomicalTree_Qt.png]]
 
|}
 
|}
 +
  
 
== NodeAttributes ==
 
== NodeAttributes ==
 
{|
 
{|
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_4b_NodeAttributes.png]]
+
|- bgcolor="#abcdef"
 +
! KWWidget !! Qt
 +
|-
 +
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_4b_NodeAttributes.png]] || [[#AnatomicalTree|See AnatomicalTree]]
 
|}
 
|}
  
Line 90: Line 136:
 
== ProbabilityMapSelector ==
 
== ProbabilityMapSelector ==
 
{|
 
{|
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_7_ProbabilityMapSelector.png]]
+
|- bgcolor="#abcdef"
 +
! KWWidget !! Qt
 +
|-
 +
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_7_ProbabilityMapSelector.png]] || [[Image:Projects-ARRA-SlicerEM-EMSegment_widget_7_ProbabilityMapSelector_Qt.png]]
 
|}
 
|}
  
Line 101: Line 150:
 
{|
 
{|
 
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_9_IntensityDistribution.png]]
 
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_9_IntensityDistribution.png]]
 +
|}
 +
 +
== PlotClassDistribution1D ==
 +
{|
 +
|[[Image:Projects-ARRA-SlicerEM-Developer-EMSegment widget 9b PlotClassDistribution1D.png]]
 +
|}
 +
 +
== PlotClassDistribution2D ==
 +
{|
 +
|[[Image:Projects-ARRA-SlicerEM-Developer-EMSegment widget 9c PlotClassDistribution2D.png]]
 
|}
 
|}
  
Line 110: Line 169:
 
== WeightEditor ==
 
== WeightEditor ==
 
{|
 
{|
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_11a_WeightEditor.png]]
+
|- bgcolor="#abcdef"
 +
! KWWidget !! Qt
 +
|-
 +
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_11a_WeightEditor.png]] || [[#ClassWeightsOverview|See ClassWeightsOverview]]
 
|}
 
|}
  
 
== ClassWeightsOverview ==
 
== ClassWeightsOverview ==
 
{|
 
{|
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_11b_ClassWeightsOverview.png]]
+
|- bgcolor="#abcdef"
 +
! KWWidget !! Qt
 +
|-
 +
|[[Image:Projects-ARRA-SlicerEM-EMSegment_widget_11b_ClassWeightsOverview.png]] || [[Image:Projects-ARRA-SlicerEM-EMSegment_widget_11b_ClassWeightsOverview_Qt.png]]
 
|}
 
|}
  

Latest revision as of 06:33, 19 August 2010

Home < Projects:ARRA:SlicerEM:Developer:WidgetsToPort

Back to SlicerEM:Developer page

Summary

  • This document illustrates the widgets used in KWWidgets and their Qt counterpart

List of Widgets and associated panels (ordered by priority)

Ordered by priority. Different panels are illustrated here.

Widget Panels Note
WorkflowManager - ControlButton Generic Note that the buttons change based on the panels
TaskSelector Define Task
Segmentation Mode Define Task
InputChannel selector Define Input Channels Qt: Should be embedded in qMRMLNodeComboBoxTableWidget
DynamicListOfInputChannel Define Input Channels Qt: Create a qMRMLNodeComboBoxTableWidget
Input channel aligned Define Input Channels
Simple Mode GUI Simple Mode
AnatomicalTree Define Anatomical Tree, Define Atlas
NodeAttributes Define Anatomical Tree Note that it changes - for superclass only shows name !
ProbabilityMapSelector Define Atlas Qt:Use qMRMLNodeComboBox with node type: vtkMRMLVolumeNode
AtlasToInputRegistration Edit registration parameters Qt: Extend from qMRMLWidgets and use mrmlManager
IntensityDistribution - lets talk about redesign Specify internsity distributions
PlotClassDistribution1D Plot class distribution 1D Note that it changes when we have on input channel vs two
PlotClassDistribution2D Plot class distribution 2D Note that it changes when we have on input channel vs two
WeightEditor Edit node-based parameters
ClassWeightsOverview Edit node-based parameters
StoppingConditionsEditor Edit node-based parameters
Dynamic Preprocessing panel Preprocessing Currently implemented in Tcl. See function ShowUserInterface in MRI-human-brain.tcl
WorkingDirSelector Run segmentation
VOIEditor Run segmentation
ManualSampling Specify internsity distributions
OutputLabelMapSelector Run segmentation
Colormap selector Define Anatomical Tree JC lets talk about the widget - i think functionality already exists in slicer
ColorMapViewOnly Define Anatomical Tree JC lets talk about the widget - i think functionality already exists in slicer
Multi-thread enabled Run Segmentation
PrintConfig Edit node-based parameters
AdvancedNodeParameterEditor Edit node-based parameters

Widget screenshots

WorkflowManager-ControlButton

Projects-ARRA-SlicerEM-Developer-EMSegment widget 0 controlBar1.png
Projects-ARRA-SlicerEM-Developer-EMSegment widget 0 controlBar2.png

TaskSelector

KWWidget Qt
Projects-ARRA-SlicerEM-EMSegment widget 0 TaskSelector.png Projects-ARRA-SlicerEM-EMSegment widget 0 TaskSelector Qt.png

Segmentation Mode

KWWidget Qt
Projects-ARRA-SlicerEM-EMSegment widget 1 SegmentationMode.png Projects-ARRA-SlicerEM-EMSegment widget 1 SegmentationMode Qt.png

InputChannel selector

KWWidget Qt
Projects-ARRA-SlicerEM-EMSegment widget 2 InputChannelSelector.png See DynamicListOfInputChannel

DynamicListOfInputChannel

KWWidget Qt
Projects-ARRA-SlicerEM-EMSegment widget 3 DynamicListOfInputChannel.png Projects-ARRA-SlicerEM-EMSegment widget 3 DynamicListOfInputChannel Qt.png

AnatomicalTree

KWWidget Qt
Projects-ARRA-SlicerEM-EMSegment widget 4 AnatomicalTree.png Projects-ARRA-SlicerEM-EMSegment widget 4 AnatomicalTree Qt.png


NodeAttributes

KWWidget Qt
Projects-ARRA-SlicerEM-EMSegment widget 4b NodeAttributes.png See AnatomicalTree

Colormap selector

Projects-ARRA-SlicerEM-EMSegment widget 5 Colormap selector.png

ColorMapViewOnly

Projects-ARRA-SlicerEM-EMSegment widget 6 ColorMapViewOnly.png

ProbabilityMapSelector

KWWidget Qt
Projects-ARRA-SlicerEM-EMSegment widget 7 ProbabilityMapSelector.png Projects-ARRA-SlicerEM-EMSegment widget 7 ProbabilityMapSelector Qt.png

AtlasToInputRegistration

Projects-ARRA-SlicerEM-EMSegment widget 8 AtlasToInputRegistration.png

IntensityDistribution

Projects-ARRA-SlicerEM-EMSegment widget 9 IntensityDistribution.png

PlotClassDistribution1D

Projects-ARRA-SlicerEM-Developer-EMSegment widget 9b PlotClassDistribution1D.png

PlotClassDistribution2D

Projects-ARRA-SlicerEM-Developer-EMSegment widget 9c PlotClassDistribution2D.png

ManualSampling

Projects-ARRA-SlicerEM-EMSegment widget 10 ManualSampling.png

WeightEditor

KWWidget Qt
Projects-ARRA-SlicerEM-EMSegment widget 11a WeightEditor.png See ClassWeightsOverview

ClassWeightsOverview

KWWidget Qt
Projects-ARRA-SlicerEM-EMSegment widget 11b ClassWeightsOverview.png Projects-ARRA-SlicerEM-EMSegment widget 11b ClassWeightsOverview Qt.png

StoppingConditionsEditor

Projects-ARRA-SlicerEM-EMSegment widget 12 StoppingConditionsEditor.png

PrintConfig

Projects-ARRA-SlicerEM-EMSegment widget 13 PrintConfig.png

AdvancedNodeParameterEditor

Projects-ARRA-SlicerEM-EMSegment widget 14 AdvancedNodeParameterEditor.png

WorkingDirSelector

Projects-ARRA-SlicerEM-EMSegment widget 15a WorkingDirSelector.png

OutputLabelMapSelector

Projects-ARRA-SlicerEM-EMSegment widget 15b OutputLabelMapSelector.png

VOIEditor

Projects-ARRA-SlicerEM-EMSegment widget 15c VOIEditor.png