| Literature DB >> 35049843 |
Chanunya Loraksa1, Sirima Mongkolsomlit2, Nitikarn Nimsuk1, Meenut Uscharapong3, Piya Kiatisevi3.
Abstract
Osteosarcoma is a rare bone cancer which is more common in children than in adults and has a high chance of metastasizing to the patient's lungs. Due to initiated cases, it is difficult to diagnose and hard to detect the nodule in a lung at the early state. Convolutional Neural Networks (CNNs) are effectively applied for early state detection by considering CT-scanned images. Transferring patients from small hospitals to the cancer specialized hospital, Lerdsin Hospital, poses difficulties in information sharing because of the privacy and safety regulations. CD-ROM media was allowed for transferring patients' data to Lerdsin Hospital. Digital Imaging and Communications in Medicine (DICOM) files cannot be stored on a CD-ROM. DICOM must be converted into other common image formats, such as BMP, JPG and PNG formats. Quality of images can affect the accuracy of the CNN models. In this research, the effect of different image formats is studied and experimented. Three popular medical CNN models, VGG-16, ResNet-50 and MobileNet-V2, are considered and used for osteosarcoma detection. The positive and negative class images are corrected from Lerdsin Hospital, and 80% of all images are used as a training dataset, while the rest are used to validate the trained models. Limited training images are simulated by reducing images in the training dataset. Each model is trained and validated by three different image formats, resulting in 54 testing cases. F1-Score and accuracy are calculated and compared for the models' performance. VGG-16 is the most robust of all the formats. PNG format is the most preferred image format, followed by BMP and JPG formats, respectively.Entities:
Keywords: Convolutional Neural Networks; bone cancer; common image file; computer-aided diagnosis; osteosarcoma
Year: 2021 PMID: 35049843 PMCID: PMC8779891 DOI: 10.3390/jimaging8010002
Source DB: PubMed Journal: J Imaging ISSN: 2313-433X
Figure 1Structure of transfer learning.
Figure 2VGG-16 Architecture of this research.
Figure 3ResNet-50 Architecture of this research.
Figure 4MobileNet-V2 building block architecture of this research.
Osteosarcoma nodules that have metastasized from bone to lung datasets for training.
| Codes | Details | Positive (No. of Image) | Negative (No. of Image) | Total (No. of Image) | |
|---|---|---|---|---|---|
| Small Dataset | B1_VGG16JPG | VGG16 trained on JPG | 177 | 177 | 354 |
| B2_VGG16PNG | VGG16 trained on PNG | 177 | 177 | 354 | |
| B3_VGG16BMP | VGG16 trained on BMP | 177 | 177 | 354 | |
| B4_ResNetJPG | ResNet50 trained on JPG | 177 | 177 | 354 | |
| B5_ResNetPNG | ResNet50 trained on PNG | 177 | 177 | 354 | |
| B6_ResNetBMP | ResNet50 trained on BMP | 177 | 177 | 354 | |
| B7_MobileNetJPG | MobileNetV2 trained on JPG | 177 | 177 | 354 | |
| B8_MobileNetPNG | MobileNetV2 trained on PNG | 177 | 177 | 354 | |
| B9_MobileNetBMP | MobileNetV2 trained on BMP | 177 | 177 | 354 | |
| Large Dataset | B10_VGG16JPG | VGG16 trained on JPG | 1769 | 1769 | 3565 |
| B11_VGG16PNG | VGG16 trained on PNG | 1769 | 1769 | 3565 | |
| B12_VGG16BMP | VGG16 trained on BMP | 1769 | 1769 | 3565 | |
| B13_ResNetJPG | ResNet50 trained on JPG | 1769 | 1769 | 3565 | |
| B14_ResNetPNG | ResNet50 trained on PNG | 1769 | 1769 | 3565 | |
| B15_ResNetBMP | ResNet50 trained on BMP | 1769 | 1769 | 3565 | |
| B16_MobileNetJPG | MobileNetV2 trained on JPG | 1769 | 1769 | 3565 | |
| B17_MobileNetPNG | MobileNetV2 trained on PNG | 1769 | 1769 | 3565 | |
| B18_MobileNetBMP | MobileNetV2 trained on BMP | 1769 | 1769 | 3565 | |
| Total | 17,514 | 17,514 | 35,055 |
Reference standard.
| Disease Present | Disease Absent | Total | |
|---|---|---|---|
| Index Test Positive | True Positive (TP) | False Positive (FP) | TP + FP |
| Index Test Negative | False Negative (FN) | True Negative (TN) | FN + TN |
| Total | TP + FN | FP + TN |
Figure 5The loss of trained VGG-16 models.
Figure 6Loss graph of L-VGG-JPG, L-VGG-PNG and L-VGG-BMP phase I-IV (a–d), respectively.
Slopes of trendlines in four training phases.
| Period | Trendline Slopes | ||
|---|---|---|---|
| JPG | PNG | BMP | |
| 300–400 |
|
|
|
| 1000–1100 |
|
|
|
| 1500–1600 |
|
|
|
| 1900–2000 |
|
|
|
Figure 7Training graph between 300 to 400 epochs of 18 CNN models trained by the small (left) and large (right) dataset.
Experimental results of small dataset trained 400 epochs models when evaluated by common file formats.
| Format | Format | TP | TN | FP | FN | Accuracy | Precision | Recall | F1 Score | |
|---|---|---|---|---|---|---|---|---|---|---|
| Trained | Tested | |||||||||
| VGG-16 | BMP | BMP | 162 | 355 | 88 | 281 | 0.583 | 0.648 | 0.366 | 0.467 |
| JPG | 161 | 357 | 86 | 282 | 0.584 | 0.652 | 0.363 | 0.467 | ||
| PNG | 162 | 355 | 88 | 281 | 0.583 | 0.648 | 0.366 | 0.467 | ||
| JPG | BMP | 179 | 349 | 94 | 264 | 0.596 | 0.656 | 0.404 | 0.500 | |
| JPG | 174 | 348 | 95 | 269 | 0.589 | 0.647 | 0.393 | 0.489 | ||
| PNG | 179 | 349 | 94 | 264 | 0.596 | 0.656 | 0.404 | 0.500 | ||
| PNG | BMP | 161 | 352 | 91 | 282 | 0.579 | 0.639 | 0.363 | 0.463 | |
| JPG | 154 | 354 | 89 | 289 | 0.573 | 0.634 | 0.348 | 0.449 | ||
| PNG | 161 | 352 | 91 | 282 | 0.579 | 0.639 | 0.363 | 0.463 | ||
| ResNet-50 | BMP | BMP | 99 | 394 | 49 | 344 | 0.556 | 0.669 | 0.223 | 0.335 |
| JPG | 100 | 398 | 45 | 343 | 0.562 | 0.690 | 0.225 | 0.340 | ||
| PNG | 99 | 394 | 49 | 344 | 0.556 | 0.669 | 0.223 | 0.335 | ||
| JPG | BMP | 83 | 408 | 35 | 360 | 0.554 | 0.703 | 0.187 | 0.296 | |
| JPG | 81 | 409 | 34 | 362 | 0.553 | 0.704 | 0.183 | 0.290 | ||
| PNG | 83 | 408 | 35 | 360 | 0.554 | 0.703 | 0.187 | 0.296 | ||
| PNG | BMP | 87 | 385 | 58 | 356 | 0.533 | 0.600 | 0.196 | 0.296 | |
| JPG | 83 | 388 | 55 | 360 | 0.532 | 0.601 | 0.187 | 0.286 | ||
| PNG | 87 | 385 | 58 | 356 | 0.533 | 0.600 | 0.196 | 0.296 | ||
| MobileNet-V2 | BMP | BMP | 86 | 418 | 25 | 357 | 0.569 | 0.775 | 0.194 | 0.310 |
| JPG | 83 | 419 | 24 | 360 | 0.566 | 0.776 | 0.187 | 0.301 | ||
| PNG | 86 | 418 | 25 | 357 | 0.569 | 0.775 | 0.194 | 0.310 | ||
| JPG | BMP | 93 | 428 | 15 | 350 | 0.588 | 0.861 | 0.210 | 0.337 | |
| JPG | 84 | 425 | 18 | 359 | 0.574 | 0.823 | 0.190 | 0.308 | ||
| PNG | 93 | 428 | 15 | 350 | 0.588 | 0.861 | 0.210 | 0.337 | ||
| PNG | BMP | 88 | 423 | 20 | 355 | 0.577 | 0.815 | 0.199 | 0.319 | |
| JPG | 95 | 424 | 19 | 348 | 0.586 | 0.833 | 0.214 | 0.341 | ||
| PNG | 88 | 423 | 20 | 355 | 0.577 | 0.815 | 0.199 | 0.319 |
Experimental results of large dataset trained 400 epochs models when evaluated by common file formats.
| Format | Format | TP | TN | FP | FN | Accuracy | Precision | Recall | F1 Score | |
|---|---|---|---|---|---|---|---|---|---|---|
| Trained | Tested | |||||||||
| VGG-16 | BMP | BMP | 117 | 270 | 173 | 326 | 0.437 | 0.403 | 0.264 | 0.319 |
| JPG | 118 | 269 | 174 | 325 | 0.437 | 0.404 | 0.266 | 0.321 | ||
| PNG | 117 | 270 | 173 | 326 | 0.437 | 0.403 | 0.264 | 0.319 | ||
| JPG | BMP | 116 | 275 | 168 | 327 | 0.441 | 0.408 | 0.262 | 0.319 | |
| JPG | 116 | 274 | 169 | 327 | 0.440 | 0.407 | 0.262 | 0.319 | ||
| PNG | 116 | 275 | 168 | 327 | 0.441 | 0.408 | 0.262 | 0.319 | ||
| PNG | BMP | 115 | 272 | 171 | 328 | 0.437 | 0.402 | 0.259 | 0.315 | |
| JPG | 115 | 273 | 170 | 328 | 0.438 | 0.403 | 0.259 | 0.315 | ||
| PNG | 115 | 272 | 171 | 328 | 0.437 | 0.402 | 0.259 | 0.315 | ||
| ResNet-50 | BMP | BMP | 160 | 190 | 253 | 283 | 0.395 | 0.387 | 0.361 | 0.374 |
| JPG | 154 | 193 | 250 | 289 | 0.392 | 0.381 | 0.348 | 0.364 | ||
| PNG | 160 | 190 | 253 | 283 | 0.395 | 0.387 | 0.361 | 0.374 | ||
| JPG | BMP | 171 | 184 | 259 | 272 | 0.401 | 0.398 | 0.386 | 0.392 | |
| JPG | 161 | 193 | 250 | 282 | 0.399 | 0.392 | 0.363 | 0.377 | ||
| PNG | 171 | 184 | 259 | 272 | 0.401 | 0.398 | 0.386 | 0.392 | ||
| PNG | BMP | 140 | 250 | 193 | 303 | 0.440 | 0.420 | 0.316 | 0.361 | |
| JPG | 130 | 221 | 222 | 313 | 0.396 | 0.369 | 0.293 | 0.327 | ||
| PNG | 140 | 250 | 193 | 303 | 0.440 | 0.420 | 0.316 | 0.361 | ||
| MobileNet-V2 | BMP | BMP | 176 | 201 | 242 | 267 | 0.425 | 0.421 | 0.397 | 0.409 |
| JPG | 187 | 198 | 245 | 256 | 0.434 | 0.433 | 0.422 | 0.427 | ||
| PNG | 176 | 201 | 242 | 267 | 0.425 | 0.421 | 0.397 | 0.409 | ||
| JPG | BMP | 130 | 223 | 220 | 313 | 0.398 | 0.371 | 0.293 | 0.328 | |
| JPG | 127 | 227 | 216 | 316 | 0.399 | 0.370 | 0.287 | 0.323 | ||
| PNG | 130 | 223 | 220 | 313 | 0.398 | 0.371 | 0.293 | 0.328 | ||
| PNG | BMP | 140 | 250 | 193 | 303 | 0.440 | 0.420 | 0.316 | 0.361 | |
| JPG | 152 | 244 | 199 | 291 | 0.447 | 0.433 | 0.343 | 0.383 | ||
| PNG | 140 | 250 | 193 | 303 | 0.440 | 0.420 | 0.316 | 0.361 |
Experimental results of large dataset trained 2000 epochs models when evaluated by common file formats.
| Format | Format | TP | TN | FP | FN | Accuracy | Precision | Recall | F1 Score | |
|---|---|---|---|---|---|---|---|---|---|---|
| Trained | Tested | |||||||||
| VGG-16 | BMP | BMP | 111 | 292 | 151 | 332 | 0.455 | 0.424 | 0.250 | 0.315 |
| JPG | 113 | 288 | 155 | 330 | 0.453 | 0.422 | 0.255 | 0.318 | ||
| PNG | 111 | 292 | 151 | 332 | 0.455 | 0.424 | 0.250 | 0.315 | ||
| JPG | BMP | 115 | 267 | 176 | 328 | 0.431 | 0.395 | 0.259 | 0.313 | |
| JPG | 114 | 273 | 170 | 329 | 0.437 | 0.401 | 0.257 | 0.314 | ||
| PNG | 115 | 267 | 176 | 328 | 0.431 | 0.395 | 0.259 | 0.313 | ||
| PNG | BMP | 112 | 264 | 179 | 331 | 0.424 | 0.385 | 0.253 | 0.305 | |
| JPG | 117 | 265 | 178 | 326 | 0.431 | 0.397 | 0.264 | 0.317 | ||
| PNG | 112 | 264 | 179 | 331 | 0.424 | 0.385 | 0.253 | 0.305 | ||
| ResNet-50 | BMP | BMP | 69 | 289 | 154 | 374 | 0.404 | 0.309 | 0.156 | 0.207 |
| JPG | 64 | 300 | 143 | 379 | 0.411 | 0.309 | 0.144 | 0.197 | ||
| PNG | 69 | 289 | 154 | 374 | 0.404 | 0.309 | 0.156 | 0.207 | ||
| JPG | BMP | 180 | 184 | 259 | 263 | 0.411 | 0.410 | 0.406 | 0.408 | |
| JPG | 179 | 184 | 259 | 264 | 0.410 | 0.409 | 0.404 | 0.406 | ||
| PNG | 180 | 184 | 259 | 263 | 0.411 | 0.410 | 0.406 | 0.408 | ||
| PNG | BMP | 106 | 245 | 198 | 337 | 0.396 | 0.349 | 0.239 | 0.283 | |
| JPG | 101 | 246 | 197 | 342 | 0.392 | 0.339 | 0.228 | 0.272 | ||
| PNG | 106 | 245 | 198 | 337 | 0.396 | 0.349 | 0.239 | 0.283 | ||
| MobileNet-V2 | BMP | BMP | 140 | 209 | 234 | 303 | 0.394 | 0.374 | 0.316 | 0.343 |
| JPG | 131 | 223 | 220 | 312 | 0.399 | 0.373 | 0.296 | 0.330 | ||
| PNG | 140 | 209 | 234 | 303 | 0.394 | 0.374 | 0.316 | 0.343 | ||
| JPG | BMP | 164 | 225 | 218 | 279 | 0.439 | 0.429 | 0.370 | 0.397 | |
| JPG | 164 | 224 | 219 | 279 | 0.438 | 0.428 | 0.370 | 0.397 | ||
| PNG | 164 | 225 | 218 | 279 | 0.439 | 0.429 | 0.370 | 0.397 | ||
| PNG | BMP | 223 | 201 | 242 | 220 | 0.478 | 0.479 | 0.503 | 0.491 | |
| JPG | 225 | 205 | 238 | 218 | 0.485 | 0.486 | 0.508 | 0.497 | ||
| PNG | 223 | 201 | 242 | 220 | 0.478 | 0.479 | 0.503 | 0.491 |
Figure 8Example of nodule areas compared with image areas.