Cargando…
Image Classification in JPEG Compression Domain for Malaria Infection Detection
Digital images are usually stored in compressed format. However, image classification typically takes decompressed images as inputs rather than compressed images. Therefore, performing image classification directly in the compression domain will eliminate the need for decompression, thus increasing...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9145442/ https://www.ncbi.nlm.nih.gov/pubmed/35621893 http://dx.doi.org/10.3390/jimaging8050129 |
_version_ | 1784716317054468096 |
---|---|
author | Dong, Yuhang Pan, W. David |
author_facet | Dong, Yuhang Pan, W. David |
author_sort | Dong, Yuhang |
collection | PubMed |
description | Digital images are usually stored in compressed format. However, image classification typically takes decompressed images as inputs rather than compressed images. Therefore, performing image classification directly in the compression domain will eliminate the need for decompression, thus increasing efficiency and decreasing costs. However, there has been very sparse work on image classification in the compression domain. In this paper, we studied the feasibility of classifying images in their JPEG compression domain. We analyzed the underlying mechanisms of JPEG as an example and conducted classification on data from different stages during the compression. The images we used were malaria-infected red blood cells and normal cells. The training data include multiple combinations of DCT coefficients, DC values in both decimal and binary forms, the “scan” segment in both binary and decimal form, and the variable length of the entire bitstream. The result shows that LSTM can successfully classify the image in its compressed form, with accuracies around 80%. If using only coded DC values, we can achieve accuracies higher than 90%. This indicates that images from different classes can still be well separated in their JPEG compressed format. Our simulations demonstrate that the proposed compression domain-processing method can reduce the input data, and eliminate the image decompression step, thereby achieving significant savings on memory and computation time. |
format | Online Article Text |
id | pubmed-9145442 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-91454422022-05-29 Image Classification in JPEG Compression Domain for Malaria Infection Detection Dong, Yuhang Pan, W. David J Imaging Article Digital images are usually stored in compressed format. However, image classification typically takes decompressed images as inputs rather than compressed images. Therefore, performing image classification directly in the compression domain will eliminate the need for decompression, thus increasing efficiency and decreasing costs. However, there has been very sparse work on image classification in the compression domain. In this paper, we studied the feasibility of classifying images in their JPEG compression domain. We analyzed the underlying mechanisms of JPEG as an example and conducted classification on data from different stages during the compression. The images we used were malaria-infected red blood cells and normal cells. The training data include multiple combinations of DCT coefficients, DC values in both decimal and binary forms, the “scan” segment in both binary and decimal form, and the variable length of the entire bitstream. The result shows that LSTM can successfully classify the image in its compressed form, with accuracies around 80%. If using only coded DC values, we can achieve accuracies higher than 90%. This indicates that images from different classes can still be well separated in their JPEG compressed format. Our simulations demonstrate that the proposed compression domain-processing method can reduce the input data, and eliminate the image decompression step, thereby achieving significant savings on memory and computation time. MDPI 2022-05-03 /pmc/articles/PMC9145442/ /pubmed/35621893 http://dx.doi.org/10.3390/jimaging8050129 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Dong, Yuhang Pan, W. David Image Classification in JPEG Compression Domain for Malaria Infection Detection |
title | Image Classification in JPEG Compression Domain for Malaria Infection Detection |
title_full | Image Classification in JPEG Compression Domain for Malaria Infection Detection |
title_fullStr | Image Classification in JPEG Compression Domain for Malaria Infection Detection |
title_full_unstemmed | Image Classification in JPEG Compression Domain for Malaria Infection Detection |
title_short | Image Classification in JPEG Compression Domain for Malaria Infection Detection |
title_sort | image classification in jpeg compression domain for malaria infection detection |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9145442/ https://www.ncbi.nlm.nih.gov/pubmed/35621893 http://dx.doi.org/10.3390/jimaging8050129 |
work_keys_str_mv | AT dongyuhang imageclassificationinjpegcompressiondomainformalariainfectiondetection AT panwdavid imageclassificationinjpegcompressiondomainformalariainfectiondetection |