org.shapelogic.imageprocessing
Class SegmentTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.shapelogic.imageprocessing.AbstractImageProcessingTests
              extended by org.shapelogic.imageprocessing.SegmentTest
All Implemented Interfaces:
junit.framework.Test

public class SegmentTest
extends AbstractImageProcessingTests

Test SBSegment.

Author:
Sami Badawi

Constructor Summary
SegmentTest()
           
 
Method Summary
protected  void setUp()
           
 void testBlobsGif()
           
 void testCleanSpotPng()
          This gets opened as a byte interleaved and not as an int RGB
 void testShortVerticalGif()
           
 void testShortVerticalPng()
          This shows that when you save and image as PNG it will always be opened as a color image.
 
Methods inherited from class org.shapelogic.imageprocessing.AbstractImageProcessingTests
assertEmptyCollection, dummyTest, printAnnotaions, printLines, printPoints, printPolygon
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SegmentTest

public SegmentTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractImageProcessingTests
Throws:
java.lang.Exception

testShortVerticalGif

public void testShortVerticalGif()

testShortVerticalPng

public void testShortVerticalPng()
This shows that when you save and image as PNG it will always be opened as a color image.


testBlobsGif

public void testBlobsGif()

testCleanSpotPng

public void testCleanSpotPng()
This gets opened as a byte interleaved and not as an int RGB



Copyright © 2009. All Rights Reserved.