Hello!

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

Note that updates take place every 10 minutes, commits may not be seen immediately.
Layering of Segments.Done by Nikhil.
authorlingutln <lingutln@localhost>
Tue, 3 Jan 2012 23:02:06 +0000 (23:02 +0000)
committerlingutln <lingutln@localhost>
Tue, 3 Jan 2012 23:02:06 +0000 (23:02 +0000)
svn path=/; revision=249

Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java
Annotation/src/ie/dcu/segment/SegmentationMask.java
Annotation/src/ie/dcu/segment/SegmentationObject.java [new file with mode: 0644]

index 7de28f589d8fea2b956926b95e6a87f7faea10ea..42d6593a540ddf8578c3ad916bf9fb78ee70fd82 100644 (file)
@@ -218,9 +218,7 @@ public class SegmentationView extends Composite {
                        @Override
                        public void keyReleased(KeyEvent e) {
                                ArrayList<String> listElements = new ArrayList<String>();
-                               /*
-                                * For the down arrow functionality
-                                */
+                               //For the down arrow functionality
                                if(e.keyCode == 16777218)
                                {
                                        comboLabel.setListVisible(true);
index 6546cc567b0cffd929abee76b42beee5f598636f..c1d8cd90a5adf3c71dc0c3ec901f7db4a58eceff 100644 (file)
@@ -17,7 +17,7 @@ import org.eclipse.swt.graphics.*;
  * 
  * @author Kevin McGuinness
  */
-public final class SegmentationMask extends ByteMatrix {
+public class SegmentationMask extends ByteMatrix {
        
        /**
         * Serialization UID
diff --git a/Annotation/src/ie/dcu/segment/SegmentationObject.java b/Annotation/src/ie/dcu/segment/SegmentationObject.java
new file mode 100644 (file)
index 0000000..e18ba3f
--- /dev/null
@@ -0,0 +1,26 @@
+package ie.dcu.segment;
+
+
+/**
+ * Class that represents a independent segmentation mask.
+ * 
+ * A segmentation mask is a two dimensional matrix of byte values. It is used
+ * to represents which pixels in an image that are part of the foreground, and 
+ * which are part of the background.
+ * 
+ * @author Nikhil
+ */
+
+public final class SegmentationObject extends SegmentationMask{
+
+       /**
+        * 
+        */
+       private static final long serialVersionUID = 8321845179859248904L;
+
+       public SegmentationObject(int width, int height) {
+               super(width, height);
+               // TODO Auto-generated constructor stub
+       }
+       
+}