Skip to content

Commit 3d70f0f

Browse files
committed
test: tilespecs are more synthetic, contain multiple mipmaplevels and do not compare non-Affine datastring matching (change related to #21)
1 parent 70118be commit 3d70f0f

1 file changed

Lines changed: 25 additions & 18 deletions

File tree

test/test_files/tilespecs.json

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,19 @@
1515
"maxIntensity": 65535,
1616
"mipmapLevels": {
1717
"0": {
18-
"imageUrl": "file:/data/20160710195316413_243774_7R_SID_01_redo_0_11_7_3_15_8.tif"
18+
"imageUrl": "file:///data/20160710195316413_243774_7R_SID_01_redo_0_11_7_3_15_8.tif"
19+
},
20+
"1": {
21+
"imageUrl": "file:///data/20160710195316413_243774_7R_SID_01_redo_0_11_7_3_15_8_mmL1.tif.tif",
22+
"maskUrl": "file:///data/20160710195316413_243774_7R_SID_01_redo_0_11_7_3_15_8_mmL1_mask.tif.tif"
23+
},
24+
"2": {
25+
"imageUrl": "file:///data/20160710195316413_243774_7R_SID_01_redo_0_11_7_3_15_8_mmL2.tif.tif"
1926
}
2027
},
2128
"transforms": {
2229
"type": "list",
2330
"specList": [
24-
{
25-
"type": "leaf",
26-
"className": "mpicbg.trakem2.transform.NonLinearCoordinateTransform",
27-
"dataString": "5 21 1103.117269905359 -5.606757285805906 5.321142212984271 1041.3480932107918 -10.43426929509782 7.428382306562735 -14.137269334106124 7.299563138046944 -15.904206050362355 18.284978789358718 3.4106705605908587 -23.24346650864392 -22.18066749731861 -3.583245180840507 3.2706525226745384 27.117126387399466 20.96651792381158 -1.2219610254066424 -10.531856407305256 0.3306037423046746 2.054811912746283 28.849184526610635 34.799030853758985 -7.4227129043141495 -8.211918715339516 -27.434469512200955 -3.1066643785881 3.8503170392714026 1.7124046587349628 1.8506627747180158 4.886666182237065 -2.949889582798017 -4.5150121503501515 -11.363818954372583 -9.8507389567363 8.672520277073502 5.89027776049669 4.924363838689751 -1.4446630732848895 -2.3876262067533727 19.9189118558668 21.72003155506043 1991.9406329917294 2171.99091870329 5136325.014398676 4300827.048910938 5862798.046430213 1.4793145755295639E10 1.1081068898569233E10 1.1535665428036394E10 1.737179414476557E10 4.5383202598685734E13 3.1913868517100258E13 2.9612848039584566E13 3.403565936230745E13 5.43037094200083E13 1.45059294093077376E17 9.790266764463008E16 8.5058013431605168E16 8.7104768756103424E16 1.06057724033609104E17 1.75771529104524608E17 100.0 1080.9907552180462 1070.1850841521746 4359136.9617994055 3334088.839525756 4464532.472685248 1.6068544862341637E10 1.1728566370432955E10 1.1733314229813484E10 1.6768452787562666E10 5.830517220342475E13 4.128824258570168E13 3.8519115805773336E13 4.149420039803858E13 6.153259860972069E13 2.11108412972822656E17 1.46312985770820672E17 1.31484322773016992E17 1.31813167980595536E17 1.47560207595069728E17 2.24412785271596352E17 0.0 3840 3840 "
28-
},
2931
{
3032
"type": "leaf",
3133
"className": "mpicbg.trakem2.transform.AffineModel2D",
@@ -57,16 +59,17 @@
5759
"mipmapLevels": {
5860
"0": {
5961
"imageUrl": "file:/data/20160710195316873_243774_7R_SID_01_redo_0_11_7_3_16_8.tif"
62+
},
63+
"1": {
64+
"imageUrl": "file:/data/20160710195316873_243774_7R_SID_01_redo_0_11_7_3_16_8_mmL1.tif.tif"
65+
},
66+
"2": {
67+
"imageUrl": "file:/data/20160710195316873_243774_7R_SID_01_redo_0_11_7_3_16_8_mmL2.tif.tif"
6068
}
6169
},
6270
"transforms": {
6371
"type": "list",
6472
"specList": [
65-
{
66-
"type": "leaf",
67-
"className": "mpicbg.trakem2.transform.NonLinearCoordinateTransform",
68-
"dataString": "5 21 1103.117269905359 -5.606757285805906 5.321142212984271 1041.3480932107918 -10.43426929509782 7.428382306562735 -14.137269334106124 7.299563138046944 -15.904206050362355 18.284978789358718 3.4106705605908587 -23.24346650864392 -22.18066749731861 -3.583245180840507 3.2706525226745384 27.117126387399466 20.96651792381158 -1.2219610254066424 -10.531856407305256 0.3306037423046746 2.054811912746283 28.849184526610635 34.799030853758985 -7.4227129043141495 -8.211918715339516 -27.434469512200955 -3.1066643785881 3.8503170392714026 1.7124046587349628 1.8506627747180158 4.886666182237065 -2.949889582798017 -4.5150121503501515 -11.363818954372583 -9.8507389567363 8.672520277073502 5.89027776049669 4.924363838689751 -1.4446630732848895 -2.3876262067533727 19.9189118558668 21.72003155506043 1991.9406329917294 2171.99091870329 5136325.014398676 4300827.048910938 5862798.046430213 1.4793145755295639E10 1.1081068898569233E10 1.1535665428036394E10 1.737179414476557E10 4.5383202598685734E13 3.1913868517100258E13 2.9612848039584566E13 3.403565936230745E13 5.43037094200083E13 1.45059294093077376E17 9.790266764463008E16 8.5058013431605168E16 8.7104768756103424E16 1.06057724033609104E17 1.75771529104524608E17 100.0 1080.9907552180462 1070.1850841521746 4359136.9617994055 3334088.839525756 4464532.472685248 1.6068544862341637E10 1.1728566370432955E10 1.1733314229813484E10 1.6768452787562666E10 5.830517220342475E13 4.128824258570168E13 3.8519115805773336E13 4.149420039803858E13 6.153259860972069E13 2.11108412972822656E17 1.46312985770820672E17 1.31484322773016992E17 1.31813167980595536E17 1.47560207595069728E17 2.24412785271596352E17 0.0 3840 3840 "
69-
},
7073
{
7174
"type": "leaf",
7275
"className": "mpicbg.trakem2.transform.AffineModel2D",
@@ -94,20 +97,24 @@
9497
"width": 3840,
9598
"height": 3840,
9699
"minIntensity": 0,
97-
"maxIntensity": 65535,
100+
"maxIntensity": 255,
98101
"mipmapLevels": {
99102
"0": {
100-
"imageUrl": "file:/data/20160710195317333_243774_7R_SID_01_redo_0_11_7_3_17_8.tif"
103+
"imageUrl": "file:///data/20160710195317333_243774_7R_SID_01_redo_0_11_7_3_17_8.tif"
104+
},
105+
"1": {
106+
"imageUrl": "file:///data/20160710195317333_243774_7R_SID_01_redo_0_11_7_3_17_8_mmL1.tif.tif"
107+
},
108+
"2": {
109+
"imageUrl": "file:///data/20160710195317333_243774_7R_SID_01_redo_0_11_7_3_17_8_mmL2.tif.tif"
110+
},
111+
"5": {
112+
"imageUrl": "file:///data/20160710195317333_243774_7R_SID_01_redo_0_11_7_3_17_8_mmL5.tif.tif"
101113
}
102114
},
103115
"transforms": {
104116
"type": "list",
105117
"specList": [
106-
{
107-
"type": "leaf",
108-
"className": "mpicbg.trakem2.transform.NonLinearCoordinateTransform",
109-
"dataString": "5 21 1103.117269905359 -5.606757285805906 5.321142212984271 1041.3480932107918 -10.43426929509782 7.428382306562735 -14.137269334106124 7.299563138046944 -15.904206050362355 18.284978789358718 3.4106705605908587 -23.24346650864392 -22.18066749731861 -3.583245180840507 3.2706525226745384 27.117126387399466 20.96651792381158 -1.2219610254066424 -10.531856407305256 0.3306037423046746 2.054811912746283 28.849184526610635 34.799030853758985 -7.4227129043141495 -8.211918715339516 -27.434469512200955 -3.1066643785881 3.8503170392714026 1.7124046587349628 1.8506627747180158 4.886666182237065 -2.949889582798017 -4.5150121503501515 -11.363818954372583 -9.8507389567363 8.672520277073502 5.89027776049669 4.924363838689751 -1.4446630732848895 -2.3876262067533727 19.9189118558668 21.72003155506043 1991.9406329917294 2171.99091870329 5136325.014398676 4300827.048910938 5862798.046430213 1.4793145755295639E10 1.1081068898569233E10 1.1535665428036394E10 1.737179414476557E10 4.5383202598685734E13 3.1913868517100258E13 2.9612848039584566E13 3.403565936230745E13 5.43037094200083E13 1.45059294093077376E17 9.790266764463008E16 8.5058013431605168E16 8.7104768756103424E16 1.06057724033609104E17 1.75771529104524608E17 100.0 1080.9907552180462 1070.1850841521746 4359136.9617994055 3334088.839525756 4464532.472685248 1.6068544862341637E10 1.1728566370432955E10 1.1733314229813484E10 1.6768452787562666E10 5.830517220342475E13 4.128824258570168E13 3.8519115805773336E13 4.149420039803858E13 6.153259860972069E13 2.11108412972822656E17 1.46312985770820672E17 1.31484322773016992E17 1.31813167980595536E17 1.47560207595069728E17 2.24412785271596352E17 0.0 3840 3840 "
110-
},
111118
{
112119
"type": "leaf",
113120
"className": "mpicbg.trakem2.transform.AffineModel2D",

0 commit comments

Comments
 (0)