Datasets:
Add edits from #26
Browse files
README.md
CHANGED
@@ -12,26 +12,25 @@ tags:
|
|
12 |
- animals
|
13 |
- CV
|
14 |
- beetles
|
|
|
|
|
15 |
- elytra
|
16 |
- elytra width
|
17 |
- elytra length
|
18 |
- size
|
19 |
size_categories:
|
20 |
- n<1K
|
|
|
21 |
- 10K<n<100K
|
22 |
configs:
|
23 |
- config_name: group_images
|
24 |
data_files:
|
25 |
- "group_images/metadata.csv"
|
26 |
- "group_images/*.jpg"
|
27 |
-
- config_name:
|
28 |
data_files:
|
29 |
-
- "
|
30 |
-
- "
|
31 |
-
- config_name: resized_images
|
32 |
-
data_files:
|
33 |
-
- "beetle_images_resized/metadata.csv"
|
34 |
-
- "beetle_images_resized/*.jpg"
|
35 |
- config_name: individual_specimens
|
36 |
data_files:
|
37 |
- "individual_specimens.csv"
|
@@ -41,24 +40,19 @@ configs:
|
|
41 |
data_files:
|
42 |
- "Separate_segmented_train_test_splits_80_20/*/*/*.jpg"
|
43 |
- "Separate_segmented_train_test_splits_80_20/metadata.csv"
|
|
|
44 |
---
|
45 |
-
<!-- - config_name: individual_images
|
46 |
-
data_files:
|
47 |
-
- "individual_metadata.csv"
|
48 |
-
- "individual_images/*.jpg"
|
49 |
-
--- -->
|
50 |
-
|
51 |
|
52 |
# Dataset Card for 2018 NEON Ethanol-preserved Ground Beetles
|
53 |
|
54 |
<!-- Provide a quick summary of what the dataset is or can be used for. -->
|
55 |
-
Collection of ethanol-preserved ground beetles (family Carabidae) collected from various NEON sites in 2018 and photographed in batches in 2022.
|
56 |
|
57 |
## Dataset Details
|
58 |
|
59 |
### Dataset Description
|
60 |
|
61 |
-
- **Curated by:** I.E. Fluck,
|
62 |
<!-- Provide the basic links for the dataset. These will show up on the sidebar to the right of your dataset card ("Curated by" too). -->
|
63 |
<!-- - **Homepage:** -->
|
64 |
- **Repository:** [Imageomics/2018-NEON-beetles-processing](https://github.com/Imageomics/2018-NEON-beetles-processing)
|
@@ -66,9 +60,9 @@ Collection of ethanol-preserved ground beetles (family Carabidae) collected from
|
|
66 |
|
67 |
|
68 |
<!-- Provide a longer summary of what this dataset is. -->
|
69 |
-
This dataset is composed of a collection of 577 images of ethanol-preserved beetles collected at [NEON](https://www.neonscience.org/) sites in 2018. Each image contains a collection of beetles of the same species from a single plot at the labeled site. In 2022, they were arranged on a lattice and photographed; the elytra length and width were then annotated for each individual in each image using [Zooniverse]().
|
70 |
|
71 |
-
The individual images were
|
72 |
|
73 |
<!--This dataset card was generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1) and further altered to suit Imageomics Institute needs.-->
|
74 |
|
@@ -83,19 +77,13 @@ The individual images were segemented out based on scaling the elytra measuremen
|
|
83 |
|
84 |
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
85 |
|
86 |
-
|
87 |
|
88 |
-
|
|
|
|
|
|
|
89 |
|
90 |
-
<!-- Still to be added:
|
91 |
-
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`.
|
92 |
-
|
93 |
-
individual_images/
|
94 |
-
<individualID 1>.jpg
|
95 |
-
<individualID 2>.jpg
|
96 |
-
...
|
97 |
-
<individualID 11459>.jpg
|
98 |
-
-->
|
99 |
```
|
100 |
/dataset/
|
101 |
group_images/
|
@@ -104,13 +92,7 @@ The `individual_images` directory contains images of each individual segmented f
|
|
104 |
...
|
105 |
<pictureID 577>.jpg
|
106 |
metadata.csv
|
107 |
-
|
108 |
-
<pictureID 1>_masks.jpg
|
109 |
-
<pictureID 2>_masks.jpg
|
110 |
-
...
|
111 |
-
<pictureID 577>_masks.jpg
|
112 |
-
metadata.csv
|
113 |
-
beetle_images_resized/
|
114 |
<pictureID 1>.jpg
|
115 |
<pictureID 2>.jpg
|
116 |
...
|
@@ -128,30 +110,36 @@ The `individual_images` directory contains images of each individual segmented f
|
|
128 |
...
|
129 |
<species 12>/
|
130 |
metadata.csv
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
|
|
|
|
|
|
|
|
135 |
BeetleMeasurements.csv
|
136 |
-
|
137 |
```
|
138 |
|
139 |
|
140 |
-
|
141 |
### Data Instances
|
142 |
-
[More Information Needed]
|
143 |
|
144 |
-
|
145 |
|
146 |
-
|
|
|
|
|
|
|
|
|
147 |
|
148 |
<!-- images not provided here
|
149 |
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).
|
150 |
-->
|
151 |
|
152 |
-
||
|
153 |
|:--|
|
154 |
-
|Image of _Carabus goryi_ beetles from sample A00000046094.|
|
155 |
|
156 |
|
157 |
### Data Fields
|
@@ -160,11 +148,11 @@ Segmentation was completed by adapting the elytra length and width annotations t
|
|
160 |
- `pictureID`: Name of the image (`<sample-barcode>.jpg`, though sometimes it's `<NEON_sampleID_>`.jpg); this matches the barcode on the sample bottle (included in the image). Unique identifier for the 577 _group_ images, not for dataset. There are 11,459 individual beetles. All individuals in a single image are from the same location and are the same species. However, there is one image (`MOAB_001.S.20180724.jpg`) with 17 individuals that does not have any taxonomic information. 10 individuals do not have species-level labels
|
161 |
- `scalebar`: Pixel coordinates indicating the beginning and end of one side of a 1cm square on the ruler/scalebar in the image. This is indicated by two points `p1 = (x1, y1)` and `p2 = (x2, y2)`, such that the Euclidean distance between them is the number of pixels in one centimeter.
|
162 |
- `cm_pix`: Integer. The number of pixels in a centimeter on the scalebar (measured by Euclidean distance between points given in `scalebar`).
|
163 |
-
- `individual`: Integer. The beetle in the image to whom the measurements refer. The beetles are measured "in line" (numbering is from left to right, top to bottom, as one would read a book). However,
|
164 |
- `structure`: Whether the measurement applies to the length or width of the elytra (`ElytraLength` or `ElytraWidth`, respectively).
|
165 |
- `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`.
|
166 |
- `coords_pix`: Pixel coordinates of the line marking the length or width of the elytra (green or purple line in the sample image). Note that these annotations were done on the resized copy of the image (1MB), but the aspect ratio was maintained in the resizing.
|
167 |
-
- `dist_pix`: Float. The length or width of the elytra (indicated by `structure`) as measured in pixels (calculated as Euclidean distance
|
168 |
- `dist_cm`: Float. The length or width of the elytra (indicated by `structure`) as measured in centimeters using the scalebar compared to the measured pixel distance (`dist_pix/cm_pix`).
|
169 |
- `scientificName`: Scientific name of the specimen (`<Genus> <species>`). There are 78 different species among 36 genera, though another 10 individuals are only labeled to the genus (or subgenus) level. The 17 individuals in `PictureID` `MOAB_001.S.20180724.jpg` are missing the scientific name label (they are all the same species). These labels were provided by NEON.
|
170 |
- `NEON_sampleID`: NEON identifier for the sample (576 unique IDs), prefixed by the `plotID`.
|
@@ -172,10 +160,10 @@ Segmentation was completed by adapting the elytra length and width annotations t
|
|
172 |
- `site_name`: Name of field site from which the specimens were collected. There are 43 different field site names. -- These lack consistency (sometimes "NEON" or "Site" was used in the name causing duplicates), and will be updated using the site codes.
|
173 |
- `plotID`: Identifier for the plot from which the specimens were collected (`<siteID>_<plot number>`). Each site has multiple plots; there are 144 total plots from which specimens were collected.
|
174 |
- `user_name`: Zooniverse username of person annotating the elytra length and width information (there were 3 annotators).
|
175 |
-
- `workflowID`: Integer identifier for the
|
176 |
- `genus`: Genus of the individual (generated by taking the first word in the `scientificName`). There are 36 unique genera labeled.
|
177 |
- `species`: Species of the individual (generated from the word(s) following the `genus` in the `scientificName`). There are 78 unique species labeled.
|
178 |
-
- `combinedID`: Generated from `PictureID` (minus the `.jpg`) plus `_<individual>`. This gives only 11,104 IDs, as it suffers from the issue of `individual` based on
|
179 |
- `measureID`: Unique identifier for the beetle measurements (and this CSV), generated using the `uuid` package. There are 39,064 unique measurements (2 per beetle, with overlap on 234 images annotated by all three annotators and 1 annotated by just two).
|
180 |
- `file_name`: Relative path to image from the root of the directory (`<group_images>/<pictureID>.jpg`); allows for image to be displayed in the dataset viewer alongside its associated metadata.
|
181 |
- `image_dim`: Dimensions of full-sized image `(<height>, <width>, <number of channels>)`.
|
@@ -201,24 +189,11 @@ Segmentation was completed by adapting the elytra length and width annotations t
|
|
201 |
**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.
|
202 |
- `filename`: name of image file (`beetle_<number code>.png`).
|
203 |
- `md5`: MD5 hash of the image (unique identifier).
|
204 |
-
- `species`: species epithet of the beetle in the image.
|
205 |
- `split`: `train` or `test`, 80\% of the images are in the training set.
|
206 |
- `file_name`: path to the image from the `Separate_segmented_train_test_splits_80_20` folder to display in the dataset viewer.
|
207 |
- `subset`: label given to this subset of the full image dataset (as selected in the viewer): `separate segmented splits`.
|
208 |
|
209 |
-
**individual_metadata.csv**: This CSV was created for individual images that have not yet been added to this repository.
|
210 |
-
- `individualID`: ID of beetle in the individual image (`<measureID_length>_<measureID_width>`). This is a unique identifier for this CSV.
|
211 |
-
- `combinedID`: Generated from `PictureID` (minus the `.jpg`) plus `_<individual>`. (Matches `combinedID` in `BeetleMeasurements.csv`.)
|
212 |
-
- `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`.
|
213 |
-
- `elytraLength`: Length of the elytra in centimeters. Indicated by the green line in the image below.
|
214 |
-
- `elytraWidth`: Width of the elytra in centimeters. Indicated by the purple line in the image below.
|
215 |
-
- `measureID_length`: `measureID` from `BeetleMeasurements.csv` for the `elytraLength` of this individual. Can be used to fetch measure-specific information from `BeetleMeasurements.csv`.
|
216 |
-
- `measureID_width`: `measureID` from `BeetleMeasurements.csv` for the `elytraWidth` of this individual. Can be used to fetch measure-specific information from `BeetleMeasurements.csv`.
|
217 |
-
- `genus`: Genus of the individual (generated by taking the first word in the `scientificName` from `BeetleMeasurements.csv`). There are 36 unique genera labeled.
|
218 |
-
- `species`: Species of the individual (generated from the word(s) following the `genus` in the `scientificName` from `BeetleMeasurements.csv`). There are 78 unique species labeled.
|
219 |
-
- `NEON_sampleID`: NEON identifier for the sample (576 unique IDs), prefixed by the `plotID`. (Matches `NEON_sampleID` in `BeetleMeasurements.csv`.)
|
220 |
-
- `file_name`: Relative path to image from the root of the directory (`individual_images/<individualID>.jpg`); allows for image to be displayed in the dataset viewer alongside its associated metadata.
|
221 |
-
|
222 |
|
223 |
||
|
224 |
|:--|
|
@@ -231,11 +206,12 @@ This dataset has a subset of the group images segmented to individuals and divid
|
|
231 |
## Dataset Creation
|
232 |
|
233 |
### Curation Rationale
|
234 |
-
[More Information Needed]
|
235 |
<!-- Motivation for the creation of this dataset. For instance, what you intended to study and why that required curation of a new dataset (or if it's newly collected data and why the data was collected (intended use)), etc. -->
|
236 |
|
237 |
This dataset was curated for use at [BeetlePalooza 2024](https://github.com/Imageomics/BeetlePalooza-2024/wiki) to help drive scientific discovery through machine learning and computer vision.
|
238 |
|
|
|
|
|
239 |
|
240 |
### Source Data
|
241 |
|
@@ -264,7 +240,7 @@ NEON (National Ecological Observatory Network). Ground beetles sampled from pitf
|
|
264 |
Ex: This dataset is a collection of images taken of the butterfly collection housed at the Ohio State University Museum of Biological Diversity. The associated labels and metadata are the information provided with the collection from biologists that study butterflies and supplied the specimens to the museum.
|
265 |
-->
|
266 |
|
267 |
-
This dataset is a collection of images taken from beetles collected by [NEON](https://www.neonscience.org/) field technicians that were preserved in ethanol following collection from NEON sites in 2018. A subset of difficult to ID taxa were pinned and sent to experts for identification. The images provided here were of more common species that did not require expert ID that could be identified by NEON field technicians. After being preserved in ethanol, the beetles were archived at the [NEON Biorepository]
|
268 |
|
269 |
|
270 |
### Annotations
|
@@ -273,12 +249,12 @@ If the dataset contains annotations which are not part of the initial data colle
|
|
273 |
|
274 |
Ex: We standardized the taxonomic labels provided by the various data sources to conform to a uniform 7-rank Linnean structure. (Then, under annotation process, describe how this was done: Our sources used different names for the same kingdom (both _Animalia_ and _Metazoa_), so we chose one for all (_Animalia_). -->
|
275 |
|
276 |
-
Annotations (elytra length and width) were completed in
|
277 |
|
278 |
#### Annotation process
|
279 |
<!-- This section describes the annotation process such as annotation tools used, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
|
280 |
|
281 |
-
The images were downsized to 1MB (preserving aspect ratio) for annotation in [
|
282 |
|
283 |
#### Who are the annotators?
|
284 |
<!-- This section describes the people or systems who created the annotations. -->
|
@@ -299,7 +275,7 @@ Things to consider while working with the dataset. For instance, maybe there are
|
|
299 |
-->
|
300 |
- 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`.
|
301 |
- The `NEON_sampleID` MOAB_001.S.20180724 was provided without scientific name identification.
|
302 |
-
- The `individual` indicator is not unique to `pictureID` since
|
303 |
- These images do not include all beetles sampled at all sites in 2018 because they do not include the pinned specimens.
|
304 |
- Dorsal images may not provide all the information needed to ID a beetle.
|
305 |
|
@@ -325,21 +301,24 @@ This dataset is licensed under [CC BY-SA](https://creativecommons.org/licenses/b
|
|
325 |
**Data**
|
326 |
```
|
327 |
@misc{Fluck2018_NEON_Beetle,
|
328 |
-
author = {Isadora E. Fluck and
|
329 |
-
|
330 |
-
|
|
|
331 |
url = {https://huggingface.co/datasets/imageomics/2018-NEON-beetles},
|
332 |
-
doi = {
|
333 |
publisher = {Hugging Face}
|
334 |
}
|
335 |
```
|
336 |
|
337 |
-
If you use the
|
338 |
|
339 |
|
340 |
## Acknowledgements
|
341 |
|
342 |
-
The National Ecological Observatory Network is a program sponsored by the National Science Foundation and operated under cooperative agreement by Battelle. This material uses specimens and/or samples collected as part of the NEON Program. Additionally, this material is based upon work supported by the National Science Foundation under Award Numbers [2301322](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2301322&HistoricalAwards=false), [1950364](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1950364&HistoricalAwards=false), and [1926569](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1926569&HistoricalAwards=false), as well as the USDA National Institute of Food and Agriculture, Hatch Project [Number ME0-22425]() through the Maine Agricultural and Forest Experiment Station. Additional support was provided by the Imageomics Institute, which is supported by NSF [Award No. 2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) ([Imageomics](https://imageomics.org): A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
|
|
|
|
|
343 |
|
344 |
<!--
|
345 |
## Glossary
|
|
|
12 |
- animals
|
13 |
- CV
|
14 |
- beetles
|
15 |
+
- Carabidae
|
16 |
+
- ground beetles
|
17 |
- elytra
|
18 |
- elytra width
|
19 |
- elytra length
|
20 |
- size
|
21 |
size_categories:
|
22 |
- n<1K
|
23 |
+
- 1K<n<10K
|
24 |
- 10K<n<100K
|
25 |
configs:
|
26 |
- config_name: group_images
|
27 |
data_files:
|
28 |
- "group_images/metadata.csv"
|
29 |
- "group_images/*.jpg"
|
30 |
+
- config_name: resized_group_images
|
31 |
data_files:
|
32 |
+
- "group_images_resized/metadata.csv"
|
33 |
+
- "group_images_resized/*.jpg"
|
|
|
|
|
|
|
|
|
34 |
- config_name: individual_specimens
|
35 |
data_files:
|
36 |
- "individual_specimens.csv"
|
|
|
40 |
data_files:
|
41 |
- "Separate_segmented_train_test_splits_80_20/*/*/*.jpg"
|
42 |
- "Separate_segmented_train_test_splits_80_20/metadata.csv"
|
43 |
+
description: "Collection of ethanol-preserved ground beetles (family Carabidae) collected from various NEON sites in 2018 and photographed in batches in 2022. This dataset contains both group and individual specimen images (individuals segmented from the group images). Elytra measurements of the beetle specimens (taken on the images) are also provided."
|
44 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
# Dataset Card for 2018 NEON Ethanol-preserved Ground Beetles
|
47 |
|
48 |
<!-- Provide a quick summary of what the dataset is or can be used for. -->
|
49 |
+
Collection of ethanol-preserved ground beetles (family Carabidae) collected from various NEON sites in 2018 and photographed in batches in 2022. This dataset contains both group and individual specimen images (individuals segmented from the group images). Elytra measurements of the beetle specimens (taken on the images) are also provided.
|
50 |
|
51 |
## Dataset Details
|
52 |
|
53 |
### Dataset Description
|
54 |
|
55 |
+
- **Curated by:** I.E. Fluck, I. Chinniah, R. Wolcheski, M. Khurana, SM Rayeed, B. Baiser, E.G. Campolongo, A. Karpatne, C.V. Stewart, and S. Record
|
56 |
<!-- Provide the basic links for the dataset. These will show up on the sidebar to the right of your dataset card ("Curated by" too). -->
|
57 |
<!-- - **Homepage:** -->
|
58 |
- **Repository:** [Imageomics/2018-NEON-beetles-processing](https://github.com/Imageomics/2018-NEON-beetles-processing)
|
|
|
60 |
|
61 |
|
62 |
<!-- Provide a longer summary of what this dataset is. -->
|
63 |
+
This dataset is composed of a collection of 577 images of ethanol-preserved beetles collected at [NEON](https://www.neonscience.org/) sites in 2018. Each image contains a collection of beetles of the same species from a single plot at the labeled site. In 2022, they were arranged on a lattice and photographed; the elytra length and width were then annotated for each individual in each image using [Notes from Nature](https://www.zooniverse.org/organizations/md68135/notes-from-nature), a project on the [Zooniverse platform](https://www.zooniverse.org/).
|
64 |
|
65 |
+
The individual images were segmented out based on scaling the elytra measurement pixel coordinates to the full-size images (more information on this process is available on the [Imageomics/2018-NEON-beetles-processing](https://github.com/Imageomics/2018-NEON-beetles-processing) repository).
|
66 |
|
67 |
<!--This dataset card was generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1) and further altered to suit Imageomics Institute needs.-->
|
68 |
|
|
|
77 |
|
78 |
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
79 |
|
80 |
+
This dataset has 4 subsets, which are described in greater detail below in [Data Instances](#data-instances):
|
81 |
|
82 |
+
1. `group_images`: all 577 orignal full size images.
|
83 |
+
2. `resized_group_images`: all 577 resized (approximately 1MB) group images used for annotation in Notes from Nature (1MB was the size limitation imposed by the software); aspect ratio was maintained in the resize.
|
84 |
+
3. `individual_specimens`: all 11,654 individuals from the `group_images`, segmented _manually_ to have one image per individual.
|
85 |
+
4. `separate segmented splits`: 7,070 individual beetle images segmented from the `group_images` as part of [BeetlePalooza 2024](https://doi.org/10.5281/zenodo.15540300). These images were organized into an 80-20 train-test split and are in the `Separate_segmented_train_test_splits_80_20/` directory.
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
```
|
88 |
/dataset/
|
89 |
group_images/
|
|
|
92 |
...
|
93 |
<pictureID 577>.jpg
|
94 |
metadata.csv
|
95 |
+
group_images_resized/
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
<pictureID 1>.jpg
|
97 |
<pictureID 2>.jpg
|
98 |
...
|
|
|
110 |
...
|
111 |
<species 12>/
|
112 |
metadata.csv
|
113 |
+
README.md # information about this subset of the dataset
|
114 |
+
individual_specimens/
|
115 |
+
part_000/
|
116 |
+
<pictureID>_specimen_<number>.png
|
117 |
+
...
|
118 |
+
part_001/
|
119 |
+
<pictureID>_specimen_<number>.png
|
120 |
+
...
|
121 |
BeetleMeasurements.csv
|
122 |
+
individual_specimens.csv
|
123 |
```
|
124 |
|
125 |
|
|
|
126 |
### Data Instances
|
|
|
127 |
|
128 |
+
This dataset has 4 subsets:
|
129 |
|
130 |
+
1. `group_images`: 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.
|
131 |
+
2. `resized_group_images`: All 577 `group_images` resized to the dimensions required for Notes from Nature annotation. These resized images align with the individual measurements provided in `BeetleMeasurements.csv`, unlike the images in the `group_images` subset, which require conversion that the pixel locations are converted to match the full size images.
|
132 |
+
3. `individual_specimens`: 11,654 manually segmented images of all individual specimens photographed in the `group_images` subset. These images are split between two folders (`part_000/` and `part_001/`), and are labeled based on the group image to which they belong (`pictureID`), then the associated specimen when labeling within the tray from left to right, top to bottom (as if reading a book). Metadata for these images can be aligned using the `individual_specimens.csv`.
|
133 |
+
4. `separate segmented splits`: 7,070 individual beetle images segmented from the `group_images`. This subset encompasses 11 different species of beetles. There are 12 folders, but _melanarius melanarius_ is a subspecies designation for _melanarius_, so it should not be considered a species distinction. These images are divided into an 80-20 train-test split, and further separated into subfolders based on their species (as shown below). These images are all contained in the `Separate_segmented_train_test_splits_80_20/` directory, and were generated as part of [BeetlePalooza 2024](https://doi.org/10.5281/zenodo.15540300). See [`Separate_segmented_train_test_splits_80_20/README`](Separate_segmented_train_test_splits_80_20/README.md) for more details.
|
134 |
+
- 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).
|
135 |
|
136 |
<!-- images not provided here
|
137 |
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).
|
138 |
-->
|
139 |
|
140 |
+
||
|
141 |
|:--|
|
142 |
+
|Image of _Carabus goryi_ beetles from sample A00000046094. This image is part of the `group_images` subset.|
|
143 |
|
144 |
|
145 |
### Data Fields
|
|
|
148 |
- `pictureID`: Name of the image (`<sample-barcode>.jpg`, though sometimes it's `<NEON_sampleID_>`.jpg); this matches the barcode on the sample bottle (included in the image). Unique identifier for the 577 _group_ images, not for dataset. There are 11,459 individual beetles. All individuals in a single image are from the same location and are the same species. However, there is one image (`MOAB_001.S.20180724.jpg`) with 17 individuals that does not have any taxonomic information. 10 individuals do not have species-level labels
|
149 |
- `scalebar`: Pixel coordinates indicating the beginning and end of one side of a 1cm square on the ruler/scalebar in the image. This is indicated by two points `p1 = (x1, y1)` and `p2 = (x2, y2)`, such that the Euclidean distance between them is the number of pixels in one centimeter.
|
150 |
- `cm_pix`: Integer. The number of pixels in a centimeter on the scalebar (measured by Euclidean distance between points given in `scalebar`).
|
151 |
+
- `individual`: Integer. The beetle in the image to whom the measurements refer. The beetles are measured "in line" (numbering is from left to right, top to bottom, as one would read a book). However, Notes from Nature does not register individual IDs beyond 99 (once 99 individuals are marked, it restarts the count at 1). Be careful with it.
|
152 |
- `structure`: Whether the measurement applies to the length or width of the elytra (`ElytraLength` or `ElytraWidth`, respectively).
|
153 |
- `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`.
|
154 |
- `coords_pix`: Pixel coordinates of the line marking the length or width of the elytra (green or purple line in the sample image). Note that these annotations were done on the resized copy of the image (1MB), but the aspect ratio was maintained in the resizing.
|
155 |
+
- `dist_pix`: Float. The length or width of the elytra (indicated by `structure`) as measured in pixels (calculated as Euclidean distance between `coords_pix` points).
|
156 |
- `dist_cm`: Float. The length or width of the elytra (indicated by `structure`) as measured in centimeters using the scalebar compared to the measured pixel distance (`dist_pix/cm_pix`).
|
157 |
- `scientificName`: Scientific name of the specimen (`<Genus> <species>`). There are 78 different species among 36 genera, though another 10 individuals are only labeled to the genus (or subgenus) level. The 17 individuals in `PictureID` `MOAB_001.S.20180724.jpg` are missing the scientific name label (they are all the same species). These labels were provided by NEON.
|
158 |
- `NEON_sampleID`: NEON identifier for the sample (576 unique IDs), prefixed by the `plotID`.
|
|
|
160 |
- `site_name`: Name of field site from which the specimens were collected. There are 43 different field site names. -- These lack consistency (sometimes "NEON" or "Site" was used in the name causing duplicates), and will be updated using the site codes.
|
161 |
- `plotID`: Identifier for the plot from which the specimens were collected (`<siteID>_<plot number>`). Each site has multiple plots; there are 144 total plots from which specimens were collected.
|
162 |
- `user_name`: Zooniverse username of person annotating the elytra length and width information (there were 3 annotators).
|
163 |
+
- `workflowID`: Integer identifier for the Notes from Nature workflow used. There are 5.
|
164 |
- `genus`: Genus of the individual (generated by taking the first word in the `scientificName`). There are 36 unique genera labeled.
|
165 |
- `species`: Species of the individual (generated from the word(s) following the `genus` in the `scientificName`). There are 78 unique species labeled.
|
166 |
+
- `combinedID`: Generated from `PictureID` (minus the `.jpg`) plus `_<individual>`. This gives only 11,104 IDs, as it suffers from the issue of `individual` based on Notes from Nature's export. Individuals should be measured by half the number of rows with `user_name == "IsaFluck"`.
|
167 |
- `measureID`: Unique identifier for the beetle measurements (and this CSV), generated using the `uuid` package. There are 39,064 unique measurements (2 per beetle, with overlap on 234 images annotated by all three annotators and 1 annotated by just two).
|
168 |
- `file_name`: Relative path to image from the root of the directory (`<group_images>/<pictureID>.jpg`); allows for image to be displayed in the dataset viewer alongside its associated metadata.
|
169 |
- `image_dim`: Dimensions of full-sized image `(<height>, <width>, <number of channels>)`.
|
|
|
189 |
**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.
|
190 |
- `filename`: name of image file (`beetle_<number code>.png`).
|
191 |
- `md5`: MD5 hash of the image (unique identifier).
|
192 |
+
- `species`: species epithet of the beetle in the image. **Note:** _melanarius melanarius_ is a subspecies designation of _melanarius_. Genera are as described [here](https://huggingface.co/datasets/imageomics/2018-NEON-beetles/discussions/18#67bcabad85e7281434139a8a), full alignment should be possible with the [generation code](https://github.com/Imageomics/2018-NEON-beetles-processing/blob/main/notebooks/Beetle_Palooza_image_separation.ipynb).
|
193 |
- `split`: `train` or `test`, 80\% of the images are in the training set.
|
194 |
- `file_name`: path to the image from the `Separate_segmented_train_test_splits_80_20` folder to display in the dataset viewer.
|
195 |
- `subset`: label given to this subset of the full image dataset (as selected in the viewer): `separate segmented splits`.
|
196 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
|
198 |
||
|
199 |
|:--|
|
|
|
206 |
## Dataset Creation
|
207 |
|
208 |
### Curation Rationale
|
|
|
209 |
<!-- Motivation for the creation of this dataset. For instance, what you intended to study and why that required curation of a new dataset (or if it's newly collected data and why the data was collected (intended use)), etc. -->
|
210 |
|
211 |
This dataset was curated for use at [BeetlePalooza 2024](https://github.com/Imageomics/BeetlePalooza-2024/wiki) to help drive scientific discovery through machine learning and computer vision.
|
212 |
|
213 |
+
Further segmentation was completed to facilitate trait-based analysis at the individual level.
|
214 |
+
|
215 |
|
216 |
### Source Data
|
217 |
|
|
|
240 |
Ex: This dataset is a collection of images taken of the butterfly collection housed at the Ohio State University Museum of Biological Diversity. The associated labels and metadata are the information provided with the collection from biologists that study butterflies and supplied the specimens to the museum.
|
241 |
-->
|
242 |
|
243 |
+
This dataset is a collection of images taken from beetles collected by [NEON](https://www.neonscience.org/) field technicians that were preserved in ethanol following collection from NEON sites in 2018. A subset of difficult to ID taxa were pinned and sent to experts for identification. The images provided here were of more common species that did not require expert ID that could be identified by NEON field technicians. After being preserved in ethanol, the beetles were archived at the [NEON Biorepository](https://biorepo.neonscience.org/portal/). They were sent by Nico Franz, Kelsey Yule, and Andrew Johnston from the NEON Biorepository to Ben Baiser, Sydne Record, and Isadora Fluck for imaging in 2022. Information regarding the sites from which they were collected and the taxonomic labels were provided by NEON. Site information (names and ecoclimatic domains) can be matched to `siteID` from the `NEON_Field_Site_Metadata_20240802.csv`, which is available on [NEON's field sites information page](https://www.neonscience.org/field-sites/explore-field-sites) (click `Download Field Site Table (CSV)`).
|
244 |
|
245 |
|
246 |
### Annotations
|
|
|
249 |
|
250 |
Ex: We standardized the taxonomic labels provided by the various data sources to conform to a uniform 7-rank Linnean structure. (Then, under annotation process, describe how this was done: Our sources used different names for the same kingdom (both _Animalia_ and _Metazoa_), so we chose one for all (_Animalia_). -->
|
251 |
|
252 |
+
Annotations (elytra length and width) were completed in Notes from Nature by Isadora Fluck and two Harvard Forest summer REU students (Riley Wolcheski and Isha Chinniah); annotator is indicated by their NEON system usernames in the `BeetleMeasurements` CSV. The annotations (2 per beetle) were repeated for a subset of the images to measure observation error introduced in the annotation process. The taxonomic labels were provided by NEON with the samples.
|
253 |
|
254 |
#### Annotation process
|
255 |
<!-- This section describes the annotation process such as annotation tools used, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
|
256 |
|
257 |
+
The images were downsized to 1MB (preserving aspect ratio) for annotation in [Notes from Nature](https://www.zooniverse.org/organizations/md68135/notes-from-nature). Overall, 234 images were annotated by all three annotators and 1 was annotated by just two. Beetles were indicated as not lying flat if they tended to one or the other side, as this can result in a smaller width measurement than expected. See the [sample image](https://huggingface.co/datasets/imageomics/BeetlePalooza/blob/main/beetles.png) (also in Figure 1) for indicators of length and width, as well as the centimeter mark in pixels on the scalebar.
|
258 |
|
259 |
#### Who are the annotators?
|
260 |
<!-- This section describes the people or systems who created the annotations. -->
|
|
|
275 |
-->
|
276 |
- 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`.
|
277 |
- The `NEON_sampleID` MOAB_001.S.20180724 was provided without scientific name identification.
|
278 |
+
- The `individual` indicator is not unique to `pictureID` since Notes from Nature restarted IDs after individual number 99, so individuals are indicated by measurements annotated by `user_name == "IsaFluck"` since she annotated each image once, with the other annotators just labeling a subset for comparison.
|
279 |
- These images do not include all beetles sampled at all sites in 2018 because they do not include the pinned specimens.
|
280 |
- Dorsal images may not provide all the information needed to ID a beetle.
|
281 |
|
|
|
301 |
**Data**
|
302 |
```
|
303 |
@misc{Fluck2018_NEON_Beetle,
|
304 |
+
author = {Isadora E. Fluck and Isha Chinniah and Riley Wolcheski and Mridul Khurana and S M Rayeed and Benjamin Baiser and
|
305 |
+
Elizabeth G. Campolongo and Anuj Karpatne and Charles V. Stewart and Sydne Record},
|
306 |
+
title = {2018 {NEON} Ethanol-preserved Ground Beetles (Revision <update on release>)},
|
307 |
+
year = {2025},
|
308 |
url = {https://huggingface.co/datasets/imageomics/2018-NEON-beetles},
|
309 |
+
doi = { <update on release> },
|
310 |
publisher = {Hugging Face}
|
311 |
}
|
312 |
```
|
313 |
|
314 |
+
If you use the `separate segmented splits` subset (images in `Separate_segmented_train_test_splits_80_20`), please follow the citation guidance in [`Separate_segmented_train_test_splits_80_20/README`](Separate_segmented_train_test_splits_80_20/README.md), which involves also citing the code repository ([Imageomics/2018-NEON-beetles-processing](https://github.com/Imageomics/2018-NEON-beetles-processing)) used to produce this subset of images.
|
315 |
|
316 |
|
317 |
## Acknowledgements
|
318 |
|
319 |
+
The National Ecological Observatory Network is a program sponsored by the National Science Foundation and operated under cooperative agreement by Battelle. This material uses specimens and/or samples collected as part of the NEON Program. Additionally, this material is based upon work supported by the National Science Foundation under Award Numbers [2301322](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2301322&HistoricalAwards=false), [1950364](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1950364&HistoricalAwards=false), and [1926569](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1926569&HistoricalAwards=false), as well as the USDA National Institute of Food and Agriculture, Hatch Project [Number ME0-22425]() through the Maine Agricultural and Forest Experiment Station. Additional support was provided by the Imageomics Institute, which is supported by NSF [Award No. 2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) ([Imageomics](https://imageomics.org): A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation or the USDA National Institute of Food and Agriculture.
|
320 |
+
|
321 |
+
We thank Michael Denslow and Robert P. Guralnick for their help in setting up and managing the annotation pipeline in Zooniverse.
|
322 |
|
323 |
<!--
|
324 |
## Glossary
|