Seed Editor

From FarsightWiki
Revision as of 03:20, 29 July 2009 by Raghav (Talk | contribs)
Jump to: navigation, search

Region Growing methods for image segmentation require a reasonable location of seed points. The location of seed points is usually the output of an algorithm and is provided by the user as an input to the segmentation routine. However, if the seeds are an output of an algorithm there might be errors in the seed detection process and result in an incorrect segmentation. Also, it would be preferable to have a viewer/editor for 3-D microscopy images which enables the user to view the location of the seeds and edit them if necessary. The Seed Editor allows the user to perform these operations in 3D.The Seed Editor contains 3 views with synchronized handles. If a handle is moved in one view, it also moves in the other two views such that all the three handles point to the same location in different views.


Contents

Viewing the Seeds

1. The first view is the Volume view allows the user to view the entire image in 3D along with the seeds. The user can rotate the actors and explore the scene in view. There are 3 sliders in this view.The first slider allows the user to adjust the brightness of the image.The second slider allows the user to adjust the opacity of the image.The third slider allows the user to adjust the size of the seeds. These sliders help us to visualize the image better and let the user have control over the scene rendered.

2. The second view (bottom left) is the YZ or the Sagittal view at the location of the handle. It is updated whenever the handle in the volume view or sagittal view moves to a new point.

3. The third view (bottom right) is the XY or the Axial view at the location of the handle.It is updated whenever the handle in the volume view or sagittal view moves to a new point.


Seed File Format

The format for the seed file is simply the x, y z co-ordinates of the seed points.

//Comment: x coordinate, y coordinate, z coordinate
25 35 1
22 33 12
........

Open Image & Seed (Location) File

After the GUI pops up, the user can load the Image and the seed file by clicking the "Load Image and Seed File" option in the File Menu. The system opens a file browser using which the user has to select the Image. After selecting the image, the system displays another file browser using which the user can select the text file containing the seeds. If the user selected valid files, all the three views are populated.

Editing the Seeds

The Seed Editor allows the user to Add and Delete Seeds.

Adding Seeds

After selecting the "Add Seeds" checkbox, the Seed Editor enters into the Add mode. The user can then use the handles in the Sagittal and Axial views to place the seeds and then click the [APPLY] button to apply the changes. After clicking the [PLACE SEED] button, the seed appears as a sphere in the image at the location. To differentiate between the newly added seeds and the original seeds, the inital color of the seed is green. Once, the user clicks the [APPLY] button, the seed color changes to grey and there is no longer any difference between the seed placed by the user and the original set of seeds.

Deleting Seeds

After selecting the "Delete Seeds" checkbox, the Seed Editor enters into the Delete mode. The user can then click the seeds in the Volume view to delete them. However, these seeds are not immediately deleted from the picture to prevent any accidental deletions by the user. After clicking the seeds, the seed color changes to red. Once, the user clicks the [APPLY] button, the seeds are deleted permanently from the image. If any seed is selected accidentally, the user can select the "Undo Selections for Delete" checkbox and click the seed again. This will undo the Delete operation.

Save Seeds

Once the user is satisified with the final set of seeds, the seeds can be saved by clicking the "Save Seeds" option in the File Menu. The system opens a file browser and the user can save the updated seed file in the desired location.

Personal tools