Difference between revisions of "Slicer3:VisualBlog"

From NAMIC Wiki
Jump to: navigation, search
Line 13: Line 13:
 
Image:EMSegmentation_Results_Screenshot.png|'''Image from davisb on Monday, April, 27, 2007'''<br>EMSegment screenshot---segmentation results and work-flow GUI
 
Image:EMSegmentation_Results_Screenshot.png|'''Image from davisb on Monday, April, 27, 2007'''<br>EMSegment screenshot---segmentation results and work-flow GUI
 
Image:Mimx.png|'''Image from magnotta on Monday, April, 16, 2007'''<br>Mimx Logo in Slicer3 for VoxelMeshingModule
 
Image:Mimx.png|'''Image from magnotta on Monday, April, 16, 2007'''<br>Mimx Logo in Slicer3 for VoxelMeshingModule
 +
Image:PythonMenu.png |'''Image from blezek on Tuesday, April, 10, 2007 at 8:00AM'''<br>Python incorporated into [[Slicer3:Python | Slicer]]. [[Slicer3:VisualBlog_Extension | Read more here...]]
 
Image:ZoomWindow.png|'''Image from wjp on Thursday, March 22, 2007 at  10:00AM'''<br>New GUI elements: Shows a magnified view in the GUI panel of an area around the mouse in any Slice Window.
 
Image:ZoomWindow.png|'''Image from wjp on Thursday, March 22, 2007 at  10:00AM'''<br>New GUI elements: Shows a magnified view in the GUI panel of an area around the mouse in any Slice Window.
 
Image:NavigationWindow.png|'''Image from wjp on Thursday, March 22, 2007 at  10:00AM'''<br>New GUI elements: Shows birds-eye-view of the scene relative to the outline of the 3D Viewer's window in the 'Manipulate 3D View' GUI panel.
 
Image:NavigationWindow.png|'''Image from wjp on Thursday, March 22, 2007 at  10:00AM'''<br>New GUI elements: Shows birds-eye-view of the scene relative to the outline of the 3D Viewer's window in the 'Manipulate 3D View' GUI panel.
Line 22: Line 23:
 
Image:FreeSurfer-Curvature-2006-09-08.png|'''Image from naucoin on Friday, September 08, 2006 at 12:14pm'''<br>The FreeSurfer colour lookup table has been added to the Slicer3 FreeSurfer Library. A curvature overlay file was loaded and displayed on bert/surf/lh.pial as loaded in via the Models module.
 
Image:FreeSurfer-Curvature-2006-09-08.png|'''Image from naucoin on Friday, September 08, 2006 at 12:14pm'''<br>The FreeSurfer colour lookup table has been added to the Slicer3 FreeSurfer Library. A curvature overlay file was loaded and displayed on bert/surf/lh.pial as loaded in via the Models module.
 
Image:FreeSurfer-Annotation-2006-09-08-B.png|'''Image from naucoin on Friday, September 08, 2006 at 11:24am'''<br>The FreeSurfer scalar reader has been integrated as a Slicer 3 Library, and surfaces can be read via the Models module. Shot shows standard bert/surf/lh.pial plus a test script to load the annotation labels file.
 
Image:FreeSurfer-Annotation-2006-09-08-B.png|'''Image from naucoin on Friday, September 08, 2006 at 11:24am'''<br>The FreeSurfer scalar reader has been integrated as a Slicer 3 Library, and surfaces can be read via the Models module. Shot shows standard bert/surf/lh.pial plus a test script to load the annotation labels file.
 +
Image:Editor-module-prototype.png|'''Image from pieper on Tuesday, August 08, 2006 at 4:26PM'''<br>A number of things have come together to allow the new prototype editor module. [[Slicer3:VisualBlog_Extension | More...]]
 
Image:Oblique-slice-test.png|'''Image from pieper on Friday, July 28, 2006 at 9:04AM'''<br>Test of making a non-orthogonal slice plane. This was created by manually setting the SliceToRAS matrix in the vtkMRMLSliceNode. GUI is not yet hooked up for oblique slices.
 
Image:Oblique-slice-test.png|'''Image from pieper on Friday, July 28, 2006 at 9:04AM'''<br>Test of making a non-orthogonal slice plane. This was created by manually setting the SliceToRAS matrix in the vtkMRMLSliceNode. GUI is not yet hooked up for oblique slices.
 
Image:Single-pixel.png|'''Image from pieper on Thursday, July 27, 2006 at 5:21PM'''<br>Shows that a single pixel voxel in black is exactly bounded by a unit cube in RAS space. Also the blinking eye buttons for slice visiblility are hooked up and there is now a red-yellow-green color coding for the slice windows (carried over from slicer2).
 
Image:Single-pixel.png|'''Image from pieper on Thursday, July 27, 2006 at 5:21PM'''<br>Shows that a single pixel voxel in black is exactly bounded by a unit cube in RAS space. Also the blinking eye buttons for slice visiblility are hooked up and there is now a red-yellow-green color coding for the slice windows (carried over from slicer2).
 +
