|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.shapelogic.imageprocessing.AbstractImageProcessingTests org.shapelogic.imageprocessing.ColorParticleAnalyzerTest
public class ColorParticleAnalyzerTest
Test ParticleCounter.
The difference of this from BaseParticleCounterTest is that this should test
more customized ParticleCounters, while BaseParticleCounterTest should test
the basic cases.
Constructor Summary | |
---|---|
ColorParticleAnalyzerTest()
|
Method Summary | |
---|---|
void |
assertClose(double expected,
double found,
double precision)
|
protected void |
setUp()
|
void |
testBlobsGif()
|
void |
testBlobsGifToMask()
|
void |
testCleanSpotPng()
This gets opened as a byte interleaved and not as an int RGB |
void |
testEmbryos()
|
void |
testEmbryosDefaultSettings()
|
void |
testEmbryosMoreIterations()
|
void |
testEmbryosReadNeuralNetworkFromFile()
|
void |
testEmbryosReadNeuralNetworkFromFileMissingStream()
Called with bad file with missing streams. Should not throw an exception when running. But the category stream is not getting populated so is should throw exception here. |
void |
testEmbryosReadPrintFromFileNeuralNetwork()
|
void |
testEmbryosReadPrintFromFileNeuralNetworkMultiLayer()
|
void |
testEmbryosReadRulesAndPrintFromFile()
|
void |
testEmbryosReadRulesFileMissingStream()
Called with bad file with missing streams. Should not throw an exception when running. But the category stream is not getting populated so is should throw exception here. |
void |
testEmbryosReadRulesFromFile()
|
void |
testEmbryosReadRulesFromFileNeuralNetwork()
|
void |
testEmbryosToMask()
|
void |
testEmbryosWithParameters()
|
void |
testOneWhitePixelGrayPng()
This shows that when you save and image as PNG it will always be opened as a color image. |
void |
testOvalCleanPng()
This gets opened as a byte interleaved and not as an int RGB |
void |
testWhitePixelGray()
|
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 |
---|
public ColorParticleAnalyzerTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class AbstractImageProcessingTests
java.lang.Exception
public void testWhitePixelGray()
public void testOneWhitePixelGrayPng()
public void testBlobsGif()
public void testBlobsGifToMask()
public void testEmbryos()
public void testEmbryosDefaultSettings()
public void testEmbryosToMask()
public void assertClose(double expected, double found, double precision)
public void testEmbryosWithParameters()
public void testEmbryosMoreIterations()
public void testCleanSpotPng()
public void testOvalCleanPng()
public void testEmbryosReadRulesFromFile()
public void testEmbryosReadRulesAndPrintFromFile()
public void testEmbryosReadRulesFromFileNeuralNetwork()
public void testEmbryosReadPrintFromFileNeuralNetwork()
public void testEmbryosReadNeuralNetworkFromFile()
public void testEmbryosReadPrintFromFileNeuralNetworkMultiLayer()
public void testEmbryosReadRulesFileMissingStream()
public void testEmbryosReadNeuralNetworkFromFileMissingStream()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |