Hello!

To see the file structure, click on "tree".

Note that updates take place every 10 minutes, commits may not be seen immediately.
Started revisions on the help doc, pointed at a new helpURL location, and revised...
authorpreecej <preecej@localhost>
Fri, 5 Oct 2012 00:36:01 +0000 (00:36 +0000)
committerpreecej <preecej@localhost>
Fri, 5 Oct 2012 00:36:01 +0000 (00:36 +0000)
svn path=/; revision=390

Annotation/resources/config/actions.properties
Annotation/resources/doc/help.html
Annotation/src/ie/dcu/apps/ist/Application.java
Annotation/src/ie/dcu/apps/ist/dialogs/SaveReminderDialog.java

index bcc136b8db38dba24b2baa175805a55cc71fe76b..f598b907782b637fa134648d321d8c46428775bb 100644 (file)
@@ -94,7 +94,8 @@ action.NextAction.tooltip=Move to next image in directory
 action.HelpAction.text=&Help Contents...@Ctrl+F1
 action.HelpAction.image=file:resources/icons/help.png
 action.HelpAction.tooltip=Show application help browser
-action.HelpAction.helpURL=http://kspace.cdvp.dcu.ie/public/interactive-segmentation/doc/help.html
+action.HelpAction.helpURL=http://palea.cgrb.oregonstate.edu/viewsvn/jaiswallab/Annotation/resources/doc/help.html
+#action.HelpAction.helpURL=http://kspace.cdvp.dcu.ie/public/interactive-segmentation/doc/help.html
 
 action.AboutAction.text=&About...
 action.AboutAction.image=file:resources/icons/about.png
