Converter
class Converter
Properties
private | $acquisitionFormat | ||
private | $annotators | ||
private | $labels |
Methods
__construct($acquisitionFormat)
No description
convert($ifdo)
No description
float|null
maybeCastToFloat(string|null $value)
Cast the value to float if it is not null or an empty string.
addAnnotations($fileData, $ifdoAnnotations)
No description
ifdoToBiigleAnnotation($ifdoAnnotation)
No description
ifdoLabelsToBiigleLabelAndUsers($ifdoLabels)
No description
ifdoLabelToBiigleLabelAndUser($ifdoLabel)
No description
extractIfdoLabels($ifdoLabels)
No description
extractIfdoAnnotators($ifdoAnnotators)
No description
userForId($id)
No description
labelForId($id)
No description
ifdoShapeToBiigleShape($shape)
No description
mediaType()
No description
metadataClass()
No description
annotationClass()
No description
ifdoParseCoordinates($coordinates)
No description
string|null
parseHandle(string|null $handle)
No description
Details
at line 18
__construct($acquisitionFormat)
No description
at line 23
convert($ifdo)
No description
at line 82
protected float|null
maybeCastToFloat(string|null $value)
Cast the value to float if it is not null or an empty string.
at line 87
private
addAnnotations($fileData, $ifdoAnnotations)
No description
at line 95
private
ifdoToBiigleAnnotation($ifdoAnnotation)
No description
at line 114
private
ifdoLabelsToBiigleLabelAndUsers($ifdoLabels)
No description
at line 119
private
ifdoLabelToBiigleLabelAndUser($ifdoLabel)
No description
at line 127
private
extractIfdoLabels($ifdoLabels)
No description
at line 142
private
extractIfdoAnnotators($ifdoAnnotators)
No description
at line 156
private
userForId($id)
No description
at line 161
private
labelForId($id)
No description
at line 166
private
ifdoShapeToBiigleShape($shape)
No description
at line 187
private
mediaType()
No description
at line 198
private
metadataClass()
No description
at line 209
private
annotationClass()
No description
at line 220
private
ifdoParseCoordinates($coordinates)
No description
at line 229
private string|null
parseHandle(string|null $handle)
No description