yh0701 commited on
Commit
ba561f7
1 Parent(s): f36ced5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -17
README.md CHANGED
@@ -57,25 +57,37 @@ In the "image" folder, it contains 2 subfolders: "Fractured" and "Non-fractured"
57
  In the "Annotations" folder, it contains 4 subfolders: "COCO JSON", "PASCAL VOC", "VGG JSON", and "YOLO". Annotations are stored in their corresponding folders. More details can be read in ### Annotations section.
58
  In the "utilities" folder, it contains several programming scripts that could be used to convert the raw files to a more readable format. None of them were used in this dataset loader.
59
  The "dataset.csv" contains many basic variables for each image: <br />
60
- - **image_id** [string]: The unique identifier for each radiograph image in the dataset. <br />
61
- - hand [int]: A binary indicators (1 or 0) marking the presence of hand in the radiograph <br />
62
- - leg [int] : A binary indicators (1 or 0) marking the presence of leg in the radiograph <br />
63
- - hip [int] : A binary indicators (1 or 0) marking the presence of hip in the radiograph <br />
64
- - shoulder [int]: A binary indicator (1 or 0) marking the shoulder in the radiograph <br />
65
- - mixed [int]: A binary indicator of whether the image contains multiple body parts <br />
66
- - hardware [int]: A binary indicator marking the presence of medical hardware (i.e. screws or plates) in the image <br />
67
- - multiscan [int]: A binary indicator signifies whether the image is part of a set of multiple scans <br />
68
- - fractured [int]: A binary indicator of whether there is a fracture present in the image <br />
69
- - fracture_count [int]: The number of fractures present in the image <br />
70
- - frontal [int]: A binary indicator denoting the front orientation of the radiograph <br />
71
- - lateral[int]: A binary indicator denoting the side orientation of the radiograph <br />
72
- - oblique [int]: A binary indicator denoting denoting the angled orientation of the radiograph <br />
73
 
74
  ### Updated Dataset Schema
75
- In this dataset loader, certain existed variables are modified into specific Huggingface feature, such
76
- Above are the data that could be directly extracted from the downloaded files. Other than the above-mentioned features, this huggingface dataset also extract infomation from annotations files to present a more systematic and clean FracAtlas dataset.
77
- Other variables are extracted from the annotations files:
78
- - Image [image]: A PIL image object denoting each X-ray image \
 
 
 
 
 
 
 
 
 
 
 
 
79
  - Image_path [string]: A string representing the file path for its corresponding image \
80
  - segmentation [list]: A list object contains the segmentation info for each fractured image \
81
  - bbox [list]: A list object contains the bounding box info for each fractured image \
 
57
  In the "Annotations" folder, it contains 4 subfolders: "COCO JSON", "PASCAL VOC", "VGG JSON", and "YOLO". Annotations are stored in their corresponding folders. More details can be read in ### Annotations section.
58
  In the "utilities" folder, it contains several programming scripts that could be used to convert the raw files to a more readable format. None of them were used in this dataset loader.
59
  The "dataset.csv" contains many basic variables for each image: <br />
60
+ - **image_id [string]:** The unique identifier for each radiograph image in the dataset. <br />
61
+ - **hand[int]:** A binary indicators (1 or 0) marking the presence of hand in the radiograph <br />
62
+ - **leg [int]:** A binary indicators (1 or 0) marking the presence of leg in the radiograph <br />
63
+ - **hip [int]:** A binary indicators (1 or 0) marking the presence of hip in the radiograph <br />
64
+ - **shoulder [int]:** A binary indicator (1 or 0) marking the shoulder in the radiograph <br />
65
+ - **mixed [int]:** A binary indicator of whether the image contains multiple body parts <br />
66
+ - **hardware [int]:** A binary indicator marking the presence of medical hardware (i.e. screws or plates) in the image <br />
67
+ - **multiscan [int]:** A binary indicator signifies whether the image is part of a set of multiple scans <br />
68
+ - **fractured [int]:** A binary indicator of whether there is a fracture present in the image <br />
69
+ - **fracture_count [int]:** The number of fractures present in the image <br />
70
+ - **frontal [int]:** A binary indicator denoting the front orientation of the radiograph <br />
71
+ - **lateral[int]:** A binary indicator denoting the side orientation of the radiograph <br />
72
+ - **oblique [int]:** A binary indicator denoting denoting the angled orientation of the radiograph <br />
73
 
74
  ### Updated Dataset Schema
75
+ In this dataset loader, certain existed variables are extracted from the orginal "dataset.csv" and then modified into specific Huggingface feature class for clarity, for instance <em>ClassLabel<em>.
76
+ Other important variables are extracted from other downloaded files in the "FracAtlas" zip file to present a more systematic and clean FracAtlas dataset.
77
+ The full schema of the HuggingFace dataset loader is below:
78
+
79
+ - **image_id [string]:** The unique identifier for each radiograph image in the dataset. <br />
80
+ - **Image [image]:** A PIL image object denoting each X-ray image. This can be used to load the image file directly. <br />
81
+ - **hand[ClassLabel]:** A binary indicators (1 or 0) marking the presence of hand in the radiograph <br />
82
+ - **leg [ClassLabel]:** A binary indicators (1 or 0) marking the presence of leg in the radiograph <br />
83
+ - **hip [int]:** A binary indicators (1 or 0) marking the presence of hip in the radiograph <br />
84
+ - **shoulder [int]:** A binary indicator (1 or 0) marking the shoulder in the radiograph <br />
85
+ - **mixed [int]:** A binary indicator of whether the image contains multiple body parts <br />
86
+ - **hardware [int]:** A binary indicator marking the presence of medical hardware (i.e. screws or plates) in the image <br />
87
+ - **multiscan [int]:** A binary indicator signifies whether the image is part of a set of multiple scans <br />
88
+ - **fractured [int]:** A binary indicator of whether there is a fracture present in the image <br />
89
+ - **fracture_count [int]:** The number of fractures present in the image <br />
90
+
91
  - Image_path [string]: A string representing the file path for its corresponding image \
92
  - segmentation [list]: A list object contains the segmentation info for each fractured image \
93
  - bbox [list]: A list object contains the bounding box info for each fractured image \