Hello!

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

Note that updates take place every 10 minutes, commits may not be seen immediately.
Labeling independent segments. Done by Nikhil.
authorlingutln <lingutln@localhost>
Tue, 17 Jan 2012 23:27:54 +0000 (23:27 +0000)
committerlingutln <lingutln@localhost>
Tue, 17 Jan 2012 23:27:54 +0000 (23:27 +0000)
svn path=/; revision=264

Annotation/.classpath
Annotation/src/ie/dcu/segment/painters/CombinedPainter.java

index 61c9bd15a41fc425ceb98dd42ebd3e345b58f214..22412b6c9a2c02f608af7c008e1447f0c9cabf62 100644 (file)
@@ -1,11 +1,11 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<classpath>\r
-       <classpathentry kind="src" path="src"/>\r
-       <classpathentry excluding="src/" kind="src" path=""/>\r
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>\r
-       <classpathentry kind="lib" path="C:/Users/Nikhil/workspace/Annotation/library/commons-lang3-3.1.jar"/>\r
-       <classpathentry kind="lib" path="C:/Users/Nikhil/workspace/Annotation/library/jface.jar"/>\r
-       <classpathentry kind="lib" path="C:/Users/Nikhil/workspace/Annotation/library/json.jar"/>\r
-       <classpathentry kind="lib" path="C:/Users/Nikhil/workspace/image_annotation/lib/swt-win.jar"/>\r
-       <classpathentry kind="output" path="bin"/>\r
-</classpath>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" path="src"/>
+       <classpathentry excluding="src/" kind="src" path=""/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+       <classpathentry kind="lib" path="/home/lingutln/workspace/Annotation/library/commons-lang3-3.1.jar"/>
+       <classpathentry kind="lib" path="/home/lingutln/workspace/Annotation/library/jface.jar"/>
+       <classpathentry kind="lib" path="/home/lingutln/workspace/Annotation/library/json.jar"/>
+       <classpathentry kind="lib" path="/home/lingutln/workspace/Annotation/library/swt-gtk-64.jar"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
index 30e49db8df0575e7b40230b9ce5e0cbd01489d2f..fee86945a35cd919845ecb0da1433d669cd9e330 100644 (file)
@@ -118,7 +118,7 @@ public class CombinedPainter implements SegmentationPainter {
                                        index = 2;
                                        break;
                                case SegmentationMask.FOREGROUND:
-                                       alpha = (byte) 255;
+                                       alpha = (byte) 128;
                                        index = 1;
                                        break;
                                default:
@@ -144,7 +144,7 @@ public class CombinedPainter implements SegmentationPainter {
        maskImage = new Image(Display.getCurrent(), maskData);
        }
        
-       
+
        private boolean isNewMaskDataRequired(Rectangle bounds) {
                if (maskData == null) {
                        return true;