Add Group Images Metadata for Viewer

#20
README.md CHANGED
@@ -22,10 +22,15 @@ size_categories:
22
  configs:
23
  - config_name: group_images
24
  data_files:
25
- - "BeetleMeasurements.csv"
26
  - "group_images/*.jpg"
 
 
 
 
27
  - config_name: resized_images
28
  data_files:
 
29
  - "beetle_images_resized/*.jpg"
30
  - config_name: "separate segmented splits"
31
  data_files:
@@ -93,11 +98,19 @@ The `individual_images` directory contains images of each individual segmented f
93
  <pictureID 2>.jpg
94
  ...
95
  <pictureID 577>.jpg
 
 
 
 
 
 
 
96
  beetle_images_resized/
97
  <pictureID 1>.jpg
98
  <pictureID 2>.jpg
99
  ...
100
  <pictureID 577>.jpg
 
101
  Separate_segmented_train_test_splits_80_20
102
  test/
103
  <species 1>/
@@ -115,7 +128,6 @@ The `individual_images` directory contains images of each individual segmented f
115
  <pictureID 2>.jpg
116
  ...
117
  BeetleMeasurements.csv
118
- BeetleMeasurements_resized.csv
119
  individual_metadata.csv
120
  ```
121
 
@@ -169,7 +181,7 @@ Segmentation was completed by adapting the elytra length and width annotations t
169
  - The `NEON_sampleID` RMNP_014.20180709.CALADV.01 is repeated because there were too many individuals in the sample to organize them all in one picture. Thus, the individuals from this sample are split between two pictures: `A00000051555_1` and `A00000051555_2`.
170
  - The `NEON_sampleID` MOAB_001.S.20180724 was provided without scientific name identification. This sample is _Cicindela punctulata punctulata_ (confirmed in NEON biorepository records by Laura Nagel).
171
  - See notebooks in the [Beetle Processing Repository](https://github.com/Imageomics/2018-NEON-beetles-processing) for more information and analyses of these values, addition and renaming of the above columns from the [original measurement CSV](https://huggingface.co/datasets/imageomics/2018-NEON-beetles/blob/bbefad05d50ed55da82e99bd330afe12a5fd1d97/BeetleMeasurements.csv), and the creation of the individual metadata CSV.
172
- - `BeetleMeasurements_resized.csv` has `pictureID`, `scientificName`, `genus`, `species`, `NEON_sampleID`, `siteID`, and `file_name` columns to display the resized images in the dataset viewer with some group image-level information. It will match up to information from `BeetleMeasurments.csv` on `pictureID`, though this is _not_ a unique alignment since it's not a unique ID for `BeetleMeasurements.csv`, but is for the resize.
173
 
174
  **Separate_segmented_train_test_splits_80_20/metadata.csv**: metadata file for the segmented individuals in the `Separate_segmented_train_test_splits_80_20` folder.
175
  - `filename`: name of image file (`beetle_<number code>.png`).
 
22
  configs:
23
  - config_name: group_images
24
  data_files:
25
+ - "group_images/metadata.csv"
26
  - "group_images/*.jpg"
27
+ - config_name: group_images_masks
28
+ data_files:
29
+ - "group_images_masks/metadata.csv"
30
+ - "group_images_masks/*.png"
31
  - config_name: resized_images
32
  data_files:
33
+ - "beetle_images_resized/metadata.csv"
34
  - "beetle_images_resized/*.jpg"
35
  - config_name: "separate segmented splits"
36
  data_files:
 
98
  <pictureID 2>.jpg
99
  ...
100
  <pictureID 577>.jpg
101
+ metadata.csv
102
+ group_images_masks/
103
+ <pictureID 1>_masks.jpg
104
+ <pictureID 2>_masks.jpg
105
+ ...
106
+ <pictureID 577>_masks.jpg
107
+ metadata.csv
108
  beetle_images_resized/
109
  <pictureID 1>.jpg
110
  <pictureID 2>.jpg
111
  ...
112
  <pictureID 577>.jpg
113
+ metadata.csv
114
  Separate_segmented_train_test_splits_80_20
115
  test/
116
  <species 1>/
 
128
  <pictureID 2>.jpg
129
  ...
130
  BeetleMeasurements.csv
 
131
  individual_metadata.csv
132
  ```
133
 
 
181
  - The `NEON_sampleID` RMNP_014.20180709.CALADV.01 is repeated because there were too many individuals in the sample to organize them all in one picture. Thus, the individuals from this sample are split between two pictures: `A00000051555_1` and `A00000051555_2`.
182
  - The `NEON_sampleID` MOAB_001.S.20180724 was provided without scientific name identification. This sample is _Cicindela punctulata punctulata_ (confirmed in NEON biorepository records by Laura Nagel).
183
  - See notebooks in the [Beetle Processing Repository](https://github.com/Imageomics/2018-NEON-beetles-processing) for more information and analyses of these values, addition and renaming of the above columns from the [original measurement CSV](https://huggingface.co/datasets/imageomics/2018-NEON-beetles/blob/bbefad05d50ed55da82e99bd330afe12a5fd1d97/BeetleMeasurements.csv), and the creation of the individual metadata CSV.
184
+ - `beetle_images_resized/metadata.csv` has `pictureID`, `scientificName`, `genus`, `species`, `NEON_sampleID`, `siteID`, and `file_name` columns to display the resized images in the dataset viewer with some group image-level information. It will match up to information from `BeetleMeasurments.csv` on `pictureID`, though this is _not_ a unique alignment since it's not a unique ID for `BeetleMeasurements.csv`, but is for the resize.
185
 
186
  **Separate_segmented_train_test_splits_80_20/metadata.csv**: metadata file for the segmented individuals in the `Separate_segmented_train_test_splits_80_20` folder.
187
  - `filename`: name of image file (`beetle_<number code>.png`).
group_images/{A00000006924.jpg → A00000069245.jpg} RENAMED
File without changes
group_images/metadata.csv ADDED
The diff for this file is too large to render. See raw diff
 
group_images_masks/{A00000006924_mask.png → A00000069245_mask.png} RENAMED
File without changes
group_images_masks/metadata.csv ADDED
The diff for this file is too large to render. See raw diff