make clear that paths are relative

This commit is contained in:
Hannes Kuchelmeister
2022-02-09 21:28:07 +01:00
committed by GitHub
parent 2c26155044
commit ef2265286a

View File

@@ -23,16 +23,16 @@ When opening the program open a .json file that describes where to find the imag
{ {
"images": [ "images": [
{ {
"image_path": "~/Documents/thesis/img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg", "image_path": "img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg",
"neighbours": [ "neighbours": [
"~/Documents/thesis/img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg", "img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg",
"~/Documents/thesis/img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg", "img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg",
"~/Documents/thesis/img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg", "img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg",
"~/Documents/thesis/img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg", "img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg",
"~/Documents/thesis/img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg", "img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg",
"~/Documents/thesis/img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg", "img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg",
"~/Documents/thesis/img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg", "img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg",
"~/Documents/thesis/img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg" "img/30_753da05d-cd1e-45c5-8593-003323e0bb69_I00243_X013_Y003_Z4648.jpg"
] ]
} }
], ],
@@ -41,41 +41,41 @@ When opening the program open a .json file that describes where to find the imag
{ {
"images": [ "images": [
{ {
"image_path": "~/Documents/thesis/img/31/I03987/I03987_X008_Y026_Z5498_0_1200.jpg", "image_path": "img/31/I03987/I03987_X008_Y026_Z5498_0_1200.jpg",
"neighbours": [ "neighbours": [
null, null,
null, null,
null, null,
"~/Documents/thesis/img/31/I03987/I03987_X008_Y026_Z5498_0_1125.jpg", "img/31/I03987/I03987_X008_Y026_Z5498_0_1125.jpg",
null, null,
"~/Documents/thesis/img/31/I03987/I03987_X008_Y026_Z5498_75_1125.jpg", "img/31/I03987/I03987_X008_Y026_Z5498_75_1125.jpg",
"~/Documents/thesis/img/31/I03987/I03987_X008_Y026_Z5498_75_1200.jpg", "img/31/I03987/I03987_X008_Y026_Z5498_75_1200.jpg",
null null
] ]
}, },
{ {
"image_path": "~/Documents/thesis/img/31/I03988/I03988_X008_Y026_Z5566_0_1200.jpg", "image_path": "img/31/I03988/I03988_X008_Y026_Z5566_0_1200.jpg",
"neighbours": [ "neighbours": [
null, null,
null, null,
null, null,
"~/Documents/thesis/img/31/I03988/I03988_X008_Y026_Z5566_0_1125.jpg", "img/31/I03988/I03988_X008_Y026_Z5566_0_1125.jpg",
null, null,
"~/Documents/thesis/img/31/I03988/I03988_X008_Y026_Z5566_75_1125.jpg", "img/31/I03988/I03988_X008_Y026_Z5566_75_1125.jpg",
"~/Documents/thesis/img/31/I03988/I03988_X008_Y026_Z5566_75_1200.jpg", "img/31/I03988/I03988_X008_Y026_Z5566_75_1200.jpg",
null null
] ]
}, },
{ {
"image_path": "~/Documents/thesis/img/31/I03989/I03989_X008_Y026_Z5703_0_1200.jpg", "image_path": "img/31/I03989/I03989_X008_Y026_Z5703_0_1200.jpg",
"neighbours": [ "neighbours": [
null, null,
null, null,
null, null,
"~/Documents/thesis/img/31/I03989/I03989_X008_Y026_Z5703_0_1125.jpg", "img/31/I03989/I03989_X008_Y026_Z5703_0_1125.jpg",
null, null,
"~/Documents/thesis/img/31/I03989/I03989_X008_Y026_Z5703_75_1125.jpg", "img/31/I03989/I03989_X008_Y026_Z5703_75_1125.jpg",
"~/Documents/thesis/img/31/I03989/I03989_X008_Y026_Z5703_75_1200.jpg", "img/31/I03989/I03989_X008_Y026_Z5703_75_1200.jpg",
null null
], ],
} }
@@ -87,7 +87,7 @@ When opening the program open a .json file that describes where to find the imag
The json file contains a list of unamed objets. Each object corresponds to one focus stack. Best index is set to null for non annotated images and is a number corresponding to the image in focus once annotated. The array `image` present in each focus stack contains objects tat represents the individual images. The json file contains a list of unamed objets. Each object corresponds to one focus stack. Best index is set to null for non annotated images and is a number corresponding to the image in focus once annotated. The array `image` present in each focus stack contains objects tat represents the individual images.
Each individual image has an `image_path` (mandatory), and **8** (!) `neighbours` (which are allowed to be set to `null`). Neighbours are represented indexed the following way: Each individual image has an `image_path` (mandatory) which is *relative* to the *position* of the *json file*, and **8** (!) `neighbours` (which are allowed to be set to `null`). Neighbours are represented indexed the following way:
``` ```
0 1 2 0 1 2