This PR closes #41 by adding a subclass SimpleTFRecords that inherits from SegmentationTFRecords. Instead of requiring a conversion_matrix, it requires a cell_table that contains column $marker+self.gt_suffix that contains 0s/1s/2s labels for each cell segment.
How did you implement your changes
I subclasses SegmentationTFRecords, implemented new functions for __init__, get_image and get_inst_binary_masks. In SegmentationTFRecords.load_and_check_input everything that is specific to conversion_matrix-based GT-generation is moved to check_additional_inputs.
What is the purpose of this PR?
This PR closes #41 by adding a subclass
SimpleTFRecords
that inherits fromSegmentationTFRecords
. Instead of requiring aconversion_matrix
, it requires a cell_table that contains column $marker+self.gt_suffix
that contains 0s/1s/2s labels for each cell segment.How did you implement your changes
I subclasses
SegmentationTFRecords
, implemented new functions for__init__
,get_image
andget_inst_binary_masks
. InSegmentationTFRecords.load_and_check_input
everything that is specific toconversion_matrix
-based GT-generation is moved tocheck_additional_inputs
.Remaining issues
None