Image:Textured-slice-planes.png|'''Image from pieper on Thursday, July 13, 2006 at 4:49PM'''<br>Test of interactive slice textured plane control. Not yet eneabled through GUI, but driven by a [http://www.na-mic.org:8000/websvn/filedetails.php?repname=Slicer3&amp;path=%2Ftrunk%2FBase%2FGUI%2FTesting%2FTestSliceModels.tcl&amp;rev=0&amp;sc=1 test script] that you can source into the console. [[Slicer3:VisualBlog_Extension | Instructions...]]
 
Image:Slicer3-lung.png|'''Image from pieper on Tuesday, July 11, 2006 at 3:39PM'''<br>Example model read from vtk file and loaded in slicer3
 
Image:Slicer3-lung.png|'''Image from pieper on Tuesday, July 11, 2006 at 3:39PM'''<br>Example model read from vtk file and loaded in slicer3
 
Image:Logo-widget.png|'''Image from pieper on Monday, July 03, 2006 at 3:35PM'''<br>Test of the new logo widget for adding module-specific watermark logos directly in the 3d view. Uses a vtkLogoWidget from VTK cvs head. Kitware is working on cmake support to notify developers when a VTK cvs update is needed. Once that is done, the logo code will be added to slicer3 svn.
 
Image:Logo-widget.png|'''Image from pieper on Monday, July 03, 2006 at 3:35PM'''<br>Test of the new logo widget for adding module-specific watermark logos directly in the 3d view. Uses a vtkLogoWidget from VTK cvs head. Kitware is working on cmake support to notify developers when a VTK cvs update is needed. Once that is done, the logo code will be added to slicer3 svn.
Line 37: Line 40:
 
<br>
 
<br>
  
=== Image from pieper on Tuesday, August 08, 2006 at 4:26PM ===
 
  
[[Image:Editor-module-prototype.png|200px]] A number of things have come together to allow the new prototype editor module:
 
* the label map layers are enabled
 
* lookup table support in the layer logic
 
* a new set of 2D UI widgets
 
* generalized painting infrastructure, which is based on requests and feedback from NA-MIC Core 3 users and other users of Slicer2
 
** paint brush has a 'threshold' option in which the label map only gets painted if the background intensity is in a specified range
 
** paint brush optionally won't overpaint existing voxels
 
** 'eye dropper' mode allows you to start painting with the label value where you first clicked (so you don't need to go to the UI to change the label color as often).
 
** all painting operations can happen on arbitrarily transformed volumes. This allows the painting plane to be aligned with the major axis of a structure like the hippocampus
 
** background layers are interpolated to current screen resolution (not limited to nearest neighbor sampling as in slicer2's draw mode)
 
** painting is performed using a circular brush with a diameter selected by the user. this makes it easier to follow the contours of curved biological structures.
 
** the cursor is turned off on mouse down and reappears on mouse up so you can see the exact pixels you are drawing (a circle around the cursor location indicates the mouse location)
 
 
A few limitations make this still a 'prototype' including:
 
 
* there's no convenient way to save your label maps volumes (except as dicom)
 
* the color map is currently random
 
* only label numbers 0-255 will show as distinct colors
 
* no hot keys for frequently used operations
 
* brush radius is in screen space units rather than RAS (means that the brush is effectively getting bigger and smaller as you zoom in and out)
 
* the paint algorithm is implemented inefficiently and can be slow when painting large numbers of pixels
 
* much of the code is written in tcl - new vtk classes are needed to implement the functionality more efficiently.
 
 
----
 
 
=== Image from pieper on Thursday, July 13, 2006 at 4:49PM ===
 
 
[[Image:Textured-slice-planes.png|200px]] Test of interactive slice textured plane control. Not yet eneabled through GUI, but driven by a [http://www.na-mic.org:8000/websvn/filedetails.php?repname=Slicer3&amp;path=%2Ftrunk%2FBase%2FGUI%2FTesting%2FTestSliceModels.tcl&amp;rev=0&amp;sc=1 test script] that you can source into the console.
 
Type Control-T to bring up interactor, then
 
 
source Base/GUI/Testing/TestSliceModels.tcl
 
SliceModelsAdd
 
 
This test does things the right way in that it creates model nodes for the slices and the updates of the planes is triggered by observers on the Slice Logic. But it does things the wrong way in that it creates the texture in an ''ad hoc'' way for now since we don't yet have a clean way to specify textures in the model display nodes. Also, the Viewer renders on every changes to the slice view, so as you pan/zoom/scroll the slices the redraws are jerky. Next step is to figure out how best to get this functionality integrated into the C++. Probably there should be a vtkSlicerSliceModelsLogic class that's managed by the vtkSlicerSliceGUI.
 
 
----
 
 
=== Image from blezek on Tuesday, April, 10, 2007 at 8:00AM ===
 
 
[[Image:PythonMenu.png | thumb | left|200px|Python incorporated into [[Slicer3:Python | Slicer]]]]
 
 
[[Image:PythonConsole.png | thumb | left| 280px|Bringing up the Python console]]<br><br><br><br><br><br><br><br><br>
 
 
 
Now, do something interesting with it!
 
 
>>> # import MatPlotLib via pylab functions so we can refer to them directly
 
>>> from pylab import *
 
>>> imshow ( data[128,:,:] )
 
>>> # Instruct pylab to show our plots... hit return to continue entering commands.
 
>>> show()
 
 
[[Image:Pythonimshow.png | thumb | left| 200px|Voila!]]
 
<br><br><br><br><br><br><br><br><br><br>
 
 
== About the VisualBlog ==
 
== About the VisualBlog ==
  
 
The VisualBlog is meant to be an easy place to upload screenshot so that both developers and outside observes can track the progress of the project.
 
The VisualBlog is meant to be an easy place to upload screenshot so that both developers and outside observes can track the progress of the project.
 
 
  
  

Revision as of 14:58, 26 October 2007

Home < Slicer3:VisualBlog




About the VisualBlog

The VisualBlog is meant to be an easy place to upload screenshot so that both developers and outside observes can track the progress of the project.


Plans

We're looking into adding the wikimage command as menu item in slicer to further simplify, but for now it can be run on the command line.

Every month or so we can copy the contents of the page to an archive location so this page doesn't get too long.