Datasets:
clarify individual images in the dataset and point to the code used to create them
Browse files
README.md
CHANGED
@@ -27,6 +27,10 @@ configs:
|
|
27 |
- config_name: resized_images
|
28 |
data_files:
|
29 |
- "beetle_images_resized/*.jpg"
|
|
|
|
|
|
|
|
|
30 |
---
|
31 |
<!-- - config_name: individual_images
|
32 |
data_files:
|
@@ -71,9 +75,17 @@ The individual images were segemented out based on scaling the elytra measuremen
|
|
71 |
|
72 |
In `group_images` we have 577 images of multiple beetles in a reasonably regular pattern (see sample image below). Each of these images contains a centimeter-based scalebar and a barcode representing the sample (collection of beetles in the image). Each row in `BeetleMeasurements.csv` corresponds to a measurement of the elytra (length or width) of an individual beetle.
|
73 |
|
74 |
-
|
75 |
|
|
|
|
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
```
|
78 |
/dataset/
|
79 |
group_images/
|
@@ -86,11 +98,6 @@ The `individual_images` directory contains images of each individual segmented f
|
|
86 |
<pictureID 2>.jpg
|
87 |
...
|
88 |
<pictureID 577>.jpg
|
89 |
-
individual_images/
|
90 |
-
<individualID 1>.jpg
|
91 |
-
<individualID 2>.jpg
|
92 |
-
...
|
93 |
-
<individualID 11459>.jpg
|
94 |
Separate_segmented_train_test_splits_80_20
|
95 |
test/
|
96 |
<species 1>/
|
@@ -119,8 +126,11 @@ The `individual_images` directory contains images of each individual segmented f
|
|
119 |
|
120 |
The `group_images` folder has all 577 orignal full size images. The `beetle_images_resized` folder has the resized (approximately 1MB) images used for annotation in Zooniverse (1MB was the size limitation imposed by the software); aspect ratio was maintained in the resize. <!-- >, and the code used can be found [here](). -->
|
121 |
|
122 |
-
|
123 |
|
|
|
|
|
|
|
124 |
|
125 |
||
|
126 |
|:--|
|
@@ -169,7 +179,7 @@ Segmentation was completed by adapting the elytra length and width annotations t
|
|
169 |
- `file_name`: path to the image from the `Separate_segmented_train_test_splits_80_20` folder to display in the dataset viewer.
|
170 |
- `subset`: label given to this subset of the full image dataset (as selected in the viewer).
|
171 |
|
172 |
-
**individual_metadata.csv**:
|
173 |
- `individualID`: ID of beetle in the individual image (`<measureID_length>_<measureID_width>`). This is a unique identifier for this CSV.
|
174 |
- `combinedID`: Generated from `PictureID` (minus the `.jpg`) plus `_<individual>`. (Matches `combinedID` in `BeetleMeasurements.csv`.)
|
175 |
- `lying_flat`: Whether or not the beetle is lying _flat_ in the image (`Yes` or `No`). This does _NOT_ correlate to vertical or horizontal alignment; it is whether the individual is twisted to one side or not--a side effect of how they died. Generally, the measured width will be shorter than the true width if this is `No`.
|
|
|
27 |
- config_name: resized_images
|
28 |
data_files:
|
29 |
- "beetle_images_resized/*.jpg"
|
30 |
+
- config_name: separate_segmented
|
31 |
+
data_files:
|
32 |
+
- "Separate_segmented_train_test_splits_80_20/*/*/*.jpg"
|
33 |
+
- "metadata.csv"
|
34 |
---
|
35 |
<!-- - config_name: individual_images
|
36 |
data_files:
|
|
|
75 |
|
76 |
In `group_images` we have 577 images of multiple beetles in a reasonably regular pattern (see sample image below). Each of these images contains a centimeter-based scalebar and a barcode representing the sample (collection of beetles in the image). Each row in `BeetleMeasurements.csv` corresponds to a measurement of the elytra (length or width) of an individual beetle.
|
77 |
|
78 |
+
`Separate_segmented_train_test_splits_80_20` contains individual images of 12 different species of beetles. These images are divided into an 80-20 train-test split, and further separated into subfolders based on their species (as shown below).
|
79 |
|
80 |
+
<!-- Still to be added:
|
81 |
+
The `individual_images` directory contains images of each individual segmented from the group images. These connect back to their group image based on the `individualID`.
|
82 |
|
83 |
+
individual_images/
|
84 |
+
<individualID 1>.jpg
|
85 |
+
<individualID 2>.jpg
|
86 |
+
...
|
87 |
+
<individualID 11459>.jpg
|
88 |
+
-->
|
89 |
```
|
90 |
/dataset/
|
91 |
group_images/
|
|
|
98 |
<pictureID 2>.jpg
|
99 |
...
|
100 |
<pictureID 577>.jpg
|
|
|
|
|
|
|
|
|
|
|
101 |
Separate_segmented_train_test_splits_80_20
|
102 |
test/
|
103 |
<species 1>/
|
|
|
126 |
|
127 |
The `group_images` folder has all 577 orignal full size images. The `beetle_images_resized` folder has the resized (approximately 1MB) images used for annotation in Zooniverse (1MB was the size limitation imposed by the software); aspect ratio was maintained in the resize. <!-- >, and the code used can be found [here](). -->
|
128 |
|
129 |
+
The code used to produce the images and splits in `Separate_segmented_train_test_splits_80_20/` is provided [here](https://github.com/Imageomics/2018-NEON-beetles-processing/blob/main/notebooks/Beetle_Palooza_image_separation.ipynb).
|
130 |
|
131 |
+
<!-- images not provided here
|
132 |
+
Segmentation was completed by adapting the elytra length and width annotations to generate the xy point input for the [Segment Anything (SAM)]() model. [Segment Anything (SAM)]() was then used to segment the individual beetles. More information and the code for this process is provided in the [Imageomics/2018-NEON-beetles-processing repo](https://github.com/Imageomics/2018-NEON-beetles-processing).
|
133 |
+
-->
|
134 |
|
135 |
||
|
136 |
|:--|
|
|
|
179 |
- `file_name`: path to the image from the `Separate_segmented_train_test_splits_80_20` folder to display in the dataset viewer.
|
180 |
- `subset`: label given to this subset of the full image dataset (as selected in the viewer).
|
181 |
|
182 |
+
**individual_metadata.csv**: This CSV was created for individual images that have not yet been added to this repository.
|
183 |
- `individualID`: ID of beetle in the individual image (`<measureID_length>_<measureID_width>`). This is a unique identifier for this CSV.
|
184 |
- `combinedID`: Generated from `PictureID` (minus the `.jpg`) plus `_<individual>`. (Matches `combinedID` in `BeetleMeasurements.csv`.)
|
185 |
- `lying_flat`: Whether or not the beetle is lying _flat_ in the image (`Yes` or `No`). This does _NOT_ correlate to vertical or horizontal alignment; it is whether the individual is twisted to one side or not--a side effect of how they died. Generally, the measured width will be shorter than the true width if this is `No`.
|