Page MenuHomePhabricator

Create module for multilabel segmentation
Closed, ResolvedPublic

Description

MITK git tag <attic/multilabel-2014.03> contains a contribution by Sebastian Ordas which brings support for a multilabel segmentation to MITK.
Further contributions have been done by Jonas Cordes.

Since the original branch diverged heavily form the current MITK master the integration of the multilabel support will be in separate branches. The according files will be moved from the tagged version mentioned above.

First step, is to create a new module which contains the basic data structures, IO classes and the mapper.

Event Timeline

User fetzer has pushed new remote branch:

bug-18541-create-multilabel-module

Written change request. Asked for CoreModification.

User fetzer has pushed new remote branch:

bug-18541-create-multilabel-module-integration

[25065f]: Merge branch 'bug-18541-create-multilabel-module-integration'

Merged commits:

2015-01-19 08:34:56 Andreas Fetzer [74902e]
Exported rendering helper class


2015-01-09 11:41:05 Andreas Fetzer [e7cd77]
Fixed export macro


2015-01-09 11:40:48 Andreas Fetzer [3369eb]
Added export for LocalFile nested class


2015-01-02 16:24:47 Andreas Fetzer [3d8e5c]
Added test for new property types


2014-12-23 23:40:17 Andreas Fetzer [64959a]
Merge branch 'bug-18541-create-multilabel-module' into bug-18541-create-multilabel-module-integration

Conflicts:
Modules/CMakeLists.txt


2014-12-22 22:19:47 Andreas Fetzer [e8b9a9]
Finished test for LabelSetImageIO


2014-12-22 22:19:19 Andreas Fetzer [de9f22]
Throw an exception if an error ocurrs during parsing the nrrd header.

Thus avoid crash if legacy data is loaded.


2014-12-22 22:16:32 Andreas Fetzer [e953f0]
Fixed label serialization.

Instead of looping from 0 to Number_Of_Labels now an iterator for the label
container is used.

Since the max value of a label has increased from 255 to 65536 the number of digits
for the format specifier was increased from 3 to 5


2014-12-22 21:56:55 Andreas Fetzer [3f8eb5]
Fixed serialization of number of labels per layer.

Now just the number of labels that exists in the current layer are serialized
and not the overall number of labels.


2014-12-22 21:54:24 Andreas Fetzer [8e7573]
Finished test for LabelSetImage


2014-12-22 21:54:04 Andreas Fetzer [bf24bd]
Some fixes for LabelSetImage.
Added documentation to LabelSetImage


2014-12-22 21:52:35 Andreas Fetzer [be54b6]
Fixed AddLabel


2014-12-22 21:51:14 Andreas Fetzer [1c69db]
Added serializer for UIntProperty and UShortProperty


2014-12-22 21:50:33 Andreas Fetzer [07f668]
Use UIntProperty for storing the layer


2014-12-17 15:02:16 Andreas Fetzer [fff0c4]
Continued test


2014-12-17 15:02:07 Andreas Fetzer [7083ec]
Fixed build error.


2014-12-17 13:27:55 Andreas Fetzer [2b81d3]
Started with labelset image test, added IO test class.


2014-12-17 13:27:22 Andreas Fetzer [9740cc]
More PixelType adaptions.
Changed layer access so that index is of type unsigned int


2014-12-12 02:40:25 Andreas Fetzer [20d28b]
Added LabelSet test


2014-12-12 02:39:39 Andreas Fetzer [8c10d0]
Removed debugging message


2014-12-12 02:38:43 Andreas Fetzer [98916d]
Uncommented unused parameter


2014-12-12 02:37:35 Andreas Fetzer [c8389b]
Fixed wrong loading of labelset image

The exterior label is always serialized when a mitkLabelSetImage is saved.
If the image is loaded again first of all a new layer is created which contains a exterior label as well.
Then the labels are added starting with the exterior.
Since this label already exists it will get the value +1 (current behavior of AddLabel).
This lead to a wrong ordering of the labels and thus a wrong visualization.


2014-12-12 02:32:09 Andreas Fetzer [3b77d5]
Adapted mapper to new pixel type


2014-12-12 02:25:22 Andreas Fetzer [a6c5e4]
Enhanced mulitlabel lookup table so that it can handle 65536 values which
is possbile since the changed pixel type of the labelset image.


2014-12-11 19:35:37 Andreas Fetzer [497609]
Changed pixeltype of labelset image from unsigned char to unsigned short.

With unsigned shot a labelset can have 65536 label values.


2014-12-11 19:17:25 Andreas Fetzer [1120a8]
Added two new property types

One for unsigned short and one for unsigned int.


2014-12-10 21:15:58 Andreas Fetzer [855be3]
Added test for mitkLabel


2014-12-10 18:34:13 Andreas Fetzer [835f28]
Created initial test classes


2014-12-10 18:19:06 Andreas Fetzer [16cbe1]
Initial commit

Created module Multilabel which contains basic support for the labelset image.
Files were copied from the commit with the git tag <attic/multilabel-2014.03>
and in most parts contributed by Sebastian Ordas.

Migrated the LabelSetReader/Writer to the new IO concept.


2014-12-08 14:37:34 Andreas Fetzer [697a45]
Merge branch 'master' of mitk.org:MITK


2014-11-17 14:59:36 Andreas Fetzer [9964c7]
Merge branch 'master' of mitk.org:MITK


2014-11-05 14:27:51 Andreas Fetzer [d4fa7b]
Merge remote-tracking branch 'origin/bug-18188-clippingplane-interactionbug'

[ac84f6]: Merge branch 'bug-18541-create-multilabel-module-integration'

Merged commits:

2015-01-19 16:18:23 Andreas Fetzer [67bd1d]
COMP Updated MITK-Data


2015-01-19 16:17:22 Andreas Fetzer [104e4b]
COMP Fixed linux warnings

[138e77]: Merge branch 'bug-18541-create-multilabel-module-dashboard-fixes'

Merged commits:

2015-01-19 16:52:54 Andreas Fetzer [270ebf]
COMP Dashboard fixes

[6110f1]: Merge branch 'bug-18541-create-multilabel-module-dashboard-fixes'

Merged commits:

2015-01-19 17:15:24 Andreas Fetzer [7514b8]
COMP fixed linux compile warnings

[8a480b]: :Merge branch 'bug-18541-fix-crash-on-linux'

Merged commits:

2015-01-19 18:48:42 Andreas Fetzer [62719a]
COMP Fixed segfault on linux