diff --git a/darwin/cli_functions.py b/darwin/cli_functions.py index 32f996366..8ff145054 100644 --- a/darwin/cli_functions.py +++ b/darwin/cli_functions.py @@ -919,8 +919,8 @@ def dataset_import( If ``True`` it will bypass a warning that the import will overwrite the current annotations if any are present. If ``False`` this warning will be skipped and the import will overwrite the current annotations without warning. legacy : bool, default: False - If ``True`` it will not resize the annotations to be isotropic. - If ``False`` it will resize the annotations to be isotropic. + If ``True`` it will resize the annotations to be isotropic. + If ``False`` it will not resize the annotations to be isotropic. use_multi_cpu : bool, default: False If ``True`` it will use all multiple CPUs to speed up the import process. cpu_limit : Optional[int], default: Core count - 2 @@ -931,7 +931,6 @@ def dataset_import( try: importer: ImportParser = get_importer(format) - if format == "nifti" and legacy: importer = partial(importer, legacy=True) @@ -954,7 +953,7 @@ def dataset_import( overwrite, use_multi_cpu, cpu_limit, - no_legacy=False if legacy else True, + legacy, ) except ImporterNotFoundError: @@ -1228,8 +1227,8 @@ def dataset_convert( annotations folder of the dataset under 'other_formats/{format}'. legacy : bool, default: False This flag is only for the nifti format. - If True, it will not export the annotations using legacy calculations. - If False, it will resize the annotations using the new calculation by dividing with pixdims. + If True, it will resize the annotations by dividing by pixdims. + If False, it will not export the annotations using legacy calculations """ identifier: DatasetIdentifier = DatasetIdentifier.parse(dataset_identifier) client: Client = _load_client(team_slug=identifier.team_slug) @@ -1286,8 +1285,8 @@ def convert( Folder where the exported annotations will be placed. legacy: bool, default: False This flag is only for the nifti format. - If True, it will not export the annotations using legacy calculations. - If False, it will resize the annotations using the new calculation by dividing with pixdims. + If True, it will resize the annotations by dividing by pixdims + If False, it will not export the annotations using legacy calculations. """ try: parser: ExportParser = get_exporter(format) diff --git a/darwin/importer/importer.py b/darwin/importer/importer.py index aad713e0c..ff1a06333 100644 --- a/darwin/importer/importer.py +++ b/darwin/importer/importer.py @@ -1092,7 +1092,7 @@ def import_annotations( # noqa: C901 overwrite: bool = False, use_multi_cpu: bool = False, cpu_limit: Optional[int] = None, - no_legacy: Optional[bool] = False, + legacy: Optional[bool] = False, ) -> None: """ Imports the given given Annotations into the given Dataset. @@ -1134,9 +1134,9 @@ def import_annotations( # noqa: C901 If ``cpu_limit`` is greater than the number of available CPU cores, it will be set to the number of available cores. If ``cpu_limit`` is less than 1, it will be set to CPU count - 2. If ``cpu_limit`` is omitted, it will be set to CPU count - 2. - no_legacy : bool, default: False - If ``True`` will not use the legacy isotropic transformation to resize annotations - If ``False`` will use the legacy isotropic transformation to resize annotations + legacy : bool, default: False + If ``True`` will use the legacy isotropic transformation to resize annotations + If ``False`` will not use the legacy isotropic transformation to resize annotations Raises ------- ValueError @@ -1154,7 +1154,7 @@ def import_annotations( # noqa: C901 # CLI-initiated imports will raise an AttributeError because of the partial function # This block handles SDK-initiated imports try: - if importer.__module__ == "darwin.importer.formats.nifti" and not no_legacy: + if importer.__module__ == "darwin.importer.formats.nifti" and legacy: importer = partial(importer, legacy=True) except AttributeError: pass diff --git a/darwin/options.py b/darwin/options.py index 6ac6c6717..7a59f137d 100644 --- a/darwin/options.py +++ b/darwin/options.py @@ -61,10 +61,10 @@ def __init__(self) -> None: help="Annotation files (or folders) to convert.", ) parser_convert.add_argument( - "--no-legacy", - action="store_false", - dest="legacy", - help="Do not convert annotation using legacy process (isotropic transformation).", + "--legacy", + action="store_true", + default=False, + help="Import annotation files using legacy process (isotropic transformation).", ) parser_convert.add_argument( "output_dir", type=str, help="Where to store output files." @@ -375,10 +375,10 @@ def __init__(self) -> None: help="Bypass warnings about overwiting existing annotations.", ) parser_import.add_argument( - "--no-legacy", - action="store_false", - dest="legacy", - help="Do not importing annotation files using legacy process (isotropic transformation).", + "--legacy", + action="store_true", + default=False, + help="Import annotation files using legacy process (isotropic transformation).", ) # Cpu limit for multiprocessing tasks @@ -410,9 +410,10 @@ def cpu_default_types(input: Any) -> Optional[int]: # type: ignore "format", type=str, help="Annotation format to convert to." ) parser_convert.add_argument( - "legacy", + "--legacy", action="store_true", - help="Convert annotation using legacy process (isotropic transformation).", + default=False, + help="Import annotation files using legacy process (isotropic transformation).", ) parser_convert.add_argument( "-o", "--output_dir", type=str, help="Where to store output files." diff --git a/tests/darwin/data/nifti/BRAINIX_NIFTI_ROI.nii.gz b/tests/darwin/data/nifti/BRAINIX_NIFTI_ROI.nii.gz new file mode 100644 index 000000000..0eef75055 Binary files /dev/null and b/tests/darwin/data/nifti/BRAINIX_NIFTI_ROI.nii.gz differ diff --git a/tests/darwin/data/nifti/legacy/.v7/metadata.json b/tests/darwin/data/nifti/legacy/.v7/metadata.json new file mode 100644 index 000000000..3430da736 --- /dev/null +++ b/tests/darwin/data/nifti/legacy/.v7/metadata.json @@ -0,0 +1,44 @@ +{ + "version": "1.0", + "schema_ref": "https://darwin-public.s3.eu-west-1.amazonaws.com/darwin_json/metadata/1.0/schema.json", + "classes": [ + { + "name": "Reference_sBAT", + "type": "polygon", + "description": null, + "color": "rgba(0,255,170,1.0)", + "sub_types": [ + "text", + "inference" + ], + "properties": [], + "sub_types_settings": { + "inference": {}, + "text": {} + } + } + ], + "properties": [ + { + "name": "item-level-ss", + "type": "single_select", + "description": "What is this?", + "required": false, + "property_values": [ + { + "value": "1", + "color": "rgba(238,240,241,1.0)" + }, + { + "value": "2", + "color": "rgba(255,0,214,1.0)" + }, + { + "value": "3", + "color": "rgba(173,255,0,1.0)" + } + ], + "granularity": "item" + } + ] +} \ No newline at end of file diff --git a/tests/darwin/data/nifti/legacy/BRAINIX_NIFTI_ROI.nii.json b/tests/darwin/data/nifti/legacy/BRAINIX_NIFTI_ROI.nii.json new file mode 100644 index 000000000..345dcd800 --- /dev/null +++ b/tests/darwin/data/nifti/legacy/BRAINIX_NIFTI_ROI.nii.json @@ -0,0 +1,3949 @@ +{ + "version": "2.0", + "schema_ref": "https://darwin-public.s3.eu-west-1.amazonaws.com/darwin_json/2.0/schema.json", + "item": { + "name": "BRAINIX_NIFTI_ROI.nii.gz", + "path": "/", + "source_info": { + "item_id": "019302b1-623a-e54c-4e2a-9403c2581954", + "dataset": { + "name": "MED_2D_VIEWER_ON", + "slug": "med_2d_viewer_on", + "dataset_management_url": "https://darwin.v7labs.com/datasets/1354683/dataset-management" + }, + "team": { + "name": "V7 John", + "slug": "v7-john" + }, + "workview_url": "https://darwin.v7labs.com/workview?dataset=1354683&item=019302b1-623a-e54c-4e2a-9403c2581954" + }, + "slots": [ + { + "type": "dicom", + "slot_name": "0", + "width": 288, + "height": 288, + "fps": null, + "thumbnail_url": "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/thumbnail", + "source_files": [ + { + "file_name": "BRAINIX_NIFTI_ROI.nii.gz", + "url": "https://darwin.v7labs.com/api/v2/teams/v7-john/uploads/3bef131b-6772-44db-af38-901920c73f44" + } + ], + "frame_count": 22, + "frame_urls": [ + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/0", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/1", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/2", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/3", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/4", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/5", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/6", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/7", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/8", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/9", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/10", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/11", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/12", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/13", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/14", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/15", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/16", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/17", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/18", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/19", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/20", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/21" + ], + "metadata": { + "shape": [ + 1, + 288, + 288, + 22 + ], + "SeriesInstanceUID": "1.2.826.0.1.3680043.8.498.74346079490785680794508143611517792056", + "affine": "[[-0.7983811497688293, 0.0013799992157146335, -0.14355425536632538, 118.49510546668898], [0.0, -0.7965366840362549, -0.43216636776924133, 118.87191358208656], [0.019157083705067635, 0.05750555917620659, -5.982696056365967, 83.71717173978686], [0.0, 0.0, 0.0, 1.0]]", + "colorspace": "RG16", + "original_affine": [ + [ + "-0.7983811497688293", + "-0.0013799992157146335", + "0.14355425536632538", + "115.87652587890625" + ], + [ + "0.0", + "0.7965366840362549", + "0.43216636776924133", + "-118.80960845947266" + ], + [ + "0.019157083705067635", + "-0.05750555917620659", + "5.982696056365967", + "-25.41534996032715" + ], + [ + "0.0", + "0.0", + "0.0", + "1.0" + ] + ], + "pixdim": "(0.7986109, 0.798611, 6.0000024)" + } + } + ] + }, + "annotations": [ + { + "frames": { + "4": { + "bounding_box": { + "h": 36.0, + "w": 21.0, + "x": 180.0, + "y": 136.0 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 180.0, + "y": 169.0 + }, + { + "x": 180.0, + "y": 170.0 + }, + { + "x": 180.0, + "y": 171.0 + }, + { + "x": 181.0, + "y": 171.0 + }, + { + "x": 182.0, + "y": 172.0 + }, + { + "x": 188.0, + "y": 172.0 + }, + { + "x": 189.0, + "y": 172.0 + }, + { + "x": 189.0, + "y": 171.0 + }, + { + "x": 190.0, + "y": 170.0 + }, + { + "x": 191.0, + "y": 170.0 + }, + { + "x": 192.0, + "y": 170.0 + }, + { + "x": 194.0, + "y": 168.0 + }, + { + "x": 195.0, + "y": 167.0 + }, + { + "x": 195.0, + "y": 166.0 + }, + { + "x": 196.0, + "y": 165.0 + }, + { + "x": 197.0, + "y": 164.0 + }, + { + "x": 197.0, + "y": 163.0 + }, + { + "x": 198.0, + "y": 162.0 + }, + { + "x": 199.0, + "y": 161.0 + }, + { + "x": 199.0, + "y": 160.0 + }, + { + "x": 198.0, + "y": 159.0 + }, + { + "x": 198.0, + "y": 158.0 + }, + { + "x": 197.0, + "y": 157.0 + }, + { + "x": 193.0, + "y": 157.0 + }, + { + "x": 192.0, + "y": 157.0 + }, + { + "x": 192.0, + "y": 158.0 + }, + { + "x": 184.0, + "y": 166.0 + }, + { + "x": 183.0, + "y": 167.0 + }, + { + "x": 182.0, + "y": 167.0 + }, + { + "x": 180.0, + "y": 169.0 + } + ], + [ + { + "x": 182.0, + "y": 152.0 + }, + { + "x": 182.0, + "y": 153.0 + }, + { + "x": 186.0, + "y": 153.0 + }, + { + "x": 187.0, + "y": 153.0 + }, + { + "x": 187.0, + "y": 152.0 + }, + { + "x": 188.0, + "y": 151.0 + }, + { + "x": 190.0, + "y": 151.0 + }, + { + "x": 191.0, + "y": 150.0 + }, + { + "x": 197.0, + "y": 150.0 + }, + { + "x": 198.0, + "y": 150.0 + }, + { + "x": 200.0, + "y": 148.0 + }, + { + "x": 201.0, + "y": 147.0 + }, + { + "x": 201.0, + "y": 138.0 + }, + { + "x": 201.0, + "y": 137.0 + }, + { + "x": 200.0, + "y": 136.0 + }, + { + "x": 199.0, + "y": 136.0 + }, + { + "x": 198.0, + "y": 136.0 + }, + { + "x": 198.0, + "y": 137.0 + }, + { + "x": 197.0, + "y": 138.0 + }, + { + "x": 196.0, + "y": 138.0 + }, + { + "x": 195.0, + "y": 139.0 + }, + { + "x": 194.0, + "y": 139.0 + }, + { + "x": 193.0, + "y": 140.0 + }, + { + "x": 192.0, + "y": 140.0 + }, + { + "x": 190.0, + "y": 142.0 + }, + { + "x": 189.0, + "y": 143.0 + }, + { + "x": 189.0, + "y": 144.0 + }, + { + "x": 188.0, + "y": 145.0 + }, + { + "x": 187.0, + "y": 145.0 + }, + { + "x": 186.0, + "y": 146.0 + }, + { + "x": 185.0, + "y": 146.0 + }, + { + "x": 184.0, + "y": 147.0 + }, + { + "x": 184.0, + "y": 148.0 + }, + { + "x": 184.0, + "y": 149.0 + }, + { + "x": 183.0, + "y": 150.0 + }, + { + "x": 183.0, + "y": 151.0 + }, + { + "x": 182.0, + "y": 152.0 + } + ] + ] + } + }, + "5": { + "bounding_box": { + "h": 34.0, + "w": 34.0, + "x": 177.0, + "y": 139.0 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 177.0, + "y": 154.0 + }, + { + "x": 177.0, + "y": 161.0 + }, + { + "x": 177.0, + "y": 162.0 + }, + { + "x": 178.0, + "y": 163.0 + }, + { + "x": 178.0, + "y": 164.0 + }, + { + "x": 179.0, + "y": 165.0 + }, + { + "x": 179.0, + "y": 168.0 + }, + { + "x": 179.0, + "y": 169.0 + }, + { + "x": 180.0, + "y": 170.0 + }, + { + "x": 180.0, + "y": 171.0 + }, + { + "x": 181.0, + "y": 172.0 + }, + { + "x": 181.0, + "y": 173.0 + }, + { + "x": 182.0, + "y": 173.0 + }, + { + "x": 183.0, + "y": 173.0 + }, + { + "x": 186.0, + "y": 170.0 + }, + { + "x": 187.0, + "y": 170.0 + }, + { + "x": 191.0, + "y": 166.0 + }, + { + "x": 192.0, + "y": 165.0 + }, + { + "x": 193.0, + "y": 165.0 + }, + { + "x": 194.0, + "y": 164.0 + }, + { + "x": 197.0, + "y": 164.0 + }, + { + "x": 198.0, + "y": 164.0 + }, + { + "x": 198.0, + "y": 163.0 + }, + { + "x": 199.0, + "y": 162.0 + }, + { + "x": 201.0, + "y": 162.0 + }, + { + "x": 202.0, + "y": 162.0 + }, + { + "x": 203.0, + "y": 163.0 + }, + { + "x": 203.0, + "y": 164.0 + }, + { + "x": 206.0, + "y": 164.0 + }, + { + "x": 207.0, + "y": 164.0 + }, + { + "x": 208.0, + "y": 163.0 + }, + { + "x": 209.0, + "y": 163.0 + }, + { + "x": 210.0, + "y": 162.0 + }, + { + "x": 210.0, + "y": 160.0 + }, + { + "x": 211.0, + "y": 159.0 + }, + { + "x": 211.0, + "y": 156.0 + }, + { + "x": 211.0, + "y": 155.0 + }, + { + "x": 210.0, + "y": 154.0 + }, + { + "x": 210.0, + "y": 153.0 + }, + { + "x": 209.0, + "y": 152.0 + }, + { + "x": 209.0, + "y": 151.0 + }, + { + "x": 204.0, + "y": 146.0 + }, + { + "x": 204.0, + "y": 145.0 + }, + { + "x": 201.0, + "y": 142.0 + }, + { + "x": 200.0, + "y": 141.0 + }, + { + "x": 199.0, + "y": 141.0 + }, + { + "x": 198.0, + "y": 140.0 + }, + { + "x": 198.0, + "y": 139.0 + }, + { + "x": 192.0, + "y": 139.0 + }, + { + "x": 191.0, + "y": 139.0 + }, + { + "x": 190.0, + "y": 140.0 + }, + { + "x": 189.0, + "y": 140.0 + }, + { + "x": 188.0, + "y": 140.0 + }, + { + "x": 187.0, + "y": 141.0 + }, + { + "x": 186.0, + "y": 141.0 + }, + { + "x": 182.0, + "y": 145.0 + }, + { + "x": 181.0, + "y": 146.0 + }, + { + "x": 181.0, + "y": 147.0 + }, + { + "x": 180.0, + "y": 148.0 + }, + { + "x": 180.0, + "y": 149.0 + }, + { + "x": 179.0, + "y": 150.0 + }, + { + "x": 179.0, + "y": 151.0 + }, + { + "x": 178.0, + "y": 152.0 + }, + { + "x": 178.0, + "y": 153.0 + }, + { + "x": 177.0, + "y": 154.0 + } + ] + ] + } + }, + "6": { + "bounding_box": { + "h": 57.0, + "w": 42.0, + "x": 170.0, + "y": 119.0 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 170.0, + "y": 131.0 + }, + { + "x": 170.0, + "y": 136.0 + }, + { + "x": 170.0, + "y": 137.0 + }, + { + "x": 171.0, + "y": 138.0 + }, + { + "x": 171.0, + "y": 141.0 + }, + { + "x": 171.0, + "y": 142.0 + }, + { + "x": 172.0, + "y": 143.0 + }, + { + "x": 172.0, + "y": 147.0 + }, + { + "x": 172.0, + "y": 148.0 + }, + { + "x": 173.0, + "y": 149.0 + }, + { + "x": 173.0, + "y": 150.0 + }, + { + "x": 174.0, + "y": 151.0 + }, + { + "x": 174.0, + "y": 152.0 + }, + { + "x": 175.0, + "y": 153.0 + }, + { + "x": 175.0, + "y": 159.0 + }, + { + "x": 175.0, + "y": 160.0 + }, + { + "x": 176.0, + "y": 161.0 + }, + { + "x": 176.0, + "y": 162.0 + }, + { + "x": 176.0, + "y": 163.0 + }, + { + "x": 177.0, + "y": 164.0 + }, + { + "x": 177.0, + "y": 165.0 + }, + { + "x": 177.0, + "y": 166.0 + }, + { + "x": 178.0, + "y": 167.0 + }, + { + "x": 178.0, + "y": 168.0 + }, + { + "x": 178.0, + "y": 169.0 + }, + { + "x": 179.0, + "y": 170.0 + }, + { + "x": 179.0, + "y": 171.0 + }, + { + "x": 180.0, + "y": 172.0 + }, + { + "x": 180.0, + "y": 175.0 + }, + { + "x": 180.0, + "y": 176.0 + }, + { + "x": 183.0, + "y": 176.0 + }, + { + "x": 184.0, + "y": 176.0 + }, + { + "x": 184.0, + "y": 175.0 + }, + { + "x": 185.0, + "y": 174.0 + }, + { + "x": 185.0, + "y": 172.0 + }, + { + "x": 184.0, + "y": 171.0 + }, + { + "x": 185.0, + "y": 170.0 + }, + { + "x": 185.0, + "y": 169.0 + }, + { + "x": 187.0, + "y": 167.0 + }, + { + "x": 188.0, + "y": 166.0 + }, + { + "x": 197.0, + "y": 166.0 + }, + { + "x": 198.0, + "y": 166.0 + }, + { + "x": 199.0, + "y": 167.0 + }, + { + "x": 199.0, + "y": 168.0 + }, + { + "x": 203.0, + "y": 168.0 + }, + { + "x": 204.0, + "y": 168.0 + }, + { + "x": 204.0, + "y": 167.0 + }, + { + "x": 209.0, + "y": 162.0 + }, + { + "x": 210.0, + "y": 161.0 + }, + { + "x": 210.0, + "y": 160.0 + }, + { + "x": 211.0, + "y": 159.0 + }, + { + "x": 212.0, + "y": 158.0 + }, + { + "x": 212.0, + "y": 152.0 + }, + { + "x": 212.0, + "y": 151.0 + }, + { + "x": 210.0, + "y": 149.0 + }, + { + "x": 210.0, + "y": 148.0 + }, + { + "x": 208.0, + "y": 146.0 + }, + { + "x": 207.0, + "y": 145.0 + }, + { + "x": 206.0, + "y": 145.0 + }, + { + "x": 205.0, + "y": 144.0 + }, + { + "x": 203.0, + "y": 144.0 + }, + { + "x": 202.0, + "y": 144.0 + }, + { + "x": 202.0, + "y": 145.0 + }, + { + "x": 200.0, + "y": 147.0 + }, + { + "x": 199.0, + "y": 148.0 + }, + { + "x": 192.0, + "y": 148.0 + }, + { + "x": 191.0, + "y": 148.0 + }, + { + "x": 190.0, + "y": 147.0 + }, + { + "x": 190.0, + "y": 146.0 + }, + { + "x": 189.0, + "y": 146.0 + }, + { + "x": 188.0, + "y": 146.0 + }, + { + "x": 187.0, + "y": 145.0 + }, + { + "x": 186.0, + "y": 145.0 + }, + { + "x": 185.0, + "y": 144.0 + }, + { + "x": 184.0, + "y": 144.0 + }, + { + "x": 181.0, + "y": 141.0 + }, + { + "x": 180.0, + "y": 141.0 + }, + { + "x": 176.0, + "y": 137.0 + }, + { + "x": 175.0, + "y": 136.0 + }, + { + "x": 174.0, + "y": 136.0 + }, + { + "x": 173.0, + "y": 135.0 + }, + { + "x": 172.0, + "y": 135.0 + }, + { + "x": 171.0, + "y": 134.0 + }, + { + "x": 171.0, + "y": 133.0 + }, + { + "x": 170.0, + "y": 132.0 + }, + { + "x": 170.0, + "y": 131.0 + } + ], + [ + { + "x": 176.0, + "y": 128.0 + }, + { + "x": 176.0, + "y": 129.0 + }, + { + "x": 181.0, + "y": 134.0 + }, + { + "x": 181.0, + "y": 135.0 + }, + { + "x": 183.0, + "y": 135.0 + }, + { + "x": 184.0, + "y": 134.0 + }, + { + "x": 187.0, + "y": 137.0 + }, + { + "x": 188.0, + "y": 138.0 + }, + { + "x": 189.0, + "y": 138.0 + }, + { + "x": 190.0, + "y": 139.0 + }, + { + "x": 190.0, + "y": 140.0 + }, + { + "x": 197.0, + "y": 140.0 + }, + { + "x": 198.0, + "y": 139.0 + }, + { + "x": 209.0, + "y": 139.0 + }, + { + "x": 210.0, + "y": 139.0 + }, + { + "x": 210.0, + "y": 138.0 + }, + { + "x": 209.0, + "y": 137.0 + }, + { + "x": 209.0, + "y": 136.0 + }, + { + "x": 207.0, + "y": 134.0 + }, + { + "x": 206.0, + "y": 133.0 + }, + { + "x": 205.0, + "y": 133.0 + }, + { + "x": 204.0, + "y": 132.0 + }, + { + "x": 203.0, + "y": 132.0 + }, + { + "x": 202.0, + "y": 132.0 + }, + { + "x": 201.0, + "y": 131.0 + }, + { + "x": 200.0, + "y": 131.0 + }, + { + "x": 197.0, + "y": 128.0 + }, + { + "x": 196.0, + "y": 127.0 + }, + { + "x": 195.0, + "y": 127.0 + }, + { + "x": 194.0, + "y": 126.0 + }, + { + "x": 193.0, + "y": 126.0 + }, + { + "x": 192.0, + "y": 125.0 + }, + { + "x": 191.0, + "y": 124.0 + }, + { + "x": 191.0, + "y": 123.0 + }, + { + "x": 192.0, + "y": 122.0 + }, + { + "x": 193.0, + "y": 122.0 + }, + { + "x": 194.0, + "y": 122.0 + }, + { + "x": 194.0, + "y": 121.0 + }, + { + "x": 195.0, + "y": 120.0 + }, + { + "x": 195.0, + "y": 119.0 + }, + { + "x": 188.0, + "y": 119.0 + }, + { + "x": 187.0, + "y": 119.0 + }, + { + "x": 185.0, + "y": 121.0 + }, + { + "x": 184.0, + "y": 122.0 + }, + { + "x": 183.0, + "y": 122.0 + }, + { + "x": 182.0, + "y": 123.0 + }, + { + "x": 181.0, + "y": 123.0 + }, + { + "x": 178.0, + "y": 126.0 + }, + { + "x": 177.0, + "y": 126.0 + }, + { + "x": 177.0, + "y": 127.0 + }, + { + "x": 176.0, + "y": 128.0 + } + ] + ] + } + }, + "7": { + "bounding_box": { + "h": 59.0, + "w": 40.0, + "x": 170.0, + "y": 119.0 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 170.0, + "y": 129.0 + }, + { + "x": 170.0, + "y": 140.0 + }, + { + "x": 170.0, + "y": 141.0 + }, + { + "x": 171.0, + "y": 142.0 + }, + { + "x": 171.0, + "y": 143.0 + }, + { + "x": 171.0, + "y": 144.0 + }, + { + "x": 173.0, + "y": 146.0 + }, + { + "x": 174.0, + "y": 147.0 + }, + { + "x": 174.0, + "y": 148.0 + }, + { + "x": 175.0, + "y": 149.0 + }, + { + "x": 175.0, + "y": 152.0 + }, + { + "x": 175.0, + "y": 153.0 + }, + { + "x": 176.0, + "y": 154.0 + }, + { + "x": 176.0, + "y": 157.0 + }, + { + "x": 176.0, + "y": 158.0 + }, + { + "x": 177.0, + "y": 159.0 + }, + { + "x": 177.0, + "y": 163.0 + }, + { + "x": 177.0, + "y": 164.0 + }, + { + "x": 178.0, + "y": 165.0 + }, + { + "x": 178.0, + "y": 167.0 + }, + { + "x": 179.0, + "y": 168.0 + }, + { + "x": 179.0, + "y": 171.0 + }, + { + "x": 179.0, + "y": 172.0 + }, + { + "x": 182.0, + "y": 175.0 + }, + { + "x": 183.0, + "y": 176.0 + }, + { + "x": 184.0, + "y": 176.0 + }, + { + "x": 185.0, + "y": 177.0 + }, + { + "x": 187.0, + "y": 177.0 + }, + { + "x": 188.0, + "y": 177.0 + }, + { + "x": 189.0, + "y": 178.0 + }, + { + "x": 192.0, + "y": 178.0 + }, + { + "x": 193.0, + "y": 178.0 + }, + { + "x": 193.0, + "y": 177.0 + }, + { + "x": 194.0, + "y": 176.0 + }, + { + "x": 195.0, + "y": 175.0 + }, + { + "x": 198.0, + "y": 175.0 + }, + { + "x": 199.0, + "y": 175.0 + }, + { + "x": 200.0, + "y": 174.0 + }, + { + "x": 201.0, + "y": 174.0 + }, + { + "x": 202.0, + "y": 174.0 + }, + { + "x": 206.0, + "y": 170.0 + }, + { + "x": 207.0, + "y": 170.0 + }, + { + "x": 208.0, + "y": 169.0 + }, + { + "x": 208.0, + "y": 168.0 + }, + { + "x": 208.0, + "y": 167.0 + }, + { + "x": 209.0, + "y": 166.0 + }, + { + "x": 209.0, + "y": 165.0 + }, + { + "x": 210.0, + "y": 164.0 + }, + { + "x": 210.0, + "y": 163.0 + }, + { + "x": 209.0, + "y": 162.0 + }, + { + "x": 205.0, + "y": 162.0 + }, + { + "x": 204.0, + "y": 162.0 + }, + { + "x": 202.0, + "y": 164.0 + }, + { + "x": 201.0, + "y": 164.0 + }, + { + "x": 193.0, + "y": 172.0 + }, + { + "x": 192.0, + "y": 173.0 + }, + { + "x": 191.0, + "y": 173.0 + }, + { + "x": 190.0, + "y": 173.0 + }, + { + "x": 189.0, + "y": 172.0 + }, + { + "x": 189.0, + "y": 171.0 + }, + { + "x": 188.0, + "y": 170.0 + }, + { + "x": 189.0, + "y": 169.0 + }, + { + "x": 189.0, + "y": 167.0 + }, + { + "x": 189.0, + "y": 166.0 + }, + { + "x": 190.0, + "y": 165.0 + }, + { + "x": 191.0, + "y": 164.0 + }, + { + "x": 191.0, + "y": 163.0 + }, + { + "x": 191.0, + "y": 162.0 + }, + { + "x": 192.0, + "y": 161.0 + }, + { + "x": 193.0, + "y": 160.0 + }, + { + "x": 194.0, + "y": 160.0 + }, + { + "x": 195.0, + "y": 159.0 + }, + { + "x": 198.0, + "y": 159.0 + }, + { + "x": 199.0, + "y": 159.0 + }, + { + "x": 200.0, + "y": 158.0 + }, + { + "x": 201.0, + "y": 157.0 + }, + { + "x": 202.0, + "y": 157.0 + }, + { + "x": 203.0, + "y": 156.0 + }, + { + "x": 204.0, + "y": 156.0 + }, + { + "x": 205.0, + "y": 155.0 + }, + { + "x": 206.0, + "y": 155.0 + }, + { + "x": 207.0, + "y": 155.0 + }, + { + "x": 208.0, + "y": 154.0 + }, + { + "x": 208.0, + "y": 153.0 + }, + { + "x": 209.0, + "y": 152.0 + }, + { + "x": 209.0, + "y": 151.0 + }, + { + "x": 208.0, + "y": 150.0 + }, + { + "x": 208.0, + "y": 149.0 + }, + { + "x": 208.0, + "y": 148.0 + }, + { + "x": 207.0, + "y": 147.0 + }, + { + "x": 206.0, + "y": 146.0 + }, + { + "x": 195.0, + "y": 146.0 + }, + { + "x": 194.0, + "y": 146.0 + }, + { + "x": 193.0, + "y": 145.0 + }, + { + "x": 192.0, + "y": 144.0 + }, + { + "x": 196.0, + "y": 140.0 + }, + { + "x": 197.0, + "y": 139.0 + }, + { + "x": 199.0, + "y": 139.0 + }, + { + "x": 200.0, + "y": 139.0 + }, + { + "x": 201.0, + "y": 140.0 + }, + { + "x": 201.0, + "y": 141.0 + }, + { + "x": 203.0, + "y": 141.0 + }, + { + "x": 204.0, + "y": 141.0 + }, + { + "x": 204.0, + "y": 140.0 + }, + { + "x": 205.0, + "y": 139.0 + }, + { + "x": 206.0, + "y": 139.0 + }, + { + "x": 206.0, + "y": 135.0 + }, + { + "x": 206.0, + "y": 134.0 + }, + { + "x": 205.0, + "y": 133.0 + }, + { + "x": 205.0, + "y": 132.0 + }, + { + "x": 204.0, + "y": 132.0 + }, + { + "x": 203.0, + "y": 131.0 + }, + { + "x": 202.0, + "y": 131.0 + }, + { + "x": 201.0, + "y": 130.0 + }, + { + "x": 200.0, + "y": 130.0 + }, + { + "x": 199.0, + "y": 129.0 + }, + { + "x": 189.0, + "y": 129.0 + }, + { + "x": 188.0, + "y": 129.0 + }, + { + "x": 187.0, + "y": 128.0 + }, + { + "x": 187.0, + "y": 127.0 + }, + { + "x": 187.0, + "y": 126.0 + }, + { + "x": 188.0, + "y": 125.0 + }, + { + "x": 189.0, + "y": 125.0 + }, + { + "x": 190.0, + "y": 124.0 + }, + { + "x": 191.0, + "y": 123.0 + }, + { + "x": 191.0, + "y": 122.0 + }, + { + "x": 191.0, + "y": 121.0 + }, + { + "x": 192.0, + "y": 120.0 + }, + { + "x": 193.0, + "y": 120.0 + }, + { + "x": 192.0, + "y": 119.0 + }, + { + "x": 188.0, + "y": 119.0 + }, + { + "x": 187.0, + "y": 119.0 + }, + { + "x": 187.0, + "y": 120.0 + }, + { + "x": 186.0, + "y": 121.0 + }, + { + "x": 185.0, + "y": 121.0 + }, + { + "x": 184.0, + "y": 122.0 + }, + { + "x": 183.0, + "y": 122.0 + }, + { + "x": 182.0, + "y": 123.0 + }, + { + "x": 181.0, + "y": 123.0 + }, + { + "x": 180.0, + "y": 124.0 + }, + { + "x": 179.0, + "y": 124.0 + }, + { + "x": 178.0, + "y": 124.0 + }, + { + "x": 177.0, + "y": 125.0 + }, + { + "x": 176.0, + "y": 125.0 + }, + { + "x": 175.0, + "y": 126.0 + }, + { + "x": 174.0, + "y": 126.0 + }, + { + "x": 173.0, + "y": 127.0 + }, + { + "x": 172.0, + "y": 127.0 + }, + { + "x": 170.0, + "y": 129.0 + } + ] + ] + } + }, + "8": { + "bounding_box": { + "h": 58.0, + "w": 42.0, + "x": 171.0, + "y": 120.0 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 171.0, + "y": 128.0 + }, + { + "x": 171.0, + "y": 135.0 + }, + { + "x": 171.0, + "y": 136.0 + }, + { + "x": 172.0, + "y": 137.0 + }, + { + "x": 172.0, + "y": 143.0 + }, + { + "x": 172.0, + "y": 144.0 + }, + { + "x": 173.0, + "y": 145.0 + }, + { + "x": 173.0, + "y": 146.0 + }, + { + "x": 173.0, + "y": 147.0 + }, + { + "x": 174.0, + "y": 148.0 + }, + { + "x": 174.0, + "y": 149.0 + }, + { + "x": 175.0, + "y": 150.0 + }, + { + "x": 175.0, + "y": 151.0 + }, + { + "x": 176.0, + "y": 152.0 + }, + { + "x": 176.0, + "y": 157.0 + }, + { + "x": 176.0, + "y": 158.0 + }, + { + "x": 177.0, + "y": 159.0 + }, + { + "x": 177.0, + "y": 162.0 + }, + { + "x": 177.0, + "y": 163.0 + }, + { + "x": 178.0, + "y": 164.0 + }, + { + "x": 178.0, + "y": 165.0 + }, + { + "x": 181.0, + "y": 168.0 + }, + { + "x": 182.0, + "y": 169.0 + }, + { + "x": 182.0, + "y": 170.0 + }, + { + "x": 183.0, + "y": 171.0 + }, + { + "x": 183.0, + "y": 173.0 + }, + { + "x": 183.0, + "y": 174.0 + }, + { + "x": 186.0, + "y": 177.0 + }, + { + "x": 187.0, + "y": 178.0 + }, + { + "x": 193.0, + "y": 178.0 + }, + { + "x": 194.0, + "y": 178.0 + }, + { + "x": 194.0, + "y": 177.0 + }, + { + "x": 195.0, + "y": 176.0 + }, + { + "x": 196.0, + "y": 176.0 + }, + { + "x": 197.0, + "y": 176.0 + }, + { + "x": 198.0, + "y": 175.0 + }, + { + "x": 199.0, + "y": 175.0 + }, + { + "x": 200.0, + "y": 174.0 + }, + { + "x": 200.0, + "y": 173.0 + }, + { + "x": 201.0, + "y": 172.0 + }, + { + "x": 201.0, + "y": 171.0 + }, + { + "x": 202.0, + "y": 170.0 + }, + { + "x": 203.0, + "y": 170.0 + }, + { + "x": 204.0, + "y": 169.0 + }, + { + "x": 205.0, + "y": 169.0 + }, + { + "x": 206.0, + "y": 169.0 + }, + { + "x": 207.0, + "y": 168.0 + }, + { + "x": 208.0, + "y": 167.0 + }, + { + "x": 208.0, + "y": 166.0 + }, + { + "x": 209.0, + "y": 165.0 + }, + { + "x": 209.0, + "y": 164.0 + }, + { + "x": 211.0, + "y": 162.0 + }, + { + "x": 212.0, + "y": 162.0 + }, + { + "x": 211.0, + "y": 161.0 + }, + { + "x": 206.0, + "y": 161.0 + }, + { + "x": 205.0, + "y": 161.0 + }, + { + "x": 205.0, + "y": 162.0 + }, + { + "x": 203.0, + "y": 164.0 + }, + { + "x": 202.0, + "y": 165.0 + }, + { + "x": 201.0, + "y": 165.0 + }, + { + "x": 200.0, + "y": 166.0 + }, + { + "x": 199.0, + "y": 166.0 + }, + { + "x": 198.0, + "y": 166.0 + }, + { + "x": 197.0, + "y": 165.0 + }, + { + "x": 197.0, + "y": 164.0 + }, + { + "x": 196.0, + "y": 164.0 + }, + { + "x": 194.0, + "y": 162.0 + }, + { + "x": 193.0, + "y": 161.0 + }, + { + "x": 193.0, + "y": 160.0 + }, + { + "x": 193.0, + "y": 159.0 + }, + { + "x": 195.0, + "y": 157.0 + }, + { + "x": 196.0, + "y": 156.0 + }, + { + "x": 200.0, + "y": 156.0 + }, + { + "x": 201.0, + "y": 155.0 + }, + { + "x": 208.0, + "y": 155.0 + }, + { + "x": 209.0, + "y": 154.0 + }, + { + "x": 209.0, + "y": 153.0 + }, + { + "x": 209.0, + "y": 152.0 + }, + { + "x": 208.0, + "y": 151.0 + }, + { + "x": 208.0, + "y": 150.0 + }, + { + "x": 209.0, + "y": 149.0 + }, + { + "x": 209.0, + "y": 148.0 + }, + { + "x": 209.0, + "y": 147.0 + }, + { + "x": 210.0, + "y": 146.0 + }, + { + "x": 210.0, + "y": 145.0 + }, + { + "x": 211.0, + "y": 144.0 + }, + { + "x": 211.0, + "y": 143.0 + }, + { + "x": 212.0, + "y": 142.0 + }, + { + "x": 213.0, + "y": 141.0 + }, + { + "x": 213.0, + "y": 132.0 + }, + { + "x": 213.0, + "y": 131.0 + }, + { + "x": 212.0, + "y": 130.0 + }, + { + "x": 212.0, + "y": 128.0 + }, + { + "x": 212.0, + "y": 127.0 + }, + { + "x": 209.0, + "y": 124.0 + }, + { + "x": 209.0, + "y": 123.0 + }, + { + "x": 202.0, + "y": 123.0 + }, + { + "x": 201.0, + "y": 123.0 + }, + { + "x": 201.0, + "y": 124.0 + }, + { + "x": 200.0, + "y": 125.0 + }, + { + "x": 199.0, + "y": 125.0 + }, + { + "x": 199.0, + "y": 127.0 + }, + { + "x": 199.0, + "y": 128.0 + }, + { + "x": 198.0, + "y": 129.0 + }, + { + "x": 197.0, + "y": 130.0 + }, + { + "x": 197.0, + "y": 131.0 + }, + { + "x": 196.0, + "y": 132.0 + }, + { + "x": 195.0, + "y": 133.0 + }, + { + "x": 190.0, + "y": 133.0 + }, + { + "x": 189.0, + "y": 133.0 + }, + { + "x": 188.0, + "y": 132.0 + }, + { + "x": 188.0, + "y": 131.0 + }, + { + "x": 188.0, + "y": 130.0 + }, + { + "x": 187.0, + "y": 129.0 + }, + { + "x": 187.0, + "y": 128.0 + }, + { + "x": 188.0, + "y": 127.0 + }, + { + "x": 188.0, + "y": 126.0 + }, + { + "x": 188.0, + "y": 125.0 + }, + { + "x": 189.0, + "y": 124.0 + }, + { + "x": 190.0, + "y": 123.0 + }, + { + "x": 190.0, + "y": 122.0 + }, + { + "x": 190.0, + "y": 121.0 + }, + { + "x": 189.0, + "y": 120.0 + }, + { + "x": 179.0, + "y": 120.0 + }, + { + "x": 178.0, + "y": 120.0 + }, + { + "x": 177.0, + "y": 121.0 + }, + { + "x": 176.0, + "y": 122.0 + }, + { + "x": 174.0, + "y": 122.0 + }, + { + "x": 173.0, + "y": 123.0 + }, + { + "x": 173.0, + "y": 124.0 + }, + { + "x": 172.0, + "y": 125.0 + }, + { + "x": 172.0, + "y": 126.0 + }, + { + "x": 172.0, + "y": 127.0 + }, + { + "x": 171.0, + "y": 128.0 + } + ] + ] + } + }, + "9": { + "bounding_box": { + "h": 62.0, + "w": 43.0, + "x": 171.0, + "y": 117.0 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 171.0, + "y": 128.0 + }, + { + "x": 171.0, + "y": 143.0 + }, + { + "x": 171.0, + "y": 144.0 + }, + { + "x": 172.0, + "y": 145.0 + }, + { + "x": 172.0, + "y": 148.0 + }, + { + "x": 172.0, + "y": 149.0 + }, + { + "x": 173.0, + "y": 150.0 + }, + { + "x": 173.0, + "y": 154.0 + }, + { + "x": 174.0, + "y": 155.0 + }, + { + "x": 173.0, + "y": 156.0 + }, + { + "x": 173.0, + "y": 158.0 + }, + { + "x": 173.0, + "y": 159.0 + }, + { + "x": 178.0, + "y": 164.0 + }, + { + "x": 179.0, + "y": 165.0 + }, + { + "x": 179.0, + "y": 166.0 + }, + { + "x": 179.0, + "y": 167.0 + }, + { + "x": 180.0, + "y": 168.0 + }, + { + "x": 180.0, + "y": 169.0 + }, + { + "x": 181.0, + "y": 170.0 + }, + { + "x": 181.0, + "y": 171.0 + }, + { + "x": 181.0, + "y": 172.0 + }, + { + "x": 182.0, + "y": 173.0 + }, + { + "x": 182.0, + "y": 174.0 + }, + { + "x": 183.0, + "y": 175.0 + }, + { + "x": 184.0, + "y": 175.0 + }, + { + "x": 185.0, + "y": 176.0 + }, + { + "x": 186.0, + "y": 177.0 + }, + { + "x": 187.0, + "y": 177.0 + }, + { + "x": 188.0, + "y": 178.0 + }, + { + "x": 189.0, + "y": 179.0 + }, + { + "x": 201.0, + "y": 179.0 + }, + { + "x": 202.0, + "y": 179.0 + }, + { + "x": 203.0, + "y": 178.0 + }, + { + "x": 204.0, + "y": 177.0 + }, + { + "x": 205.0, + "y": 177.0 + }, + { + "x": 206.0, + "y": 176.0 + }, + { + "x": 207.0, + "y": 176.0 + }, + { + "x": 208.0, + "y": 176.0 + }, + { + "x": 209.0, + "y": 175.0 + }, + { + "x": 209.0, + "y": 174.0 + }, + { + "x": 210.0, + "y": 173.0 + }, + { + "x": 211.0, + "y": 172.0 + }, + { + "x": 212.0, + "y": 172.0 + }, + { + "x": 213.0, + "y": 172.0 + }, + { + "x": 213.0, + "y": 170.0 + }, + { + "x": 214.0, + "y": 169.0 + }, + { + "x": 214.0, + "y": 163.0 + }, + { + "x": 214.0, + "y": 162.0 + }, + { + "x": 213.0, + "y": 161.0 + }, + { + "x": 213.0, + "y": 157.0 + }, + { + "x": 212.0, + "y": 156.0 + }, + { + "x": 211.0, + "y": 156.0 + }, + { + "x": 210.0, + "y": 156.0 + }, + { + "x": 207.0, + "y": 159.0 + }, + { + "x": 206.0, + "y": 160.0 + }, + { + "x": 205.0, + "y": 160.0 + }, + { + "x": 204.0, + "y": 161.0 + }, + { + "x": 201.0, + "y": 161.0 + }, + { + "x": 200.0, + "y": 161.0 + }, + { + "x": 199.0, + "y": 160.0 + }, + { + "x": 199.0, + "y": 159.0 + }, + { + "x": 198.0, + "y": 159.0 + }, + { + "x": 197.0, + "y": 158.0 + }, + { + "x": 197.0, + "y": 157.0 + }, + { + "x": 196.0, + "y": 156.0 + }, + { + "x": 197.0, + "y": 155.0 + }, + { + "x": 197.0, + "y": 152.0 + }, + { + "x": 197.0, + "y": 151.0 + }, + { + "x": 198.0, + "y": 150.0 + }, + { + "x": 199.0, + "y": 149.0 + }, + { + "x": 200.0, + "y": 150.0 + }, + { + "x": 203.0, + "y": 150.0 + }, + { + "x": 204.0, + "y": 150.0 + }, + { + "x": 204.0, + "y": 149.0 + }, + { + "x": 205.0, + "y": 148.0 + }, + { + "x": 206.0, + "y": 148.0 + }, + { + "x": 207.0, + "y": 148.0 + }, + { + "x": 208.0, + "y": 147.0 + }, + { + "x": 209.0, + "y": 147.0 + }, + { + "x": 210.0, + "y": 147.0 + }, + { + "x": 213.0, + "y": 144.0 + }, + { + "x": 214.0, + "y": 143.0 + }, + { + "x": 214.0, + "y": 142.0 + }, + { + "x": 214.0, + "y": 141.0 + }, + { + "x": 213.0, + "y": 140.0 + }, + { + "x": 212.0, + "y": 140.0 + }, + { + "x": 211.0, + "y": 141.0 + }, + { + "x": 210.0, + "y": 142.0 + }, + { + "x": 209.0, + "y": 142.0 + }, + { + "x": 207.0, + "y": 144.0 + }, + { + "x": 206.0, + "y": 145.0 + }, + { + "x": 205.0, + "y": 145.0 + }, + { + "x": 204.0, + "y": 144.0 + }, + { + "x": 204.0, + "y": 143.0 + }, + { + "x": 204.0, + "y": 142.0 + }, + { + "x": 205.0, + "y": 141.0 + }, + { + "x": 206.0, + "y": 140.0 + }, + { + "x": 206.0, + "y": 139.0 + }, + { + "x": 207.0, + "y": 138.0 + }, + { + "x": 207.0, + "y": 136.0 + }, + { + "x": 208.0, + "y": 135.0 + }, + { + "x": 208.0, + "y": 134.0 + }, + { + "x": 206.0, + "y": 132.0 + }, + { + "x": 206.0, + "y": 131.0 + }, + { + "x": 207.0, + "y": 130.0 + }, + { + "x": 208.0, + "y": 130.0 + }, + { + "x": 209.0, + "y": 130.0 + }, + { + "x": 210.0, + "y": 129.0 + }, + { + "x": 211.0, + "y": 129.0 + }, + { + "x": 212.0, + "y": 128.0 + }, + { + "x": 213.0, + "y": 128.0 + }, + { + "x": 213.0, + "y": 125.0 + }, + { + "x": 213.0, + "y": 124.0 + }, + { + "x": 211.0, + "y": 124.0 + }, + { + "x": 210.0, + "y": 123.0 + }, + { + "x": 207.0, + "y": 123.0 + }, + { + "x": 206.0, + "y": 123.0 + }, + { + "x": 206.0, + "y": 124.0 + }, + { + "x": 205.0, + "y": 125.0 + }, + { + "x": 204.0, + "y": 126.0 + }, + { + "x": 204.0, + "y": 127.0 + }, + { + "x": 203.0, + "y": 128.0 + }, + { + "x": 203.0, + "y": 129.0 + }, + { + "x": 202.0, + "y": 130.0 + }, + { + "x": 202.0, + "y": 131.0 + }, + { + "x": 201.0, + "y": 132.0 + }, + { + "x": 200.0, + "y": 133.0 + }, + { + "x": 198.0, + "y": 133.0 + }, + { + "x": 197.0, + "y": 133.0 + }, + { + "x": 196.0, + "y": 134.0 + }, + { + "x": 195.0, + "y": 134.0 + }, + { + "x": 194.0, + "y": 135.0 + }, + { + "x": 193.0, + "y": 134.0 + }, + { + "x": 193.0, + "y": 133.0 + }, + { + "x": 191.0, + "y": 133.0 + }, + { + "x": 190.0, + "y": 133.0 + }, + { + "x": 189.0, + "y": 132.0 + }, + { + "x": 188.0, + "y": 131.0 + }, + { + "x": 188.0, + "y": 130.0 + }, + { + "x": 188.0, + "y": 129.0 + }, + { + "x": 189.0, + "y": 128.0 + }, + { + "x": 189.0, + "y": 127.0 + }, + { + "x": 192.0, + "y": 124.0 + }, + { + "x": 193.0, + "y": 123.0 + }, + { + "x": 193.0, + "y": 120.0 + }, + { + "x": 193.0, + "y": 119.0 + }, + { + "x": 192.0, + "y": 118.0 + }, + { + "x": 191.0, + "y": 117.0 + }, + { + "x": 183.0, + "y": 117.0 + }, + { + "x": 182.0, + "y": 117.0 + }, + { + "x": 182.0, + "y": 118.0 + }, + { + "x": 181.0, + "y": 119.0 + }, + { + "x": 180.0, + "y": 119.0 + }, + { + "x": 179.0, + "y": 119.0 + }, + { + "x": 176.0, + "y": 122.0 + }, + { + "x": 175.0, + "y": 122.0 + }, + { + "x": 173.0, + "y": 124.0 + }, + { + "x": 172.0, + "y": 125.0 + }, + { + "x": 172.0, + "y": 126.0 + }, + { + "x": 172.0, + "y": 127.0 + }, + { + "x": 171.0, + "y": 128.0 + } + ] + ] + } + }, + "10": { + "bounding_box": { + "h": 60.0, + "w": 51.0, + "x": 168.0, + "y": 115.0 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 168.0, + "y": 146.0 + }, + { + "x": 168.0, + "y": 148.0 + }, + { + "x": 169.0, + "y": 149.0 + }, + { + "x": 169.0, + "y": 152.0 + }, + { + "x": 169.0, + "y": 153.0 + }, + { + "x": 170.0, + "y": 154.0 + }, + { + "x": 170.0, + "y": 156.0 + }, + { + "x": 170.0, + "y": 157.0 + }, + { + "x": 171.0, + "y": 158.0 + }, + { + "x": 171.0, + "y": 159.0 + }, + { + "x": 171.0, + "y": 160.0 + }, + { + "x": 172.0, + "y": 161.0 + }, + { + "x": 172.0, + "y": 162.0 + }, + { + "x": 174.0, + "y": 164.0 + }, + { + "x": 175.0, + "y": 165.0 + }, + { + "x": 175.0, + "y": 166.0 + }, + { + "x": 176.0, + "y": 167.0 + }, + { + "x": 176.0, + "y": 168.0 + }, + { + "x": 177.0, + "y": 169.0 + }, + { + "x": 178.0, + "y": 169.0 + }, + { + "x": 179.0, + "y": 169.0 + }, + { + "x": 179.0, + "y": 168.0 + }, + { + "x": 181.0, + "y": 166.0 + }, + { + "x": 182.0, + "y": 165.0 + }, + { + "x": 183.0, + "y": 165.0 + }, + { + "x": 184.0, + "y": 164.0 + }, + { + "x": 184.0, + "y": 163.0 + }, + { + "x": 184.0, + "y": 162.0 + }, + { + "x": 185.0, + "y": 161.0 + }, + { + "x": 186.0, + "y": 160.0 + }, + { + "x": 185.0, + "y": 159.0 + }, + { + "x": 184.0, + "y": 158.0 + }, + { + "x": 183.0, + "y": 158.0 + }, + { + "x": 182.0, + "y": 157.0 + }, + { + "x": 181.0, + "y": 156.0 + }, + { + "x": 181.0, + "y": 155.0 + }, + { + "x": 179.0, + "y": 153.0 + }, + { + "x": 178.0, + "y": 152.0 + }, + { + "x": 178.0, + "y": 151.0 + }, + { + "x": 178.0, + "y": 150.0 + }, + { + "x": 177.0, + "y": 149.0 + }, + { + "x": 177.0, + "y": 148.0 + }, + { + "x": 178.0, + "y": 147.0 + }, + { + "x": 179.0, + "y": 146.0 + }, + { + "x": 180.0, + "y": 147.0 + }, + { + "x": 181.0, + "y": 148.0 + }, + { + "x": 181.0, + "y": 149.0 + }, + { + "x": 182.0, + "y": 150.0 + }, + { + "x": 182.0, + "y": 151.0 + }, + { + "x": 188.0, + "y": 157.0 + }, + { + "x": 189.0, + "y": 158.0 + }, + { + "x": 189.0, + "y": 159.0 + }, + { + "x": 190.0, + "y": 160.0 + }, + { + "x": 190.0, + "y": 161.0 + }, + { + "x": 189.0, + "y": 162.0 + }, + { + "x": 189.0, + "y": 163.0 + }, + { + "x": 188.0, + "y": 164.0 + }, + { + "x": 188.0, + "y": 166.0 + }, + { + "x": 188.0, + "y": 167.0 + }, + { + "x": 189.0, + "y": 168.0 + }, + { + "x": 189.0, + "y": 170.0 + }, + { + "x": 189.0, + "y": 171.0 + }, + { + "x": 186.0, + "y": 174.0 + }, + { + "x": 185.0, + "y": 175.0 + }, + { + "x": 186.0, + "y": 175.0 + }, + { + "x": 186.0, + "y": 174.0 + }, + { + "x": 187.0, + "y": 173.0 + }, + { + "x": 188.0, + "y": 174.0 + }, + { + "x": 188.0, + "y": 175.0 + }, + { + "x": 190.0, + "y": 175.0 + }, + { + "x": 191.0, + "y": 175.0 + }, + { + "x": 192.0, + "y": 174.0 + }, + { + "x": 193.0, + "y": 173.0 + }, + { + "x": 203.0, + "y": 173.0 + }, + { + "x": 204.0, + "y": 173.0 + }, + { + "x": 205.0, + "y": 172.0 + }, + { + "x": 207.0, + "y": 172.0 + }, + { + "x": 208.0, + "y": 172.0 + }, + { + "x": 209.0, + "y": 171.0 + }, + { + "x": 210.0, + "y": 171.0 + }, + { + "x": 211.0, + "y": 171.0 + }, + { + "x": 212.0, + "y": 170.0 + }, + { + "x": 213.0, + "y": 170.0 + }, + { + "x": 215.0, + "y": 168.0 + }, + { + "x": 216.0, + "y": 167.0 + }, + { + "x": 216.0, + "y": 166.0 + }, + { + "x": 216.0, + "y": 165.0 + }, + { + "x": 217.0, + "y": 164.0 + }, + { + "x": 218.0, + "y": 163.0 + }, + { + "x": 218.0, + "y": 159.0 + }, + { + "x": 218.0, + "y": 158.0 + }, + { + "x": 219.0, + "y": 157.0 + }, + { + "x": 219.0, + "y": 156.0 + }, + { + "x": 209.0, + "y": 156.0 + }, + { + "x": 208.0, + "y": 156.0 + }, + { + "x": 207.0, + "y": 155.0 + }, + { + "x": 206.0, + "y": 155.0 + }, + { + "x": 203.0, + "y": 152.0 + }, + { + "x": 202.0, + "y": 151.0 + }, + { + "x": 202.0, + "y": 150.0 + }, + { + "x": 202.0, + "y": 149.0 + }, + { + "x": 203.0, + "y": 148.0 + }, + { + "x": 203.0, + "y": 147.0 + }, + { + "x": 204.0, + "y": 146.0 + }, + { + "x": 204.0, + "y": 145.0 + }, + { + "x": 206.0, + "y": 143.0 + }, + { + "x": 207.0, + "y": 142.0 + }, + { + "x": 208.0, + "y": 142.0 + }, + { + "x": 211.0, + "y": 139.0 + }, + { + "x": 212.0, + "y": 138.0 + }, + { + "x": 212.0, + "y": 135.0 + }, + { + "x": 213.0, + "y": 134.0 + }, + { + "x": 212.0, + "y": 133.0 + }, + { + "x": 212.0, + "y": 132.0 + }, + { + "x": 212.0, + "y": 131.0 + }, + { + "x": 211.0, + "y": 130.0 + }, + { + "x": 211.0, + "y": 129.0 + }, + { + "x": 210.0, + "y": 128.0 + }, + { + "x": 210.0, + "y": 127.0 + }, + { + "x": 208.0, + "y": 125.0 + }, + { + "x": 207.0, + "y": 124.0 + }, + { + "x": 206.0, + "y": 124.0 + }, + { + "x": 205.0, + "y": 124.0 + }, + { + "x": 205.0, + "y": 125.0 + }, + { + "x": 204.0, + "y": 126.0 + }, + { + "x": 203.0, + "y": 126.0 + }, + { + "x": 202.0, + "y": 127.0 + }, + { + "x": 201.0, + "y": 128.0 + }, + { + "x": 201.0, + "y": 129.0 + }, + { + "x": 200.0, + "y": 130.0 + }, + { + "x": 199.0, + "y": 131.0 + }, + { + "x": 197.0, + "y": 131.0 + }, + { + "x": 196.0, + "y": 131.0 + }, + { + "x": 195.0, + "y": 130.0 + }, + { + "x": 195.0, + "y": 129.0 + }, + { + "x": 196.0, + "y": 128.0 + }, + { + "x": 197.0, + "y": 127.0 + }, + { + "x": 197.0, + "y": 126.0 + }, + { + "x": 198.0, + "y": 125.0 + }, + { + "x": 198.0, + "y": 124.0 + }, + { + "x": 198.0, + "y": 123.0 + }, + { + "x": 197.0, + "y": 123.0 + }, + { + "x": 196.0, + "y": 123.0 + }, + { + "x": 196.0, + "y": 124.0 + }, + { + "x": 196.0, + "y": 125.0 + }, + { + "x": 195.0, + "y": 126.0 + }, + { + "x": 194.0, + "y": 126.0 + }, + { + "x": 193.0, + "y": 127.0 + }, + { + "x": 192.0, + "y": 128.0 + }, + { + "x": 191.0, + "y": 128.0 + }, + { + "x": 190.0, + "y": 127.0 + }, + { + "x": 190.0, + "y": 124.0 + }, + { + "x": 190.0, + "y": 123.0 + }, + { + "x": 191.0, + "y": 122.0 + }, + { + "x": 192.0, + "y": 122.0 + }, + { + "x": 192.0, + "y": 121.0 + }, + { + "x": 193.0, + "y": 120.0 + }, + { + "x": 194.0, + "y": 119.0 + }, + { + "x": 195.0, + "y": 119.0 + }, + { + "x": 196.0, + "y": 118.0 + }, + { + "x": 197.0, + "y": 118.0 + }, + { + "x": 196.0, + "y": 117.0 + }, + { + "x": 195.0, + "y": 116.0 + }, + { + "x": 193.0, + "y": 116.0 + }, + { + "x": 192.0, + "y": 115.0 + }, + { + "x": 190.0, + "y": 117.0 + }, + { + "x": 189.0, + "y": 117.0 + }, + { + "x": 188.0, + "y": 118.0 + }, + { + "x": 188.0, + "y": 119.0 + }, + { + "x": 184.0, + "y": 123.0 + }, + { + "x": 183.0, + "y": 123.0 + }, + { + "x": 183.0, + "y": 125.0 + }, + { + "x": 182.0, + "y": 126.0 + }, + { + "x": 180.0, + "y": 126.0 + }, + { + "x": 179.0, + "y": 127.0 + }, + { + "x": 179.0, + "y": 129.0 + }, + { + "x": 179.0, + "y": 130.0 + }, + { + "x": 180.0, + "y": 131.0 + }, + { + "x": 181.0, + "y": 132.0 + }, + { + "x": 181.0, + "y": 133.0 + }, + { + "x": 182.0, + "y": 134.0 + }, + { + "x": 182.0, + "y": 137.0 + }, + { + "x": 182.0, + "y": 138.0 + }, + { + "x": 183.0, + "y": 139.0 + }, + { + "x": 184.0, + "y": 139.0 + }, + { + "x": 187.0, + "y": 142.0 + }, + { + "x": 187.0, + "y": 143.0 + }, + { + "x": 185.0, + "y": 145.0 + }, + { + "x": 184.0, + "y": 145.0 + }, + { + "x": 183.0, + "y": 144.0 + }, + { + "x": 183.0, + "y": 143.0 + }, + { + "x": 182.0, + "y": 143.0 + }, + { + "x": 180.0, + "y": 141.0 + }, + { + "x": 179.0, + "y": 140.0 + }, + { + "x": 179.0, + "y": 139.0 + }, + { + "x": 178.0, + "y": 138.0 + }, + { + "x": 178.0, + "y": 136.0 + }, + { + "x": 178.0, + "y": 135.0 + }, + { + "x": 177.0, + "y": 134.0 + }, + { + "x": 177.0, + "y": 133.0 + }, + { + "x": 177.0, + "y": 132.0 + }, + { + "x": 176.0, + "y": 131.0 + }, + { + "x": 176.0, + "y": 130.0 + }, + { + "x": 174.0, + "y": 128.0 + }, + { + "x": 173.0, + "y": 127.0 + }, + { + "x": 173.0, + "y": 126.0 + }, + { + "x": 172.0, + "y": 126.0 + }, + { + "x": 172.0, + "y": 128.0 + }, + { + "x": 172.0, + "y": 129.0 + }, + { + "x": 171.0, + "y": 130.0 + }, + { + "x": 171.0, + "y": 131.0 + }, + { + "x": 170.0, + "y": 132.0 + }, + { + "x": 170.0, + "y": 135.0 + }, + { + "x": 169.0, + "y": 136.0 + }, + { + "x": 169.0, + "y": 144.0 + }, + { + "x": 169.0, + "y": 145.0 + }, + { + "x": 168.0, + "y": 146.0 + } + ] + ] + } + } + }, + "hidden_areas": [], + "id": "75ff071c-3b82-4f5e-8be8-6741d3ee30e8", + "name": "Reference_sBAT", + "properties": [], + "ranges": [ + [ + 4, + 11 + ] + ], + "slot_names": [ + "0" + ] + } + ], + "properties": [] +} \ No newline at end of file diff --git a/tests/darwin/data/nifti/nifti.json b/tests/darwin/data/nifti/nifti.json new file mode 100644 index 000000000..becf8807e --- /dev/null +++ b/tests/darwin/data/nifti/nifti.json @@ -0,0 +1,12 @@ +{ + "data": [ + { + "image": "BRAINIX_NIFTI_ROI.nii.gz", + "label": "/Users/john/Documents/code/development/darwin-py/tests/darwin/data/nifti/BRAINIX_NIFTI_ROI.nii.gz", + "class_map": { + "1": "Reference_sBAT" + }, + "mode": "video" + } + ] +} \ No newline at end of file diff --git a/tests/darwin/data/nifti/no-legacy/.v7/metadata.json b/tests/darwin/data/nifti/no-legacy/.v7/metadata.json new file mode 100644 index 000000000..3430da736 --- /dev/null +++ b/tests/darwin/data/nifti/no-legacy/.v7/metadata.json @@ -0,0 +1,44 @@ +{ + "version": "1.0", + "schema_ref": "https://darwin-public.s3.eu-west-1.amazonaws.com/darwin_json/metadata/1.0/schema.json", + "classes": [ + { + "name": "Reference_sBAT", + "type": "polygon", + "description": null, + "color": "rgba(0,255,170,1.0)", + "sub_types": [ + "text", + "inference" + ], + "properties": [], + "sub_types_settings": { + "inference": {}, + "text": {} + } + } + ], + "properties": [ + { + "name": "item-level-ss", + "type": "single_select", + "description": "What is this?", + "required": false, + "property_values": [ + { + "value": "1", + "color": "rgba(238,240,241,1.0)" + }, + { + "value": "2", + "color": "rgba(255,0,214,1.0)" + }, + { + "value": "3", + "color": "rgba(173,255,0,1.0)" + } + ], + "granularity": "item" + } + ] +} \ No newline at end of file diff --git a/tests/darwin/data/nifti/no-legacy/BRAINIX_NIFTI_ROI.nii.json b/tests/darwin/data/nifti/no-legacy/BRAINIX_NIFTI_ROI.nii.json new file mode 100644 index 000000000..b0578897d --- /dev/null +++ b/tests/darwin/data/nifti/no-legacy/BRAINIX_NIFTI_ROI.nii.json @@ -0,0 +1,3913 @@ +{ + "version": "2.0", + "schema_ref": "https://darwin-public.s3.eu-west-1.amazonaws.com/darwin_json/2.0/schema.json", + "item": { + "name": "BRAINIX_NIFTI_ROI.nii.gz", + "path": "/", + "source_info": { + "item_id": "019302b1-623a-e54c-4e2a-9403c2581954", + "dataset": { + "name": "MED_2D_VIEWER_ON", + "slug": "med_2d_viewer_on", + "dataset_management_url": "https://darwin.v7labs.com/datasets/1354683/dataset-management" + }, + "team": { + "name": "V7 John", + "slug": "v7-john" + }, + "workview_url": "https://darwin.v7labs.com/workview?dataset=1354683&item=019302b1-623a-e54c-4e2a-9403c2581954" + }, + "slots": [ + { + "type": "dicom", + "slot_name": "0", + "width": 288, + "height": 288, + "fps": null, + "thumbnail_url": "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/thumbnail", + "source_files": [ + { + "file_name": "BRAINIX_NIFTI_ROI.nii.gz", + "url": "https://darwin.v7labs.com/api/v2/teams/v7-john/uploads/3bef131b-6772-44db-af38-901920c73f44" + } + ], + "frame_count": 22, + "frame_urls": [ + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/0", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/1", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/2", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/3", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/4", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/5", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/6", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/7", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/8", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/9", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/10", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/11", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/12", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/13", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/14", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/15", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/16", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/17", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/18", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/19", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/20", + "https://darwin.v7labs.com/api/v2/teams/v7-john/files/5b5f868c-7fb6-4226-856a-0b0a742c51e6/sections/21" + ], + "metadata": { + "shape": [ + 1, + 288, + 288, + 22 + ], + "SeriesInstanceUID": "1.2.826.0.1.3680043.8.498.74346079490785680794508143611517792056", + "affine": "[[-0.7983811497688293, 0.0013799992157146335, -0.14355425536632538, 118.49510546668898], [0.0, -0.7965366840362549, -0.43216636776924133, 118.87191358208656], [0.019157083705067635, 0.05750555917620659, -5.982696056365967, 83.71717173978686], [0.0, 0.0, 0.0, 1.0]]", + "colorspace": "RG16", + "original_affine": [ + [ + "-0.7983811497688293", + "-0.0013799992157146335", + "0.14355425536632538", + "115.87652587890625" + ], + [ + "0.0", + "0.7965366840362549", + "0.43216636776924133", + "-118.80960845947266" + ], + [ + "0.019157083705067635", + "-0.05750555917620659", + "5.982696056365967", + "-25.41534996032715" + ], + [ + "0.0", + "0.0", + "0.0", + "1.0" + ] + ], + "pixdim": "(0.7986109, 0.798611, 6.0000024)" + } + } + ] + }, + "annotations": [ + { + "frames": { + "4": { + "bounding_box": { + "h": 28.75, + "w": 16.77090000000001, + "x": 68.6805, + "y": 108.6111 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 68.6805, + "y": 109.4097 + }, + { + "x": 68.6805, + "y": 116.5972 + }, + { + "x": 68.6805, + "y": 117.3958 + }, + { + "x": 70.2778, + "y": 118.993 + }, + { + "x": 71.0764, + "y": 119.7916 + }, + { + "x": 75.868, + "y": 119.7916 + }, + { + "x": 76.6667, + "y": 119.7916 + }, + { + "x": 77.4653, + "y": 120.5903 + }, + { + "x": 78.2639, + "y": 120.5903 + }, + { + "x": 79.0625, + "y": 120.5903 + }, + { + "x": 79.8611, + "y": 121.3889 + }, + { + "x": 79.8611, + "y": 122.1875 + }, + { + "x": 83.0555, + "y": 122.1875 + }, + { + "x": 83.8542, + "y": 122.1875 + }, + { + "x": 83.8542, + "y": 121.3889 + }, + { + "x": 83.0555, + "y": 120.5903 + }, + { + "x": 83.0555, + "y": 119.7916 + }, + { + "x": 82.2569, + "y": 118.993 + }, + { + "x": 82.2569, + "y": 118.1944 + }, + { + "x": 82.2569, + "y": 117.3958 + }, + { + "x": 81.4583, + "y": 116.5972 + }, + { + "x": 80.6597, + "y": 116.5972 + }, + { + "x": 79.8611, + "y": 115.7986 + }, + { + "x": 79.0625, + "y": 115.7986 + }, + { + "x": 78.2639, + "y": 115.0 + }, + { + "x": 78.2639, + "y": 114.2014 + }, + { + "x": 76.6667, + "y": 112.6041 + }, + { + "x": 75.868, + "y": 111.8055 + }, + { + "x": 75.0694, + "y": 111.8055 + }, + { + "x": 74.2708, + "y": 111.0069 + }, + { + "x": 73.4722, + "y": 111.0069 + }, + { + "x": 72.6736, + "y": 110.2083 + }, + { + "x": 71.875, + "y": 110.2083 + }, + { + "x": 71.0764, + "y": 109.4097 + }, + { + "x": 71.0764, + "y": 108.6111 + }, + { + "x": 70.2778, + "y": 108.6111 + }, + { + "x": 69.4792, + "y": 108.6111 + }, + { + "x": 68.6805, + "y": 109.4097 + } + ], + [ + { + "x": 70.2778, + "y": 127.7778 + }, + { + "x": 70.2778, + "y": 128.5764 + }, + { + "x": 71.0764, + "y": 129.375 + }, + { + "x": 71.875, + "y": 130.1736 + }, + { + "x": 71.875, + "y": 130.9722 + }, + { + "x": 73.4722, + "y": 132.5694 + }, + { + "x": 73.4722, + "y": 133.368 + }, + { + "x": 75.0694, + "y": 134.9653 + }, + { + "x": 75.868, + "y": 135.7639 + }, + { + "x": 76.6667, + "y": 135.7639 + }, + { + "x": 77.4653, + "y": 135.7639 + }, + { + "x": 78.2639, + "y": 136.5625 + }, + { + "x": 78.2639, + "y": 137.3611 + }, + { + "x": 83.0555, + "y": 137.3611 + }, + { + "x": 83.8542, + "y": 137.3611 + }, + { + "x": 84.6528, + "y": 136.5625 + }, + { + "x": 85.4514, + "y": 136.5625 + }, + { + "x": 85.4514, + "y": 135.7639 + }, + { + "x": 85.4514, + "y": 134.9653 + }, + { + "x": 83.8542, + "y": 133.368 + }, + { + "x": 83.0555, + "y": 133.368 + }, + { + "x": 75.868, + "y": 126.1805 + }, + { + "x": 75.868, + "y": 125.3819 + }, + { + "x": 72.6736, + "y": 125.3819 + }, + { + "x": 71.875, + "y": 125.3819 + }, + { + "x": 71.0764, + "y": 126.1805 + }, + { + "x": 71.0764, + "y": 126.9791 + }, + { + "x": 70.2778, + "y": 127.7778 + } + ] + ] + } + }, + "5": { + "bounding_box": { + "h": 27.152799999999985, + "w": 27.1528, + "x": 60.6944, + "y": 111.0069 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 60.6944, + "y": 123.7847 + }, + { + "x": 60.6944, + "y": 126.1805 + }, + { + "x": 60.6944, + "y": 126.9791 + }, + { + "x": 61.493, + "y": 127.7778 + }, + { + "x": 61.493, + "y": 129.375 + }, + { + "x": 62.2917, + "y": 130.1736 + }, + { + "x": 63.0903, + "y": 130.1736 + }, + { + "x": 63.8889, + "y": 130.9722 + }, + { + "x": 66.2847, + "y": 130.9722 + }, + { + "x": 67.0833, + "y": 130.9722 + }, + { + "x": 67.0833, + "y": 130.1736 + }, + { + "x": 67.8819, + "y": 129.375 + }, + { + "x": 69.4792, + "y": 129.375 + }, + { + "x": 70.2778, + "y": 129.375 + }, + { + "x": 71.0764, + "y": 130.1736 + }, + { + "x": 71.0764, + "y": 130.9722 + }, + { + "x": 73.4722, + "y": 130.9722 + }, + { + "x": 74.2708, + "y": 130.9722 + }, + { + "x": 75.0694, + "y": 131.7708 + }, + { + "x": 75.868, + "y": 131.7708 + }, + { + "x": 79.0625, + "y": 134.9653 + }, + { + "x": 79.8611, + "y": 135.7639 + }, + { + "x": 80.6597, + "y": 135.7639 + }, + { + "x": 82.2569, + "y": 137.3611 + }, + { + "x": 83.0555, + "y": 138.1597 + }, + { + "x": 83.8542, + "y": 138.1597 + }, + { + "x": 84.6528, + "y": 138.1597 + }, + { + "x": 84.6528, + "y": 137.3611 + }, + { + "x": 85.4514, + "y": 136.5625 + }, + { + "x": 85.4514, + "y": 135.7639 + }, + { + "x": 86.25, + "y": 134.9653 + }, + { + "x": 86.25, + "y": 132.5694 + }, + { + "x": 86.25, + "y": 131.7708 + }, + { + "x": 87.0486, + "y": 130.9722 + }, + { + "x": 87.0486, + "y": 130.1736 + }, + { + "x": 87.8472, + "y": 129.375 + }, + { + "x": 87.8472, + "y": 123.7847 + }, + { + "x": 87.8472, + "y": 122.9861 + }, + { + "x": 87.0486, + "y": 122.1875 + }, + { + "x": 87.0486, + "y": 121.3889 + }, + { + "x": 86.25, + "y": 120.5903 + }, + { + "x": 86.25, + "y": 119.7916 + }, + { + "x": 85.4514, + "y": 118.993 + }, + { + "x": 85.4514, + "y": 118.1944 + }, + { + "x": 84.6528, + "y": 117.3958 + }, + { + "x": 84.6528, + "y": 116.5972 + }, + { + "x": 81.4583, + "y": 113.4028 + }, + { + "x": 80.6597, + "y": 112.6041 + }, + { + "x": 79.8611, + "y": 112.6041 + }, + { + "x": 79.0625, + "y": 111.8055 + }, + { + "x": 77.4653, + "y": 111.8055 + }, + { + "x": 76.6667, + "y": 111.0069 + }, + { + "x": 71.875, + "y": 111.0069 + }, + { + "x": 71.0764, + "y": 111.0069 + }, + { + "x": 71.0764, + "y": 111.8055 + }, + { + "x": 70.2778, + "y": 112.6041 + }, + { + "x": 69.4792, + "y": 112.6041 + }, + { + "x": 67.0833, + "y": 115.0 + }, + { + "x": 66.2847, + "y": 115.7986 + }, + { + "x": 66.2847, + "y": 116.5972 + }, + { + "x": 63.0903, + "y": 119.7916 + }, + { + "x": 62.2917, + "y": 120.5903 + }, + { + "x": 62.2917, + "y": 121.3889 + }, + { + "x": 61.493, + "y": 122.1875 + }, + { + "x": 61.493, + "y": 122.9861 + }, + { + "x": 60.6944, + "y": 123.7847 + } + ] + ] + } + }, + "6": { + "bounding_box": { + "h": 45.520799999999994, + "w": 33.5417, + "x": 59.8958, + "y": 95.0347 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 59.8958, + "y": 120.5903 + }, + { + "x": 59.8958, + "y": 125.3819 + }, + { + "x": 59.8958, + "y": 126.1805 + }, + { + "x": 61.493, + "y": 127.7778 + }, + { + "x": 61.493, + "y": 128.5764 + }, + { + "x": 66.2847, + "y": 133.368 + }, + { + "x": 66.2847, + "y": 134.1666 + }, + { + "x": 69.4792, + "y": 134.1666 + }, + { + "x": 70.2778, + "y": 134.1666 + }, + { + "x": 70.2778, + "y": 133.368 + }, + { + "x": 71.0764, + "y": 132.5694 + }, + { + "x": 78.2639, + "y": 132.5694 + }, + { + "x": 79.0625, + "y": 132.5694 + }, + { + "x": 80.6597, + "y": 134.1666 + }, + { + "x": 81.4583, + "y": 134.9653 + }, + { + "x": 81.4583, + "y": 135.7639 + }, + { + "x": 82.2569, + "y": 136.5625 + }, + { + "x": 81.4583, + "y": 137.3611 + }, + { + "x": 81.4583, + "y": 138.1597 + }, + { + "x": 81.4583, + "y": 138.9583 + }, + { + "x": 82.2569, + "y": 139.7569 + }, + { + "x": 82.2569, + "y": 140.5555 + }, + { + "x": 84.6528, + "y": 140.5555 + }, + { + "x": 85.4514, + "y": 140.5555 + }, + { + "x": 85.4514, + "y": 138.1597 + }, + { + "x": 85.4514, + "y": 137.3611 + }, + { + "x": 86.25, + "y": 136.5625 + }, + { + "x": 86.25, + "y": 135.7639 + }, + { + "x": 87.0486, + "y": 134.9653 + }, + { + "x": 87.0486, + "y": 134.1666 + }, + { + "x": 87.0486, + "y": 133.368 + }, + { + "x": 87.8472, + "y": 132.5694 + }, + { + "x": 87.8472, + "y": 131.7708 + }, + { + "x": 87.8472, + "y": 130.9722 + }, + { + "x": 88.6458, + "y": 130.1736 + }, + { + "x": 88.6458, + "y": 128.5764 + }, + { + "x": 89.4444, + "y": 127.7778 + }, + { + "x": 89.4444, + "y": 122.9861 + }, + { + "x": 89.4444, + "y": 122.1875 + }, + { + "x": 90.243, + "y": 121.3889 + }, + { + "x": 90.243, + "y": 120.5903 + }, + { + "x": 91.0417, + "y": 119.7916 + }, + { + "x": 91.0417, + "y": 118.993 + }, + { + "x": 91.8403, + "y": 118.1944 + }, + { + "x": 91.8403, + "y": 115.0 + }, + { + "x": 91.8403, + "y": 114.2014 + }, + { + "x": 92.6389, + "y": 113.4028 + }, + { + "x": 92.6389, + "y": 110.2083 + }, + { + "x": 93.4375, + "y": 109.4097 + }, + { + "x": 93.4375, + "y": 105.4167 + }, + { + "x": 93.4375, + "y": 104.618 + }, + { + "x": 93.4375, + "y": 105.4167 + }, + { + "x": 92.6389, + "y": 106.2153 + }, + { + "x": 92.6389, + "y": 107.0139 + }, + { + "x": 91.8403, + "y": 107.8125 + }, + { + "x": 91.0417, + "y": 107.8125 + }, + { + "x": 90.243, + "y": 108.6111 + }, + { + "x": 89.4444, + "y": 108.6111 + }, + { + "x": 86.25, + "y": 111.8055 + }, + { + "x": 85.4514, + "y": 112.6041 + }, + { + "x": 84.6528, + "y": 112.6041 + }, + { + "x": 83.0555, + "y": 114.2014 + }, + { + "x": 82.2569, + "y": 115.0 + }, + { + "x": 81.4583, + "y": 115.0 + }, + { + "x": 80.6597, + "y": 115.7986 + }, + { + "x": 79.8611, + "y": 115.7986 + }, + { + "x": 79.0625, + "y": 116.5972 + }, + { + "x": 78.2639, + "y": 116.5972 + }, + { + "x": 77.4653, + "y": 116.5972 + }, + { + "x": 77.4653, + "y": 117.3958 + }, + { + "x": 76.6667, + "y": 118.1944 + }, + { + "x": 71.0764, + "y": 118.1944 + }, + { + "x": 70.2778, + "y": 118.1944 + }, + { + "x": 67.8819, + "y": 115.7986 + }, + { + "x": 67.8819, + "y": 115.0 + }, + { + "x": 66.2847, + "y": 115.0 + }, + { + "x": 65.4861, + "y": 115.0 + }, + { + "x": 64.6875, + "y": 115.7986 + }, + { + "x": 63.8889, + "y": 115.7986 + }, + { + "x": 62.2917, + "y": 117.3958 + }, + { + "x": 61.493, + "y": 118.1944 + }, + { + "x": 61.493, + "y": 118.993 + }, + { + "x": 59.8958, + "y": 120.5903 + } + ], + [ + { + "x": 61.493, + "y": 110.2083 + }, + { + "x": 61.493, + "y": 111.0069 + }, + { + "x": 70.2778, + "y": 111.0069 + }, + { + "x": 71.0764, + "y": 111.0069 + }, + { + "x": 71.875, + "y": 111.8055 + }, + { + "x": 76.6667, + "y": 111.8055 + }, + { + "x": 77.4653, + "y": 111.8055 + }, + { + "x": 77.4653, + "y": 111.0069 + }, + { + "x": 78.2639, + "y": 110.2083 + }, + { + "x": 79.0625, + "y": 110.2083 + }, + { + "x": 81.4583, + "y": 107.8125 + }, + { + "x": 82.2569, + "y": 107.0139 + }, + { + "x": 83.0555, + "y": 107.8125 + }, + { + "x": 83.8542, + "y": 107.8125 + }, + { + "x": 84.6528, + "y": 107.8125 + }, + { + "x": 84.6528, + "y": 107.0139 + }, + { + "x": 88.6458, + "y": 103.0208 + }, + { + "x": 88.6458, + "y": 102.2222 + }, + { + "x": 87.8472, + "y": 101.4236 + }, + { + "x": 87.8472, + "y": 100.625 + }, + { + "x": 87.0486, + "y": 100.625 + }, + { + "x": 85.4514, + "y": 99.0278 + }, + { + "x": 84.6528, + "y": 98.2292 + }, + { + "x": 83.8542, + "y": 98.2292 + }, + { + "x": 83.0555, + "y": 97.4305 + }, + { + "x": 82.2569, + "y": 97.4305 + }, + { + "x": 80.6597, + "y": 95.8333 + }, + { + "x": 79.8611, + "y": 95.0347 + }, + { + "x": 74.2708, + "y": 95.0347 + }, + { + "x": 73.4722, + "y": 95.0347 + }, + { + "x": 73.4722, + "y": 95.8333 + }, + { + "x": 74.2708, + "y": 96.6319 + }, + { + "x": 74.2708, + "y": 97.4305 + }, + { + "x": 75.0694, + "y": 97.4305 + }, + { + "x": 75.868, + "y": 97.4305 + }, + { + "x": 76.6667, + "y": 98.2292 + }, + { + "x": 76.6667, + "y": 99.0278 + }, + { + "x": 75.868, + "y": 99.8264 + }, + { + "x": 75.0694, + "y": 100.625 + }, + { + "x": 74.2708, + "y": 100.625 + }, + { + "x": 73.4722, + "y": 101.4236 + }, + { + "x": 72.6736, + "y": 101.4236 + }, + { + "x": 70.2778, + "y": 103.8194 + }, + { + "x": 69.4792, + "y": 104.618 + }, + { + "x": 68.6805, + "y": 104.618 + }, + { + "x": 67.8819, + "y": 105.4167 + }, + { + "x": 67.0833, + "y": 105.4167 + }, + { + "x": 66.2847, + "y": 105.4167 + }, + { + "x": 65.4861, + "y": 106.2153 + }, + { + "x": 64.6875, + "y": 106.2153 + }, + { + "x": 63.0903, + "y": 107.8125 + }, + { + "x": 62.2917, + "y": 108.6111 + }, + { + "x": 62.2917, + "y": 109.4097 + }, + { + "x": 61.493, + "y": 110.2083 + } + ] + ] + } + }, + "7": { + "bounding_box": { + "h": 47.11810000000001, + "w": 31.944499999999998, + "x": 61.493, + "y": 95.0347 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 61.493, + "y": 130.1736 + }, + { + "x": 61.493, + "y": 130.9722 + }, + { + "x": 62.2917, + "y": 131.7708 + }, + { + "x": 62.2917, + "y": 132.5694 + }, + { + "x": 63.0903, + "y": 133.368 + }, + { + "x": 63.0903, + "y": 134.1666 + }, + { + "x": 63.0903, + "y": 134.9653 + }, + { + "x": 63.8889, + "y": 135.7639 + }, + { + "x": 64.6875, + "y": 135.7639 + }, + { + "x": 67.0833, + "y": 138.1597 + }, + { + "x": 67.8819, + "y": 138.9583 + }, + { + "x": 69.4792, + "y": 138.9583 + }, + { + "x": 70.2778, + "y": 139.7569 + }, + { + "x": 72.6736, + "y": 139.7569 + }, + { + "x": 73.4722, + "y": 139.7569 + }, + { + "x": 75.0694, + "y": 141.3541 + }, + { + "x": 75.0694, + "y": 142.1528 + }, + { + "x": 77.4653, + "y": 142.1528 + }, + { + "x": 78.2639, + "y": 142.1528 + }, + { + "x": 79.0625, + "y": 141.3541 + }, + { + "x": 80.6597, + "y": 141.3541 + }, + { + "x": 81.4583, + "y": 141.3541 + }, + { + "x": 82.2569, + "y": 140.5555 + }, + { + "x": 83.0555, + "y": 140.5555 + }, + { + "x": 85.4514, + "y": 138.1597 + }, + { + "x": 86.25, + "y": 137.3611 + }, + { + "x": 86.25, + "y": 134.9653 + }, + { + "x": 86.25, + "y": 134.1666 + }, + { + "x": 87.0486, + "y": 133.368 + }, + { + "x": 87.0486, + "y": 131.7708 + }, + { + "x": 87.8472, + "y": 130.9722 + }, + { + "x": 87.8472, + "y": 127.7778 + }, + { + "x": 87.8472, + "y": 126.9791 + }, + { + "x": 88.6458, + "y": 126.1805 + }, + { + "x": 88.6458, + "y": 123.7847 + }, + { + "x": 88.6458, + "y": 122.9861 + }, + { + "x": 89.4444, + "y": 122.1875 + }, + { + "x": 89.4444, + "y": 119.7916 + }, + { + "x": 89.4444, + "y": 118.993 + }, + { + "x": 90.243, + "y": 118.1944 + }, + { + "x": 90.243, + "y": 117.3958 + }, + { + "x": 91.8403, + "y": 115.7986 + }, + { + "x": 92.6389, + "y": 115.0 + }, + { + "x": 92.6389, + "y": 113.4028 + }, + { + "x": 93.4375, + "y": 112.6041 + }, + { + "x": 93.4375, + "y": 103.8194 + }, + { + "x": 93.4375, + "y": 103.0208 + }, + { + "x": 92.6389, + "y": 102.2222 + }, + { + "x": 91.8403, + "y": 101.4236 + }, + { + "x": 91.0417, + "y": 101.4236 + }, + { + "x": 90.243, + "y": 100.625 + }, + { + "x": 89.4444, + "y": 100.625 + }, + { + "x": 88.6458, + "y": 99.8264 + }, + { + "x": 87.8472, + "y": 99.8264 + }, + { + "x": 87.0486, + "y": 99.0278 + }, + { + "x": 86.25, + "y": 99.0278 + }, + { + "x": 85.4514, + "y": 99.0278 + }, + { + "x": 84.6528, + "y": 98.2292 + }, + { + "x": 83.8542, + "y": 98.2292 + }, + { + "x": 83.0555, + "y": 97.4305 + }, + { + "x": 82.2569, + "y": 97.4305 + }, + { + "x": 81.4583, + "y": 96.6319 + }, + { + "x": 80.6597, + "y": 96.6319 + }, + { + "x": 79.8611, + "y": 95.8333 + }, + { + "x": 79.8611, + "y": 95.0347 + }, + { + "x": 76.6667, + "y": 95.0347 + }, + { + "x": 75.868, + "y": 95.0347 + }, + { + "x": 75.0694, + "y": 95.8333 + }, + { + "x": 74.2708, + "y": 95.8333 + }, + { + "x": 75.0694, + "y": 95.8333 + }, + { + "x": 75.868, + "y": 95.8333 + }, + { + "x": 76.6667, + "y": 96.6319 + }, + { + "x": 76.6667, + "y": 97.4305 + }, + { + "x": 76.6667, + "y": 98.2292 + }, + { + "x": 78.2639, + "y": 99.8264 + }, + { + "x": 79.0625, + "y": 99.8264 + }, + { + "x": 79.8611, + "y": 100.625 + }, + { + "x": 79.8611, + "y": 101.4236 + }, + { + "x": 79.8611, + "y": 102.2222 + }, + { + "x": 79.0625, + "y": 103.0208 + }, + { + "x": 71.0764, + "y": 103.0208 + }, + { + "x": 70.2778, + "y": 103.0208 + }, + { + "x": 69.4792, + "y": 103.8194 + }, + { + "x": 68.6805, + "y": 103.8194 + }, + { + "x": 67.8819, + "y": 104.618 + }, + { + "x": 67.0833, + "y": 104.618 + }, + { + "x": 66.2847, + "y": 105.4167 + }, + { + "x": 65.4861, + "y": 105.4167 + }, + { + "x": 65.4861, + "y": 106.2153 + }, + { + "x": 64.6875, + "y": 107.0139 + }, + { + "x": 64.6875, + "y": 110.2083 + }, + { + "x": 64.6875, + "y": 111.0069 + }, + { + "x": 65.4861, + "y": 111.0069 + }, + { + "x": 66.2847, + "y": 111.8055 + }, + { + "x": 66.2847, + "y": 112.6041 + }, + { + "x": 67.8819, + "y": 112.6041 + }, + { + "x": 68.6805, + "y": 112.6041 + }, + { + "x": 68.6805, + "y": 111.8055 + }, + { + "x": 69.4792, + "y": 111.0069 + }, + { + "x": 71.0764, + "y": 111.0069 + }, + { + "x": 71.875, + "y": 111.0069 + }, + { + "x": 75.0694, + "y": 114.2014 + }, + { + "x": 75.868, + "y": 115.0 + }, + { + "x": 75.0694, + "y": 115.7986 + }, + { + "x": 74.2708, + "y": 116.5972 + }, + { + "x": 65.4861, + "y": 116.5972 + }, + { + "x": 64.6875, + "y": 116.5972 + }, + { + "x": 63.8889, + "y": 117.3958 + }, + { + "x": 63.0903, + "y": 118.1944 + }, + { + "x": 63.0903, + "y": 118.993 + }, + { + "x": 63.0903, + "y": 119.7916 + }, + { + "x": 62.2917, + "y": 120.5903 + }, + { + "x": 62.2917, + "y": 121.3889 + }, + { + "x": 63.0903, + "y": 122.1875 + }, + { + "x": 63.0903, + "y": 122.9861 + }, + { + "x": 63.8889, + "y": 123.7847 + }, + { + "x": 64.6875, + "y": 123.7847 + }, + { + "x": 65.4861, + "y": 123.7847 + }, + { + "x": 66.2847, + "y": 124.5833 + }, + { + "x": 67.0833, + "y": 124.5833 + }, + { + "x": 67.8819, + "y": 125.3819 + }, + { + "x": 68.6805, + "y": 125.3819 + }, + { + "x": 69.4792, + "y": 126.1805 + }, + { + "x": 70.2778, + "y": 126.9791 + }, + { + "x": 72.6736, + "y": 126.9791 + }, + { + "x": 73.4722, + "y": 126.9791 + }, + { + "x": 74.2708, + "y": 127.7778 + }, + { + "x": 75.0694, + "y": 127.7778 + }, + { + "x": 75.868, + "y": 128.5764 + }, + { + "x": 76.6667, + "y": 129.375 + }, + { + "x": 76.6667, + "y": 130.1736 + }, + { + "x": 76.6667, + "y": 130.9722 + }, + { + "x": 77.4653, + "y": 131.7708 + }, + { + "x": 78.2639, + "y": 132.5694 + }, + { + "x": 78.2639, + "y": 134.9653 + }, + { + "x": 79.0625, + "y": 135.7639 + }, + { + "x": 78.2639, + "y": 136.5625 + }, + { + "x": 78.2639, + "y": 137.3611 + }, + { + "x": 77.4653, + "y": 138.1597 + }, + { + "x": 76.6667, + "y": 138.1597 + }, + { + "x": 75.868, + "y": 138.1597 + }, + { + "x": 69.4792, + "y": 131.7708 + }, + { + "x": 68.6805, + "y": 130.9722 + }, + { + "x": 67.8819, + "y": 130.9722 + }, + { + "x": 67.0833, + "y": 130.1736 + }, + { + "x": 66.2847, + "y": 129.375 + }, + { + "x": 63.0903, + "y": 129.375 + }, + { + "x": 62.2917, + "y": 129.375 + }, + { + "x": 61.493, + "y": 130.1736 + } + ] + ] + } + }, + "8": { + "bounding_box": { + "h": 46.31950000000002, + "w": 33.541700000000006, + "x": 59.0972, + "y": 95.8333 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 59.0972, + "y": 104.618 + }, + { + "x": 59.0972, + "y": 111.8055 + }, + { + "x": 59.0972, + "y": 112.6041 + }, + { + "x": 59.8958, + "y": 113.4028 + }, + { + "x": 60.6944, + "y": 114.2014 + }, + { + "x": 60.6944, + "y": 115.0 + }, + { + "x": 61.493, + "y": 115.7986 + }, + { + "x": 61.493, + "y": 116.5972 + }, + { + "x": 62.2917, + "y": 117.3958 + }, + { + "x": 62.2917, + "y": 118.993 + }, + { + "x": 63.0903, + "y": 119.7916 + }, + { + "x": 63.0903, + "y": 120.5903 + }, + { + "x": 62.2917, + "y": 121.3889 + }, + { + "x": 62.2917, + "y": 122.1875 + }, + { + "x": 62.2917, + "y": 122.9861 + }, + { + "x": 63.0903, + "y": 123.7847 + }, + { + "x": 67.8819, + "y": 123.7847 + }, + { + "x": 68.6805, + "y": 123.7847 + }, + { + "x": 69.4792, + "y": 124.5833 + }, + { + "x": 71.875, + "y": 124.5833 + }, + { + "x": 72.6736, + "y": 124.5833 + }, + { + "x": 74.2708, + "y": 126.1805 + }, + { + "x": 75.0694, + "y": 126.9791 + }, + { + "x": 75.0694, + "y": 127.7778 + }, + { + "x": 75.0694, + "y": 128.5764 + }, + { + "x": 72.6736, + "y": 130.9722 + }, + { + "x": 71.875, + "y": 130.9722 + }, + { + "x": 71.875, + "y": 131.7708 + }, + { + "x": 71.0764, + "y": 132.5694 + }, + { + "x": 70.2778, + "y": 132.5694 + }, + { + "x": 69.4792, + "y": 132.5694 + }, + { + "x": 68.6805, + "y": 131.7708 + }, + { + "x": 67.8819, + "y": 131.7708 + }, + { + "x": 65.4861, + "y": 129.375 + }, + { + "x": 65.4861, + "y": 128.5764 + }, + { + "x": 60.6944, + "y": 128.5764 + }, + { + "x": 59.8958, + "y": 129.375 + }, + { + "x": 60.6944, + "y": 129.375 + }, + { + "x": 61.493, + "y": 130.1736 + }, + { + "x": 62.2917, + "y": 130.9722 + }, + { + "x": 62.2917, + "y": 131.7708 + }, + { + "x": 63.0903, + "y": 132.5694 + }, + { + "x": 63.0903, + "y": 133.368 + }, + { + "x": 63.8889, + "y": 134.1666 + }, + { + "x": 64.6875, + "y": 134.9653 + }, + { + "x": 65.4861, + "y": 134.9653 + }, + { + "x": 66.2847, + "y": 134.9653 + }, + { + "x": 67.0833, + "y": 135.7639 + }, + { + "x": 67.8819, + "y": 135.7639 + }, + { + "x": 68.6805, + "y": 136.5625 + }, + { + "x": 68.6805, + "y": 137.3611 + }, + { + "x": 69.4792, + "y": 138.1597 + }, + { + "x": 69.4792, + "y": 138.9583 + }, + { + "x": 70.2778, + "y": 139.7569 + }, + { + "x": 71.0764, + "y": 139.7569 + }, + { + "x": 71.875, + "y": 140.5555 + }, + { + "x": 72.6736, + "y": 140.5555 + }, + { + "x": 73.4722, + "y": 140.5555 + }, + { + "x": 74.2708, + "y": 141.3541 + }, + { + "x": 74.2708, + "y": 142.1528 + }, + { + "x": 79.0625, + "y": 142.1528 + }, + { + "x": 79.8611, + "y": 142.1528 + }, + { + "x": 82.2569, + "y": 139.7569 + }, + { + "x": 83.0555, + "y": 138.9583 + }, + { + "x": 83.0555, + "y": 137.3611 + }, + { + "x": 83.0555, + "y": 136.5625 + }, + { + "x": 83.8542, + "y": 135.7639 + }, + { + "x": 83.8542, + "y": 134.9653 + }, + { + "x": 86.25, + "y": 132.5694 + }, + { + "x": 87.0486, + "y": 131.7708 + }, + { + "x": 87.0486, + "y": 130.9722 + }, + { + "x": 87.8472, + "y": 130.1736 + }, + { + "x": 87.8472, + "y": 126.9791 + }, + { + "x": 88.6458, + "y": 126.1805 + }, + { + "x": 88.6458, + "y": 122.1875 + }, + { + "x": 88.6458, + "y": 121.3889 + }, + { + "x": 89.4444, + "y": 120.5903 + }, + { + "x": 89.4444, + "y": 119.7916 + }, + { + "x": 90.243, + "y": 118.993 + }, + { + "x": 90.243, + "y": 118.1944 + }, + { + "x": 91.0417, + "y": 117.3958 + }, + { + "x": 91.0417, + "y": 115.7986 + }, + { + "x": 91.8403, + "y": 115.0 + }, + { + "x": 91.8403, + "y": 110.2083 + }, + { + "x": 91.8403, + "y": 109.4097 + }, + { + "x": 92.6389, + "y": 108.6111 + }, + { + "x": 92.6389, + "y": 103.0208 + }, + { + "x": 92.6389, + "y": 102.2222 + }, + { + "x": 91.8403, + "y": 101.4236 + }, + { + "x": 91.8403, + "y": 100.625 + }, + { + "x": 91.8403, + "y": 99.8264 + }, + { + "x": 91.0417, + "y": 99.0278 + }, + { + "x": 91.0417, + "y": 98.2292 + }, + { + "x": 90.243, + "y": 97.4305 + }, + { + "x": 89.4444, + "y": 97.4305 + }, + { + "x": 88.6458, + "y": 97.4305 + }, + { + "x": 87.8472, + "y": 96.6319 + }, + { + "x": 87.0486, + "y": 95.8333 + }, + { + "x": 79.0625, + "y": 95.8333 + }, + { + "x": 78.2639, + "y": 95.8333 + }, + { + "x": 77.4653, + "y": 96.6319 + }, + { + "x": 77.4653, + "y": 97.4305 + }, + { + "x": 77.4653, + "y": 98.2292 + }, + { + "x": 78.2639, + "y": 99.0278 + }, + { + "x": 79.0625, + "y": 99.8264 + }, + { + "x": 79.0625, + "y": 101.4236 + }, + { + "x": 79.8611, + "y": 102.2222 + }, + { + "x": 79.8611, + "y": 103.0208 + }, + { + "x": 79.0625, + "y": 103.8194 + }, + { + "x": 79.0625, + "y": 105.4167 + }, + { + "x": 78.2639, + "y": 106.2153 + }, + { + "x": 74.2708, + "y": 106.2153 + }, + { + "x": 73.4722, + "y": 106.2153 + }, + { + "x": 72.6736, + "y": 105.4167 + }, + { + "x": 71.875, + "y": 104.618 + }, + { + "x": 71.875, + "y": 103.8194 + }, + { + "x": 71.0764, + "y": 103.0208 + }, + { + "x": 70.2778, + "y": 102.2222 + }, + { + "x": 70.2778, + "y": 100.625 + }, + { + "x": 70.2778, + "y": 99.8264 + }, + { + "x": 69.4792, + "y": 99.8264 + }, + { + "x": 68.6805, + "y": 99.0278 + }, + { + "x": 68.6805, + "y": 98.2292 + }, + { + "x": 63.0903, + "y": 98.2292 + }, + { + "x": 62.2917, + "y": 98.2292 + }, + { + "x": 62.2917, + "y": 99.0278 + }, + { + "x": 60.6944, + "y": 100.625 + }, + { + "x": 59.8958, + "y": 101.4236 + }, + { + "x": 59.8958, + "y": 103.0208 + }, + { + "x": 59.8958, + "y": 103.8194 + }, + { + "x": 59.0972, + "y": 104.618 + } + ] + ] + } + }, + "9": { + "bounding_box": { + "h": 49.51390000000001, + "w": 34.340300000000006, + "x": 58.2986, + "y": 93.4375 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 58.2986, + "y": 112.6041 + }, + { + "x": 58.2986, + "y": 113.4028 + }, + { + "x": 58.2986, + "y": 114.2014 + }, + { + "x": 60.6944, + "y": 116.5972 + }, + { + "x": 61.493, + "y": 117.3958 + }, + { + "x": 62.2917, + "y": 117.3958 + }, + { + "x": 63.0903, + "y": 117.3958 + }, + { + "x": 63.8889, + "y": 118.1944 + }, + { + "x": 64.6875, + "y": 118.1944 + }, + { + "x": 65.4861, + "y": 118.1944 + }, + { + "x": 66.2847, + "y": 118.993 + }, + { + "x": 66.2847, + "y": 119.7916 + }, + { + "x": 69.4792, + "y": 119.7916 + }, + { + "x": 70.2778, + "y": 118.993 + }, + { + "x": 71.0764, + "y": 119.7916 + }, + { + "x": 71.875, + "y": 120.5903 + }, + { + "x": 71.875, + "y": 123.7847 + }, + { + "x": 72.6736, + "y": 124.5833 + }, + { + "x": 71.875, + "y": 125.3819 + }, + { + "x": 71.875, + "y": 126.1805 + }, + { + "x": 71.0764, + "y": 126.9791 + }, + { + "x": 70.2778, + "y": 126.9791 + }, + { + "x": 70.2778, + "y": 127.7778 + }, + { + "x": 69.4792, + "y": 128.5764 + }, + { + "x": 67.0833, + "y": 128.5764 + }, + { + "x": 66.2847, + "y": 128.5764 + }, + { + "x": 65.4861, + "y": 127.7778 + }, + { + "x": 64.6875, + "y": 127.7778 + }, + { + "x": 62.2917, + "y": 125.3819 + }, + { + "x": 61.493, + "y": 124.5833 + }, + { + "x": 60.6944, + "y": 124.5833 + }, + { + "x": 59.8958, + "y": 124.5833 + }, + { + "x": 59.0972, + "y": 125.3819 + }, + { + "x": 59.0972, + "y": 128.5764 + }, + { + "x": 58.2986, + "y": 129.375 + }, + { + "x": 58.2986, + "y": 134.1666 + }, + { + "x": 58.2986, + "y": 134.9653 + }, + { + "x": 59.0972, + "y": 135.7639 + }, + { + "x": 59.0972, + "y": 136.5625 + }, + { + "x": 59.0972, + "y": 137.3611 + }, + { + "x": 59.8958, + "y": 137.3611 + }, + { + "x": 60.6944, + "y": 137.3611 + }, + { + "x": 61.493, + "y": 138.1597 + }, + { + "x": 62.2917, + "y": 138.9583 + }, + { + "x": 62.2917, + "y": 139.7569 + }, + { + "x": 63.0903, + "y": 140.5555 + }, + { + "x": 63.8889, + "y": 140.5555 + }, + { + "x": 64.6875, + "y": 140.5555 + }, + { + "x": 65.4861, + "y": 141.3541 + }, + { + "x": 66.2847, + "y": 141.3541 + }, + { + "x": 67.0833, + "y": 142.1528 + }, + { + "x": 67.8819, + "y": 142.9514 + }, + { + "x": 77.4653, + "y": 142.9514 + }, + { + "x": 78.2639, + "y": 142.9514 + }, + { + "x": 79.0625, + "y": 142.1528 + }, + { + "x": 79.8611, + "y": 141.3541 + }, + { + "x": 80.6597, + "y": 141.3541 + }, + { + "x": 82.2569, + "y": 139.7569 + }, + { + "x": 83.0555, + "y": 139.7569 + }, + { + "x": 83.8542, + "y": 138.9583 + }, + { + "x": 83.8542, + "y": 138.1597 + }, + { + "x": 84.6528, + "y": 137.3611 + }, + { + "x": 84.6528, + "y": 136.5625 + }, + { + "x": 84.6528, + "y": 135.7639 + }, + { + "x": 85.4514, + "y": 134.9653 + }, + { + "x": 85.4514, + "y": 134.1666 + }, + { + "x": 86.25, + "y": 133.368 + }, + { + "x": 86.25, + "y": 132.5694 + }, + { + "x": 86.25, + "y": 131.7708 + }, + { + "x": 90.243, + "y": 127.7778 + }, + { + "x": 91.0417, + "y": 126.9791 + }, + { + "x": 91.0417, + "y": 124.5833 + }, + { + "x": 90.243, + "y": 123.7847 + }, + { + "x": 91.0417, + "y": 122.9861 + }, + { + "x": 91.0417, + "y": 120.5903 + }, + { + "x": 91.0417, + "y": 119.7916 + }, + { + "x": 91.8403, + "y": 118.993 + }, + { + "x": 91.8403, + "y": 115.7986 + }, + { + "x": 92.6389, + "y": 115.0 + }, + { + "x": 92.6389, + "y": 103.0208 + }, + { + "x": 92.6389, + "y": 102.2222 + }, + { + "x": 91.8403, + "y": 101.4236 + }, + { + "x": 91.8403, + "y": 100.625 + }, + { + "x": 91.8403, + "y": 99.8264 + }, + { + "x": 90.243, + "y": 98.2292 + }, + { + "x": 89.4444, + "y": 97.4305 + }, + { + "x": 88.6458, + "y": 97.4305 + }, + { + "x": 87.0486, + "y": 95.8333 + }, + { + "x": 86.25, + "y": 95.0347 + }, + { + "x": 85.4514, + "y": 95.0347 + }, + { + "x": 84.6528, + "y": 95.0347 + }, + { + "x": 83.8542, + "y": 94.2361 + }, + { + "x": 83.8542, + "y": 93.4375 + }, + { + "x": 77.4653, + "y": 93.4375 + }, + { + "x": 76.6667, + "y": 93.4375 + }, + { + "x": 75.868, + "y": 94.2361 + }, + { + "x": 75.0694, + "y": 95.0347 + }, + { + "x": 75.0694, + "y": 97.4305 + }, + { + "x": 75.0694, + "y": 98.2292 + }, + { + "x": 77.4653, + "y": 100.625 + }, + { + "x": 78.2639, + "y": 101.4236 + }, + { + "x": 78.2639, + "y": 102.2222 + }, + { + "x": 79.0625, + "y": 103.0208 + }, + { + "x": 79.0625, + "y": 103.8194 + }, + { + "x": 79.0625, + "y": 104.618 + }, + { + "x": 78.2639, + "y": 105.4167 + }, + { + "x": 77.4653, + "y": 106.2153 + }, + { + "x": 75.868, + "y": 106.2153 + }, + { + "x": 75.0694, + "y": 106.2153 + }, + { + "x": 75.0694, + "y": 107.0139 + }, + { + "x": 74.2708, + "y": 107.8125 + }, + { + "x": 73.4722, + "y": 107.0139 + }, + { + "x": 72.6736, + "y": 107.0139 + }, + { + "x": 71.875, + "y": 106.2153 + }, + { + "x": 70.2778, + "y": 106.2153 + }, + { + "x": 69.4792, + "y": 106.2153 + }, + { + "x": 68.6805, + "y": 105.4167 + }, + { + "x": 67.8819, + "y": 104.618 + }, + { + "x": 67.8819, + "y": 103.8194 + }, + { + "x": 67.0833, + "y": 103.0208 + }, + { + "x": 67.0833, + "y": 102.2222 + }, + { + "x": 66.2847, + "y": 101.4236 + }, + { + "x": 66.2847, + "y": 100.625 + }, + { + "x": 64.6875, + "y": 99.0278 + }, + { + "x": 64.6875, + "y": 98.2292 + }, + { + "x": 62.2917, + "y": 98.2292 + }, + { + "x": 61.493, + "y": 98.2292 + }, + { + "x": 60.6944, + "y": 99.0278 + }, + { + "x": 59.8958, + "y": 99.0278 + }, + { + "x": 59.0972, + "y": 99.0278 + }, + { + "x": 59.0972, + "y": 101.4236 + }, + { + "x": 59.0972, + "y": 102.2222 + }, + { + "x": 59.8958, + "y": 102.2222 + }, + { + "x": 60.6944, + "y": 103.0208 + }, + { + "x": 61.493, + "y": 103.0208 + }, + { + "x": 62.2917, + "y": 103.8194 + }, + { + "x": 63.8889, + "y": 103.8194 + }, + { + "x": 64.6875, + "y": 104.618 + }, + { + "x": 64.6875, + "y": 105.4167 + }, + { + "x": 63.0903, + "y": 107.0139 + }, + { + "x": 63.0903, + "y": 107.8125 + }, + { + "x": 63.8889, + "y": 108.6111 + }, + { + "x": 63.8889, + "y": 109.4097 + }, + { + "x": 63.8889, + "y": 110.2083 + }, + { + "x": 64.6875, + "y": 111.0069 + }, + { + "x": 64.6875, + "y": 111.8055 + }, + { + "x": 65.4861, + "y": 112.6041 + }, + { + "x": 66.2847, + "y": 113.4028 + }, + { + "x": 66.2847, + "y": 114.2014 + }, + { + "x": 66.2847, + "y": 115.0 + }, + { + "x": 65.4861, + "y": 115.7986 + }, + { + "x": 64.6875, + "y": 115.7986 + }, + { + "x": 63.0903, + "y": 114.2014 + }, + { + "x": 62.2917, + "y": 113.4028 + }, + { + "x": 61.493, + "y": 113.4028 + }, + { + "x": 60.6944, + "y": 112.6041 + }, + { + "x": 59.8958, + "y": 111.8055 + }, + { + "x": 59.0972, + "y": 111.8055 + }, + { + "x": 58.2986, + "y": 112.6041 + } + ] + ] + } + }, + "10": { + "bounding_box": { + "h": 47.9166, + "w": 40.7292, + "x": 54.3055, + "y": 91.8403 + }, + "keyframe": true, + "polygon": { + "paths": [ + [ + { + "x": 54.3055, + "y": 124.5833 + }, + { + "x": 54.3055, + "y": 125.3819 + }, + { + "x": 55.1042, + "y": 126.1805 + }, + { + "x": 55.1042, + "y": 129.375 + }, + { + "x": 55.1042, + "y": 130.1736 + }, + { + "x": 55.9028, + "y": 130.9722 + }, + { + "x": 56.7014, + "y": 131.7708 + }, + { + "x": 56.7014, + "y": 132.5694 + }, + { + "x": 56.7014, + "y": 133.368 + }, + { + "x": 58.2986, + "y": 134.9653 + }, + { + "x": 59.0972, + "y": 135.7639 + }, + { + "x": 59.8958, + "y": 135.7639 + }, + { + "x": 60.6944, + "y": 136.5625 + }, + { + "x": 62.2917, + "y": 136.5625 + }, + { + "x": 63.0903, + "y": 137.3611 + }, + { + "x": 65.4861, + "y": 137.3611 + }, + { + "x": 66.2847, + "y": 138.1597 + }, + { + "x": 74.2708, + "y": 138.1597 + }, + { + "x": 75.0694, + "y": 138.1597 + }, + { + "x": 75.868, + "y": 138.9583 + }, + { + "x": 76.6667, + "y": 139.7569 + }, + { + "x": 78.2639, + "y": 139.7569 + }, + { + "x": 79.0625, + "y": 139.7569 + }, + { + "x": 79.0625, + "y": 138.9583 + }, + { + "x": 79.8611, + "y": 138.1597 + }, + { + "x": 80.6597, + "y": 138.9583 + }, + { + "x": 80.6597, + "y": 139.7569 + }, + { + "x": 81.4583, + "y": 139.7569 + }, + { + "x": 79.0625, + "y": 137.3611 + }, + { + "x": 78.2639, + "y": 136.5625 + }, + { + "x": 78.2639, + "y": 134.9653 + }, + { + "x": 78.2639, + "y": 134.1666 + }, + { + "x": 79.0625, + "y": 133.368 + }, + { + "x": 79.0625, + "y": 131.7708 + }, + { + "x": 79.0625, + "y": 130.9722 + }, + { + "x": 78.2639, + "y": 130.1736 + }, + { + "x": 78.2639, + "y": 129.375 + }, + { + "x": 77.4653, + "y": 128.5764 + }, + { + "x": 77.4653, + "y": 127.7778 + }, + { + "x": 78.2639, + "y": 126.9791 + }, + { + "x": 78.2639, + "y": 126.1805 + }, + { + "x": 83.0555, + "y": 121.3889 + }, + { + "x": 83.8542, + "y": 120.5903 + }, + { + "x": 83.8542, + "y": 119.7916 + }, + { + "x": 84.6528, + "y": 118.993 + }, + { + "x": 84.6528, + "y": 118.1944 + }, + { + "x": 85.4514, + "y": 117.3958 + }, + { + "x": 86.25, + "y": 116.5972 + }, + { + "x": 87.8472, + "y": 118.1944 + }, + { + "x": 87.8472, + "y": 118.993 + }, + { + "x": 87.0486, + "y": 119.7916 + }, + { + "x": 87.0486, + "y": 120.5903 + }, + { + "x": 87.0486, + "y": 121.3889 + }, + { + "x": 84.6528, + "y": 123.7847 + }, + { + "x": 84.6528, + "y": 124.5833 + }, + { + "x": 83.8542, + "y": 125.3819 + }, + { + "x": 83.0555, + "y": 126.1805 + }, + { + "x": 82.2569, + "y": 126.1805 + }, + { + "x": 81.4583, + "y": 126.9791 + }, + { + "x": 80.6597, + "y": 127.7778 + }, + { + "x": 81.4583, + "y": 128.5764 + }, + { + "x": 82.2569, + "y": 129.375 + }, + { + "x": 82.2569, + "y": 130.1736 + }, + { + "x": 82.2569, + "y": 130.9722 + }, + { + "x": 83.0555, + "y": 131.7708 + }, + { + "x": 83.8542, + "y": 131.7708 + }, + { + "x": 86.25, + "y": 134.1666 + }, + { + "x": 86.25, + "y": 134.9653 + }, + { + "x": 87.0486, + "y": 134.9653 + }, + { + "x": 87.8472, + "y": 134.9653 + }, + { + "x": 88.6458, + "y": 134.1666 + }, + { + "x": 88.6458, + "y": 133.368 + }, + { + "x": 89.4444, + "y": 132.5694 + }, + { + "x": 89.4444, + "y": 131.7708 + }, + { + "x": 91.0417, + "y": 130.1736 + }, + { + "x": 91.8403, + "y": 129.375 + }, + { + "x": 91.8403, + "y": 128.5764 + }, + { + "x": 92.6389, + "y": 127.7778 + }, + { + "x": 92.6389, + "y": 126.1805 + }, + { + "x": 93.4375, + "y": 125.3819 + }, + { + "x": 93.4375, + "y": 123.7847 + }, + { + "x": 93.4375, + "y": 122.9861 + }, + { + "x": 94.2361, + "y": 122.1875 + }, + { + "x": 94.2361, + "y": 119.7916 + }, + { + "x": 94.2361, + "y": 118.993 + }, + { + "x": 95.0347, + "y": 118.1944 + }, + { + "x": 95.0347, + "y": 117.3958 + }, + { + "x": 95.0347, + "y": 116.5972 + }, + { + "x": 94.2361, + "y": 115.7986 + }, + { + "x": 94.2361, + "y": 109.4097 + }, + { + "x": 94.2361, + "y": 108.6111 + }, + { + "x": 93.4375, + "y": 107.8125 + }, + { + "x": 93.4375, + "y": 106.2153 + }, + { + "x": 93.4375, + "y": 105.4167 + }, + { + "x": 92.6389, + "y": 104.618 + }, + { + "x": 92.6389, + "y": 103.8194 + }, + { + "x": 91.8403, + "y": 103.0208 + }, + { + "x": 91.8403, + "y": 101.4236 + }, + { + "x": 91.8403, + "y": 100.625 + }, + { + "x": 91.0417, + "y": 100.625 + }, + { + "x": 91.0417, + "y": 101.4236 + }, + { + "x": 89.4444, + "y": 103.0208 + }, + { + "x": 88.6458, + "y": 103.8194 + }, + { + "x": 88.6458, + "y": 104.618 + }, + { + "x": 87.8472, + "y": 105.4167 + }, + { + "x": 87.8472, + "y": 107.0139 + }, + { + "x": 87.0486, + "y": 107.8125 + }, + { + "x": 87.0486, + "y": 109.4097 + }, + { + "x": 87.0486, + "y": 110.2083 + }, + { + "x": 86.25, + "y": 111.0069 + }, + { + "x": 86.25, + "y": 111.8055 + }, + { + "x": 83.8542, + "y": 114.2014 + }, + { + "x": 83.0555, + "y": 114.2014 + }, + { + "x": 83.0555, + "y": 115.0 + }, + { + "x": 82.2569, + "y": 115.7986 + }, + { + "x": 81.4583, + "y": 115.7986 + }, + { + "x": 79.8611, + "y": 114.2014 + }, + { + "x": 79.8611, + "y": 113.4028 + }, + { + "x": 81.4583, + "y": 111.8055 + }, + { + "x": 82.2569, + "y": 111.0069 + }, + { + "x": 83.0555, + "y": 111.0069 + }, + { + "x": 83.8542, + "y": 110.2083 + }, + { + "x": 83.8542, + "y": 107.8125 + }, + { + "x": 83.8542, + "y": 107.0139 + }, + { + "x": 84.6528, + "y": 106.2153 + }, + { + "x": 84.6528, + "y": 105.4167 + }, + { + "x": 85.4514, + "y": 104.618 + }, + { + "x": 86.25, + "y": 103.8194 + }, + { + "x": 86.25, + "y": 102.2222 + }, + { + "x": 86.25, + "y": 101.4236 + }, + { + "x": 85.4514, + "y": 100.625 + }, + { + "x": 84.6528, + "y": 100.625 + }, + { + "x": 83.8542, + "y": 100.625 + }, + { + "x": 83.0555, + "y": 99.8264 + }, + { + "x": 83.0555, + "y": 99.0278 + }, + { + "x": 83.0555, + "y": 98.2292 + }, + { + "x": 82.2569, + "y": 98.2292 + }, + { + "x": 79.8611, + "y": 95.8333 + }, + { + "x": 79.0625, + "y": 95.0347 + }, + { + "x": 79.0625, + "y": 94.2361 + }, + { + "x": 78.2639, + "y": 93.4375 + }, + { + "x": 77.4653, + "y": 93.4375 + }, + { + "x": 76.6667, + "y": 92.6389 + }, + { + "x": 75.868, + "y": 91.8403 + }, + { + "x": 75.0694, + "y": 92.6389 + }, + { + "x": 74.2708, + "y": 92.6389 + }, + { + "x": 73.4722, + "y": 92.6389 + }, + { + "x": 72.6736, + "y": 93.4375 + }, + { + "x": 71.875, + "y": 94.2361 + }, + { + "x": 72.6736, + "y": 94.2361 + }, + { + "x": 73.4722, + "y": 95.0347 + }, + { + "x": 74.2708, + "y": 95.0347 + }, + { + "x": 75.868, + "y": 96.6319 + }, + { + "x": 75.868, + "y": 97.4305 + }, + { + "x": 76.6667, + "y": 97.4305 + }, + { + "x": 77.4653, + "y": 98.2292 + }, + { + "x": 77.4653, + "y": 100.625 + }, + { + "x": 77.4653, + "y": 101.4236 + }, + { + "x": 76.6667, + "y": 102.2222 + }, + { + "x": 75.868, + "y": 102.2222 + }, + { + "x": 74.2708, + "y": 100.625 + }, + { + "x": 73.4722, + "y": 100.625 + }, + { + "x": 72.6736, + "y": 99.8264 + }, + { + "x": 72.6736, + "y": 99.0278 + }, + { + "x": 72.6736, + "y": 98.2292 + }, + { + "x": 71.875, + "y": 98.2292 + }, + { + "x": 71.0764, + "y": 98.2292 + }, + { + "x": 71.0764, + "y": 99.0278 + }, + { + "x": 71.0764, + "y": 99.8264 + }, + { + "x": 71.875, + "y": 100.625 + }, + { + "x": 71.875, + "y": 101.4236 + }, + { + "x": 72.6736, + "y": 102.2222 + }, + { + "x": 73.4722, + "y": 103.0208 + }, + { + "x": 73.4722, + "y": 103.8194 + }, + { + "x": 72.6736, + "y": 104.618 + }, + { + "x": 71.0764, + "y": 104.618 + }, + { + "x": 70.2778, + "y": 104.618 + }, + { + "x": 68.6805, + "y": 103.0208 + }, + { + "x": 68.6805, + "y": 102.2222 + }, + { + "x": 67.8819, + "y": 101.4236 + }, + { + "x": 67.0833, + "y": 100.625 + }, + { + "x": 66.2847, + "y": 100.625 + }, + { + "x": 65.4861, + "y": 99.8264 + }, + { + "x": 65.4861, + "y": 99.0278 + }, + { + "x": 64.6875, + "y": 99.0278 + }, + { + "x": 63.8889, + "y": 99.0278 + }, + { + "x": 62.2917, + "y": 100.625 + }, + { + "x": 61.493, + "y": 101.4236 + }, + { + "x": 61.493, + "y": 102.2222 + }, + { + "x": 60.6944, + "y": 103.0208 + }, + { + "x": 60.6944, + "y": 103.8194 + }, + { + "x": 59.8958, + "y": 104.618 + }, + { + "x": 59.8958, + "y": 106.2153 + }, + { + "x": 59.0972, + "y": 107.0139 + }, + { + "x": 59.8958, + "y": 107.8125 + }, + { + "x": 59.8958, + "y": 109.4097 + }, + { + "x": 59.8958, + "y": 110.2083 + }, + { + "x": 62.2917, + "y": 112.6041 + }, + { + "x": 63.0903, + "y": 113.4028 + }, + { + "x": 63.8889, + "y": 113.4028 + }, + { + "x": 65.4861, + "y": 115.0 + }, + { + "x": 66.2847, + "y": 115.7986 + }, + { + "x": 66.2847, + "y": 116.5972 + }, + { + "x": 67.0833, + "y": 117.3958 + }, + { + "x": 67.0833, + "y": 118.1944 + }, + { + "x": 67.8819, + "y": 118.993 + }, + { + "x": 67.8819, + "y": 119.7916 + }, + { + "x": 67.8819, + "y": 120.5903 + }, + { + "x": 65.4861, + "y": 122.9861 + }, + { + "x": 64.6875, + "y": 123.7847 + }, + { + "x": 63.8889, + "y": 123.7847 + }, + { + "x": 63.0903, + "y": 124.5833 + }, + { + "x": 54.3055, + "y": 124.5833 + } + ] + ] + } + } + }, + "hidden_areas": [], + "id": "0043de7e-772b-4e01-b525-3e5494e51447", + "name": "Reference_sBAT", + "properties": [], + "ranges": [ + [ + 4, + 11 + ] + ], + "slot_names": [ + "0" + ] + } + ], + "properties": [] +} \ No newline at end of file diff --git a/tests/darwin/importer/formats/import_nifti_test.py b/tests/darwin/importer/formats/import_nifti_test.py index d2c397e48..d59b2c9a9 100644 --- a/tests/darwin/importer/formats/import_nifti_test.py +++ b/tests/darwin/importer/formats/import_nifti_test.py @@ -19,6 +19,7 @@ ) from darwin.importer.formats.nifti import get_new_axial_size, parse_path from tests.fixtures import * +from darwin.utils.utils import parse_darwin_json def test_image_annotation_nifti_import_single_slot(team_slug_darwin_json_v2: str): @@ -389,3 +390,108 @@ def serialise_sub_annotation( "w", ) as f: f.write(output_json_string) + + +def adjust_nifti_label_filepath(nifti_annotation_filepath: Path, nifti_filepath: Path): + """ + Adjusts a specific NifTI label path to point to a local NifTI file for import testing. + This is requied to allow the test to run in multiple environments + """ + with open(nifti_annotation_filepath) as f: + input_data = json.load(f) + + # Inject the nifti_filepath into the data.label key + input_data["data"][0]["label"] = str(nifti_filepath) + + # Save the modified JSON back to the file + with open(nifti_annotation_filepath, "w") as f: + json.dump(input_data, f, indent=4) + + +def round_polygon_annotation_coordinates(annotation, decimal_places=2): + """ + Rounds all coordinates in the annotation to a specified number of decimal places. + + Parameters: + - annotation: The annotation data (list of lists). + - decimal_places: The number of decimal places to round to. + + Returns: + - A new annotation structure with rounded coordinates. + """ + return [ + [ + { + "x": round(point["x"], decimal_places), + "y": round(point["y"], decimal_places), + } + for point in path + ] + for path in annotation + ] + + +def test_parse_path_nifti_with_legacy_scaling(): + nifti_annotation_filepath = ( + Path(__file__).parents[2] / "data" / "nifti" / "nifti.json" + ) + nifti_filepath = ( + Path(__file__).parents[2] / "data" / "nifti" / "BRAINIX_NIFTI_ROI.nii.gz" + ) + expected_annotations_filepath = ( + Path(__file__).parents[2] + / "data" + / "nifti" + / "legacy" + / "BRAINIX_NIFTI_ROI.nii.json" + ) + adjust_nifti_label_filepath(nifti_annotation_filepath, nifti_filepath) + expected_annotations = parse_darwin_json(expected_annotations_filepath) + parsed_annotations = parse_path(nifti_annotation_filepath, legacy=True) + for frame_idx in expected_annotations.annotations[0].frames: + expected_annotation = ( + expected_annotations.annotations[0].frames[frame_idx].data["paths"] + ) + parsed_annotation = ( + parsed_annotations[0].annotations[0].frames[frame_idx].data["paths"] + ) + expected_annotation_rounded = round_polygon_annotation_coordinates( + expected_annotation, decimal_places=4 + ) + parsed_annotation_rounded = round_polygon_annotation_coordinates( + parsed_annotation, decimal_places=4 + ) + assert expected_annotation_rounded == parsed_annotation_rounded + + +def test_parse_path_nifti_without_legacy_scaling(): + nifti_annotation_filepath = ( + Path(__file__).parents[2] / "data" / "nifti" / "nifti.json" + ) + nifti_filepath = ( + Path(__file__).parents[2] / "data" / "nifti" / "BRAINIX_NIFTI_ROI.nii.gz" + ) + expected_annotations_filepath = ( + Path(__file__).parents[2] + / "data" + / "nifti" + / "no-legacy" + / "BRAINIX_NIFTI_ROI.nii.json" + ) + adjust_nifti_label_filepath(nifti_annotation_filepath, nifti_filepath) + expected_annotations = parse_darwin_json(expected_annotations_filepath) + parsed_annotations = parse_path(nifti_annotation_filepath, legacy=False) + for frame_idx in expected_annotations.annotations[0].frames: + expected_annotation = ( + expected_annotations.annotations[0].frames[frame_idx].data["paths"] + ) + parsed_annotation = ( + parsed_annotations[0].annotations[0].frames[frame_idx].data["paths"] + ) + expected_annotation_rounded = round_polygon_annotation_coordinates( + expected_annotation, decimal_places=4 + ) + parsed_annotation_rounded = round_polygon_annotation_coordinates( + parsed_annotation, decimal_places=4 + ) + assert expected_annotation_rounded == parsed_annotation_rounded diff --git a/tests/darwin/importer/importer_test.py b/tests/darwin/importer/importer_test.py index 74bf7e7ac..a5eb1ba3b 100644 --- a/tests/darwin/importer/importer_test.py +++ b/tests/darwin/importer/importer_test.py @@ -1,5 +1,6 @@ import json import tempfile +import inspect from functools import partial from pathlib import Path from typing import List, Tuple @@ -34,6 +35,7 @@ _import_properties, _warn_for_annotations_with_multiple_instance_ids, _serialize_item_level_properties, + import_annotations, ) @@ -3473,3 +3475,9 @@ def test_serialize_item_level_properties_multiple_properties(): ] assert result == expected + + +def test_default_legacy_value(): + signature = inspect.signature(import_annotations) + legacy_default_value = signature.parameters["legacy"].default + assert legacy_default_value is False