fish-vista / README.md
egrace479's picture
Add annotation descriptions from Wasila
0747101 verified
|
raw
history blame
18.8 kB
---
task_categories:
- image-classification
- image-segmentation
tags:
- fish
- traits
- processed
- RGB
- biology
- image
- animals
- CV
pretty_name: Fish-Vista
size_categories:
- 10K<n<100K
language:
- en
configs:
- config_name: species_classification
data_files:
- split: train
path: classification_train.csv
- split: test
path: classification_test.csv
- split: val
path: classification_val.csv
- config_name: species_trait_identification
data_files:
- split: train
path: identification_train.csv
- split: test_insp
path: identification_test_insp.csv
- split: test_lvsp
path: identification_test_lvsp.csv
- split: val
path: identification_val.csv
- config_name: trait_segmentation
data_files:
- split: all
path: segmentation_data.csv
---
<!--
Image with caption:
|![Figure #](https://huggingface.co/imageomics/datasets/<data-repo>/resolve/main/<filename>)|
|:--|
|**Figure #.** [Image of <>](https://huggingface.co/datasets/imageomics/<data-repo>/raw/main/<filename>) <caption description>.|
-->
# Dataset Card for Fish-Visual Trait Analysis (Fish-Vista)
## Dataset Deetails
### Dataset Description
<!--
- **Curated by:** list curators (authors for _data_ citation, moved up)
- **Language(s) (NLP):** [More Information Needed]
<!-- Provide the basic links for the dataset. These will show up on the sidebar to the right of your dataset card ("Curated by" too). -->
<!--
- **Homepage:**
- **Repository:** [related project repo]
- **Paper:**
-->
<!-- Provide a longer summary of what this dataset is. -->
The Fish-Visual Trait Analysis (Fish-Vista) dataset is a large, annotated collection of 60K fish images spanning 1900 different species; it supports several challenging and biologically relevant tasks including species classification, trait identification, and trait segmentation. These images have been curated through a sophisticated data processing pipeline applied to a cumulative set of images obtained from various museum collections. Fish-Vista provides fine-grained labels of various visual traits present in each image. It also offers pixel-level annotations of 9 different traits for 2427 fish images, facilitating additional trait segmentation and localization tasks.
The Fish Vista dataset consists of museum fish images from [Great Lakes Invasives Network (GLIN)](https://greatlakesinvasives.org/portal/index.php), [iDigBio](https://www.idigbio.org/), and [Morphbank](https://www.morphbank.net/) databases. We acquired these images, along with associated metadata including the scientific species names, the taxonomical family the species belong to, and licensing information, from the [Fish-AIR repository](https://fishair.org/).
|![Figure 1](https://huggingface.co/datasets/imageomics/fish-vista/resolve/main/metadata/figures/FishVista.png)|
|:--|
|**Figure 1.** A schematic representation of the different tasks in Fish-Vista Dataset. |
<!--This dataset card has been 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.-->
### Supported Tasks and Leaderboards
<!--[Add some more description. could replace graphs with tables]-->
|![Figure 2](https://huggingface.co/datasets/imageomics/fish-vista/resolve/main/metadata/figures/clf_imbalance.png)|
|:--|
|**Figure 2.** Comparison of the fine-grained classification performance of different imbalanced classification methods. |
|![Figure 3](https://huggingface.co/datasets/imageomics/fish-vista/resolve/main/metadata/figures/IdentificationOriginalResults.png)|
|:--|
|**Figure 3.** Trait identification performance of different multi-label classification methods. |
<!---
This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).
--->
### Languages
English
## Dataset Structure
```
/dataset/
segmentation_masks/
annotations/
images/
sample_images/
filename 1
filename 2
...
filename n
classification_train.csv
classification_test.csv
classification_val.csv
identification_train.csv
identification_test.csv
identification_val.csv
segmentation_data.csv
metadata/
figures/
# figures included in README
data-bib.bib
```
**Notes:**
[Add instructions for downloading images here]
* When all images are downloaded and processed, they are contained within a flat directory structure (as demonstrated in `sample_images`).
### Data Instances
<!-- Add information about each of these (task, number of images per split, etc.). Perhaps reformat as <task>_<split>.csv.
-->
* **Species Classification:** `classification_<split>.csv`
* Approximately 48K images of 419 species for species classification tasks.
* There are about 35K training, 7.6K test, and 5K validation images.
* **Species-level Trait Identification:** `identification_<split>.csv`
* Approximately 53K images of 682 species for trait identification based on _species-level trait expectation_ (i.e., presence/absence of traits based on expectation for the species from information provided by [Phenoscape]() and [FishBase](https://www.fishbase.se/), not by looking at the images).
* About 38K training, 8K `test_insp` (species in training set), 1.6K `test_lvsp` (species not in training), and 5.3K validation images.
* Train, test, and validation splits are generated based on traits, so there are 628 species in train, 471 species in `test_insp`, 51 species in `test_lvsp`, and 452 in the validation set (4 species only in val).
* **Image-level Trait Identification:** `segmentation_data.csv`
* Pixel-level annotations of 9 different traits for 2,427 fish images.
* These are ground-truth _image-level trait IDs_ manually annotated.
* **Image Information**
* **Type:** JPG
* **Size (x pixels by y pixels):** Variable
* **Background (color or none):** Uniform (White)
### Data Fields
CSV Columns are as follows:
- `filename`: Unique filename for our processed images.
- `source_filename`: Filename of the source image. Non-unique, since one source filename can result in multiple crops in our processed dataset.
- `original_format`: Original format, all jpg/jpeg.
- `arkid`: ARKID from FishAIR for the original images. Non-unique, since one source file can result in multiple crops in our processed dataset.
- `verbatim_species`: Verbatim species label from FishAIR. This is not the name-resolved species name.
- `species`: Scientific species name from FishAIR. This is not the name-resolved species name.
- `family`: Taxonomic family
- `source`: Source museum collection. GLIN, Idigbio or Morphbank
- `owner`: Owner institution within the source collection.
- `standardized_species`: Open-tree-taxonomy-resolved species name. This is the species name that we provide for Fish-Vista
- `original_url`: URL to download the original, unprocessed image
- `license`: License information for the original image
- `adipose_fin`: Presence/absence of the adipose fin trait. NA for the classification (FV-419) dataset, since it is only used for identification. 1 indicates presence and 0 indicates absence. This is used for trait identification.
- `pelvic_fin`: Presence/absence of the pelvic trait. NA for the classification (FV-419) dataset, since it is only used for identification. 1 indicates presence and 0 indicates absence. This is only used for trait identification.
- `barbel`: Presence/absence of the barbel trait. NA for the classification (FV-419) dataset, since it is only used for identification. 1 indicates presence and 0 indicates absence. This is used for trait identification.
- `multiple_dorsal_fin`: Presence/absence of the dorsal fin trait. NA for the classification (FV-419) dataset, since it is only used for identification. 1 indicates presence, 0 indicates absence and -1 indicates unknown. This is used for trait identification.
**Note:**
### Data Splits
For each task (or subset), the split is indicated by the CSV name (e.g., `classification_<split>.csv`). More information is provided in [Data Instances](#data-instances), above.
## Dataset Creation
### Curation Rationale
<!-- 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. -->
Fishes are integral to both ecological systems and economic sectors, and studying fish traits is crucial for understanding biodiversity patterns and macro-evolution trends.
Currently available fish datasets tend to focus on species classification, and when annotations are available, they tend to be for the entire specimen, allowing for segmenation of background, but not trait discovery.
The ultimate goal of Fish-Vista is to provide a clean, carefully curated, high-resolution dataset that can serve as a foundation for accelerating biological discoveries using advances in AI.
### Source Data
<!-- This section describes the source data (e.g., news text and headlines, social media posts, translated sentences, ...). As well as an original source it was created from (e.g., sampling from Zenodo records, compiling images from different aggregators, etc.) -->
Images and taxonomic labels were aggregated by [Fish-AIR](https://fishair.org/) from
- [Great Lakes Invasives Network (GLIN)](https://greatlakesinvasives.org/portal/index.php)
- [iDigBio](https://www.idigbio.org/)
- [Morphbank](https://www.morphbank.net/)
- [Illinois Natural History Survey (INHS)](https://biocoll.inhs.illinois.edu/portal/index.php)
- [Minnesota Biodiversity Atlas, Bell Museum](https://bellatlas.umn.edu/index.php)
- [University of Michigan Museum of Zoology (UMMZ), Division of Fishes](https://ipt.lsa.umich.edu/resource?r=ummz\_fish)
- [University of Wisconsin-Madison Zoological Museum - Fish](http://zoology.wisc.edu/uwzm/)
- [Field Museum of Natural History (Zoology, FMNH) Fish Collection](https://fmipt.fieldmuseum.org/ipt/resource?r=fmnh_fishes)
- [The Ohio State University Fish Division, Museum of Biological Diversity (OSUM), Occurrence dataset](https://doi.org/10.15468/subsl8)
[Phenoscape](https://kb.phenoscape.org/about/phenoscape/kb) and [FishBase](https://www.fishbase.se/search.php) were used to standardize the species labels and provided the information on expected traits at the species level.
#### Data Collection and Processing
<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, re-sizing of images, tools and libraries used, etc.
This is what _you_ did to it following collection from the original source; it will be overall processing if you collected the data initially.
-->
|![Figure 4](https://huggingface.co/datasets/imageomics/fish-vista/resolve/main/figures/DataProcessingPipelineFishVista.png)|
|:--|
|**Figure 4.** An overview of the data processing and filtering pipeline used to obtain Fish-Vista. |
We carefully curated a set of
107K images sourced from various museum collections through [Fish-AIR](https://fishair.org/), including [Great Lakes Invasives Network (GLIN)](https://greatlakesinvasives.org/portal/index.php), [iDigBio](https://www.idigbio.org/), and [Morphbank](https://www.morphbank.net/).
Our pipeline incorporates rigorous stages such as duplicate removal, metadata-driven filtering, cropping, background removal using the [Segment Anything Model (SAM)](https://github.com/facebookresearch/segment-anything), and a final
manual filtering phase. Fish-Vista supports several biologically meaningful tasks such as species
classification, trait identification, and trait segmentation.
### Annotations
<!--
If the dataset contains annotations which are not part of the initial data collection, use this section to describe them.
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_). -->
#### Annotation process
<!-- 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. -->
[Phenoscape](https://kb.phenoscape.org/about/phenoscape/kb) and [FishBase](https://www.fishbase.se/search.php) were used to standardize the species labels provided by Fish-AIR. They also provided the information on expected species-level traits.
Image-level traits were manually annotated as described below.
The annotation process for the segmentation subset was led by Wasila Dahdul. She provided guidance and oversight to a team of three people from [NEON](https://www.neonscience.org/about), who used [CVAT](https://zenodo.org/records/7863887) to label nine external traits in the images. These traits correspond to the following terms for anatomical structures in the UBERON anatomy ontology:
1. Eye, [UBERON_0000019](http://purl.obolibrary.org/obo/UBERON_0000019)
2. Head, [UBERON_0000033](http://purl.obolibrary.org/obo/UBERON_0000033)
3. Barbel, [UBERON_2000622](http://purl.obolibrary.org/obo/UBERON_2000622)
4. Dorsal fin, [UBERON_0003097](http://purl.obolibrary.org/obo/UBERON_0003097)
5. Adipose fin, [UBERON_2000251](http://purl.obolibrary.org/obo/UBERON_2000251)
6. Pectoral fin, [UBERON_0000151](http://purl.obolibrary.org/obo/UBERON_0000151)
7. Pelvic fin, [UBERON_0000152](http://purl.obolibrary.org/obo/UBERON_0000152)
8. Anal fin, [UBERON_4000163](http://purl.obolibrary.org/obo/UBERON_4000163)
9. Caudal fin, [UBERON_4000164](http://purl.obolibrary.org/obo/UBERON_4000164)
### Personal and Sensitive Information
None
## Considerations for Using the Data
### Discussion of Biases and Other Known Limitations
- This dataset is imbalanced.
- There are multiple images of the same specimen for many specimens; sometimes this is due to different views (eg., dorsal or ventral side)
- The master files contain only images that were determined to be unique (at the pixel level) through MD5 checksum.
^This seems to be a holdover from something else--[More Information Needed]
### Recommendations
[More Information Needed]
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
## Licensing Information
[More Information Needed]
<!-- See notes at top of file about selecting a license.
If you choose CC0: This dataset is dedicated to the public domain for the benefit of scientific pursuits. We ask that you cite the dataset and journal paper using the below citations if you make use of it in your research.
Be sure to note different licensing of images if they have a different license from the compilation.
ex:
The data (images and text) contain a variety of licensing restrictions mostly within the CC family. Each image and text in this dataset is provided under the least restrictive terms allowed by its licensing requirements as provided to us (i.e, we impose no additional restrictions past those specified by licenses in the license file).
EOL images contain a variety of licenses ranging from [CC0](https://creativecommons.org/publicdomain/zero/1.0/) to [CC BY-NC-SA](https://creativecommons.org/licenses/by-nc-sa/4.0/).
For license and citation information by image, see our [license file](https://huggingface.co/datasets/imageomics/treeoflife-10m/blob/main/metadata/licenses.csv).
This dataset (the compilation) has been marked as dedicated to the public domain by applying the [CC0 Public Domain Waiver](https://creativecommons.org/publicdomain/zero/1.0/). However, images may be licensed under different terms (as noted above).
-->
## Citation
[More Information Needed]
**BibTeX:**
**Data**
```
@misc{<ref_code>,
author = {Kazi Sajeed Mehrab and M. Maruf and Arka Daw and Harish Babu Manogaran and Abhilash Neog and Mridul Khurana and Bahadir Altintas and Yasin Bakış and Elizabeth G Campolongo and Matthew J Thompson and Xiaojun Wang and Hilmar Lapp and Wei-Lun Chao and Paula M. Mabee and Henry L. Bart Jr. and Wasila Dahdul and Anuj Karpatne},
title = {Fish-Vista: A Multi-Purpose Dataset for Understanding \& Identification of Traits from Images},
year = {2024},
url = {https://huggingface.co/datasets/imageomics/fish-vista},
doi = {<doi once generated>},
publisher = {Hugging Face}
}
```
<!--
-for an associated paper:
**Paper**
```
@article{<ref_code>,
title = {Fish-Vista: A Multi-Purpose Dataset for Understanding \& Identification of Traits from Images},
author = {Kazi Sajeed Mehrab and M. Maruf and Arka Daw and Harish Babu Manogaran and Abhilash Neog and Mridul Khurana and Bahadir Altintas and Yasin Bakış and Elizabeth G Campolongo and Matthew J Thompson and Xiaojun Wang and Hilmar Lapp and Wei-Lun Chao and Paula M. Mabee and Henry L. Bart Jr. and Wasila Dahdul and Anuj Karpatne},
journal = {<journal_name>},
year = <year>,
url = {<DOI_URL>},
doi = {<DOI>}
}
```
-->
Please be sure to also cite the original data sources using the citations provided in [metadata/data-bib.bib](https://huggingface.co/datasets/imageomics/fish-vista/blob/main/metadata/data-bib.bib).
## Acknowledgements
This work was supported by the [Imageomics Institute](https://imageomics.org), which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: 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.
<!-- You may also want to credit the source of your data, i.e., if you went to a museum or nature preserve to collect it. -->
## Glossary
<!-- [optional] If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
## More Information
<!-- [optional] Any other relevant information that doesn't fit elsewhere. -->
## Dataset Card Authors
Kazi Sajeed Mehrab and Elizabeth G. Campolongo
## Dataset Card Contact
[More Information Needed--optional]
<!-- Could include who to contact with questions, but this is also what the "Discussions" tab is for. -->