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

From NAMIC Wiki
Jump to: navigation, search
 
(24 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
{|
 
{|
 
|- bgcolor="#abcdef"
 
|- bgcolor="#abcdef"
! Widget !! Panels
+
! Widget !! Panels !! Note
 
|-
 
|-
|| Wizard '''JC : Please add screen shot''' - note that the buttons change based on the panels || Generic
+
|| [[#WorkflowManager-ControlButton|WorkflowManager - ControlButton]] || Generic || Note that the buttons change based on the panels
 
|-
 
|-
 
|| [[#TaskSelector|TaskSelector]] || Define Task
 
|| [[#TaskSelector|TaskSelector]] || Define Task
Line 16: Line 16:
 
|| [[#Segmentation Mode|Segmentation Mode]] || Define Task
 
|| [[#Segmentation Mode|Segmentation Mode]] || Define Task
 
|-  
 
|-  
|| [[#InputChannel selector|InputChannel selector]] || Define Input Channels
+
|| [[#InputChannel selector|InputChannel selector]] || Define Input Channels ||  Qt: Should be embedded in qMRMLNodeComboBoxTableWidget
 
|-
 
|-
|| [[#DynamicListOfInputChannel|DynamicListOfInputChannel]] || Define Input Channels
+
|| [[#DynamicListOfInputChannel|DynamicListOfInputChannel]] || Define Input Channels || Qt: Create a qMRMLNodeComboBoxTableWidget
 
|-
 
|-
|| Input channel aligned || Define Input Channels
+
|| Input channel aligned || Define Input Channels ||
 
 
 
|-
 
|-
|| Simple Mode GUI || Simple Mode  
+
|| [http://wiki.na-mic.org/Wiki/index.php/File:Projects-ARRA-SlicerEM-Developer-EMSegment_step_SimpleMode.png Simple Mode GUI] || Simple Mode  
 
|-
 
|-
 
|| [[#AnatomicalTree|AnatomicalTree]] || Define Anatomical Tree, Define Atlas
 
|| [[#AnatomicalTree|AnatomicalTree]] || Define Anatomical Tree, Define Atlas
 
|-
 
|-
|| [[#NodeAttributes|NodeAttributes]] - please note that it changes - for superclass only shows name !|| Define Anatomical Tree
+
|| [[#NodeAttributes|NodeAttributes]] || Define Anatomical Tree ||  Note that it changes - for superclass only shows name !
 
|-
 
|-
|| [[#ProbabilityMapSelector|ProbabilityMapSelector]] || Define Atlas
+
|| [[#ProbabilityMapSelector|ProbabilityMapSelector]] || Define Atlas || Qt:Use qMRMLNodeComboBox with node type: vtkMRMLVolumeNode
 
|-
 
|-
|| [[#AtlasToInputRegistration|AtlasToInputRegistration]] || Edit registration parameters
+
|| [[#AtlasToInputRegistration|AtlasToInputRegistration]] || Edit registration parameters || Qt: Extend from qMRMLWidgets and use mrmlManager
 
|-
 
|-
 
|| [[#IntensityDistribution|IntensityDistribution]] - lets talk about redesign || Specify internsity distributions
 
|| [[#IntensityDistribution|IntensityDistribution]] - lets talk about redesign || Specify internsity distributions
 
|-
 
|-
|| '''Display Class Distribution Graph''' - Note that it changes when we have on input channel vs two || Specify internsity distributions
+
|| [[#PlotClassDistribution1D|PlotClassDistribution1D]] || Plot class distribution 1D || Note that it changes when we have on input channel vs two  
 +
|-
 +
|| [[#PlotClassDistribution2D|PlotClassDistribution2D]] || Plot class distribution 2D || Note that it changes when we have on input channel vs two
 
|-
 
|-
 
|| [[#WeightEditor|WeightEditor]] || Edit node-based parameters
 
|| [[#WeightEditor|WeightEditor]] || Edit node-based parameters
Line 43: Line 44:
 
|| [[#StoppingConditionsEditor|StoppingConditionsEditor]] || Edit node-based parameters
 
|| [[#StoppingConditionsEditor|StoppingConditionsEditor]] || Edit node-based parameters
 
|-
 
|-
|| Dynamic Preprocessing panel || Preprocessing  
+
|| [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]
 
|-
 
|-
 
|| [[#WorkingDirSelector|WorkingDirSelector]] || Run segmentation
 
|| [[#WorkingDirSelector|WorkingDirSelector]] || Run segmentation
Line 53: Line 54:
 
|| [[#OutputLabelMapSelector|OutputLabelMapSelector]] || Run segmentation
 
|| [[#OutputLabelMapSelector|OutputLabelMapSelector]] || Run segmentation
 
|-
 
|-
|| [[#Colormap selector|Colormap selector]]  - '''JC lets talk about the widget''' - i think functionality already exists in slicer   || Define Anatomical Tree
+
|| [[#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]] - '''JC lets talk about the widget''' - i think functionality already exists in slicer || Define Anatomical Tree
+
|| [[#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
 
|| Multi-thread enabled || Run Segmentation
Line 65: Line 66:
  
 
= 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 ==
* Existing KWWidget
 
 
{|
 
{|
|[[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]]
 
|}
 
|}
 
* What to do?
 
** Create a qMRMLNodeComboBoxTableWidget
 
  
 
== 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 111: 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 122: 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 131: 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