index 44a573f2c9a38fec05141e4f1ddce85e2716bcb3..64f06cf25849f88ef73723496feb70daf99c2158 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Interactive Segmentation Tool - User Guide</title><style type="text/css">
+<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>SIA (Semantic Image Annotator), v0.2 - User Guide</title><style type="text/css">
 .guicommand {
   font-family: "Courier New",Courier,monospace;
   font-weight: normal;
@@ -56,40 +56,32 @@ li {
 </style></head>
 <body>
 <div class="all">
-<h1>Interactive Segmentation Tool</h1>
+<h1>SIA (Semantic Image Annotator), v0.2</h1>
 <h2>User Guide</h2>
-<h3>Usage</h3>
-In this section I will outline how to perform typical operations using
-the tool, such as opening images, extracting objects and exporting
-segmentation masks.<br>
+SIA is an interactive image segmentation tool designed to allow curators of biological specimens to annotate image data with
+ontology terms.
+<br>
 <br>
 <span class="section">Open an Image</span>&nbsp;<br>
-To open an image, select <span class="guicommand">File-&gt;Open</span><span class="guishortcut"></span>. Recently open files can
+To open an image, select <span class="guicommand">File-&gt;Open</span><span class="guishortcut"></span>. 
+Recently opened files can
 be accessed using the <span class="guicommand">File-&gt;Open
 Recent</span> menu. Alternatively, an image file can be dragged
 from your file system and dropped into the application to open it.
 Currently images of type JPEG, PNG, GIF, and BMP are supported.<br>
 <br>
-<span class="section">Select a Segmenter</span><br>
-There are several different segmenters available in the tool. These can
-be selected from the <span class="guicommand">Tools</span>
-menu<span class="guicommand"></span>. To select one,
-click on it.<br>
-<br>
 <span class="section">Segmenting the Image&nbsp;</span><br class="section">
-Once you have an image open and a segmenter selected, you can segment
-the image by drawing scribbles on the image. First, move the mouse over
-the object you want to extract. Left click and drag inside the object
-to draw some scribbles inside the object. Now, move the mouse outside
-the object to some background pixels. Using the right mouse button,
-scribble outside the object to select some background. If using Mac
-OSX, or if you do not have a right mouse button (Graphics Tablet etc),
-you can use <span style="font-family: monospace;">Ctrl</span>
-and click instead of right click.<br>
-<br>
-The image will be segmented and the foreground will be brightened and
-the background darkened. If you are not happy with the segmentation,
-you can add more foreground and background scribbles.<br>
+Once you have an image open, you can segment
+the image by drawing lines on the image. First, move the mouse over
+the object you want to segment. Left-click and drag the mouse
+to draw a red line inside the object. This marks, or identifies, the foreground to be segmented.
+Next move the mouse outside of the object. Right-click and and drag the mouse to draw a blue line, 
+marking the background (Mac OS X and tablet users: use <span style="font-family: monospace;">Ctrl-click</span>
+).
+<br><br>
+If auto-segmentation is turned on (see Preferences), the image will be segmented automatically, with the foreground brightened and
+the background darkened. If you are not happy with the segmentation, you may undo your mouse input (see next section)
+or add additional foreground and background lines to refine the segmentation.<br>
 <br>
 <span class="section">Undo, Redo and Clear</span><br>
 If you make a mistake, it can be undone by selecting <span class="guicommand">Edit-&gt;Undo</span><span style="font-weight: bold;"><span style="font-weight: bold;"></span> </span>or
@@ -114,7 +106,7 @@ visible or to quickly mark up more pixels.<br>
 <span class="section">Views</span><br>
 It is sometimes useful to view the segmentation results in different
 ways. The default selected view is called "Combined" and shows the
-image, it's segmentation highlighted and the scribbles all overlayed on
+image, its segmentation highlighted and the scribbles all overlayed on
 the same image. By using the drop down menu, you can select a different
 view:<br>
 <ul>
@@ -124,17 +116,6 @@ darkened. The foreground and background scribbles are overlayed.</li>
 <li><span style="font-style: italic;">Original:</span>
 Shows the original image, without any segmentation or scribbles
 overlayed.</li>
-<li><span style="font-style: italic;">Markup:</span>
-Shows only the foreground and background markup (scribbles).</li>
-<li><span style="font-style: italic;">Mask:</span>
-Shows the segmentation mask. That is, an image such that the foreground
-area is completely white and the background area completely black.</li>
-<li><span style="font-style: italic;">Foreground
-Only:</span> Removes all background elements and displays only
-the foreground object.</li>
-<li><span style="font-style: italic;">Outline
-Overlayed: </span>Displays and outline of the object overlayed
-onto the original image.</li>
 </ul>
 <strong>Note:</strong><span style="font-weight: bold;">
 </span>Only the combined view displays the foreground and
@@ -142,28 +123,15 @@ background markup (scribbles). So if you are wondering where the
 scribbles disappeared to, select the combined view to make them visible.<br>
 <br class="section">
 <span class="section">Saving and Exporting</span><br>
-To save an work in progress segmentation, select <span class="guicommand">File-&gt;Save</span> or <span class="guicommand">File-&gt;Save As</span>. This
+To save an work in progress segmentation, select <span class="guicommand">File-&gt;Save</span>. This
 will save the current segmentation and markup as a context file (<span style="font-family: monospace;">.ctx</span>). When
 finished segmenting an image, you may want to export the view as an
 image. To export the current view select <span class="guicommand">File-&gt;Export</span>.
 For example, if you wanted to save the segmentation mask, select the
 mask view and then <span class="guicommand">File-&gt;Export</span>.
 <br>
-<br class="section">
-<span class="section">Configuring a Segmenter</span><br>
-Some segmenters have parameters and options that can are configurable.
-To configure the selected segmenter, select <span class="guicommand">Tools-&gt;Configure
-Segmenter</span>, or click the <img style="width: 16px; height: 16px;" alt="Configure" src="icons/configure.png"> button in the toolbar.<br>
-<br class="section">
-<span class="section">Navigating Directories of Images</span><br>
-To quickly jump to the next or previous image in the current directory
-(the one containing the open image), use the <span class="guicommand">Go-&gt;Next</span> and <span class="guicommand">Go-&gt;Previous</span> menu
-items.<br>
-<br>
-<span class="section">Experiments</span><br class="section">
-Experiment files can be opened using the <span class="guicommand">Tools-&gt;Open
-Experiment</span> menu item.<br><br><br>
-<div class="footer">Kevin McGuinness 2008
+<br><br>
+<div class="footer">Orig. Kevin McGuinness 2008, Ed. Justin Preece 2012
 </div>
 </div>
 </body></html>
\ No newline at end of file
index 738a61dd6049fc1be62b4e936bc7ac4c050cc5f5..25139e6c90530c9a088c884aa361924b8ce7773e 100644 (file)
@@ -19,7 +19,7 @@ import static ie.dcu.util.OsUtils.*;
 public class Application {
        public static final String APP_ID   = "ist";
        public static final String APP_NAME = "SIA (Semantic Image Annotator)";
-       public static final String APP_VERSION  = "0.1";
+       public static final String APP_VERSION  = "0.2";
        public static final String APP_RESOURCE_DIR = "resources";
        
        /**
index e7e55ae20e3269bdc3d6e05b384a73f0edb7ed82..cc5359c497692953db75c4d44ce23dd71b000722 100644 (file)
@@ -34,7 +34,7 @@ public class SaveReminderDialog extends Dialog {
        private static final String TITLE = "Save Reminder";
        private static final String QUESTION = "Do you wish to save your work before closing this file?";
        private static final String SAVE_TEXT = "Save now and then close this file:";
-       private static final String NOSAVE_TEXT = "Do NOT save this file; just close it:";
+       private static final String NOSAVE_TEXT = "Just close it (CAUTION: unsaved changes will be lost):";
        private static final String CANCEL_TEXT = "Do NOT close this file:";
        
        // Dialog buttons