Deep Spectrogram Learning for Gunshot Classification: A Comparative Study of CNN Architectures and Time-Frequency Representations.

IF 2.7 Q3 IMAGING SCIENCE & PHOTOGRAPHIC TECHNOLOGY
Pafan Doungpaisan, Peerapol Khunarsa
{"title":"Deep Spectrogram Learning for Gunshot Classification: A Comparative Study of CNN Architectures and Time-Frequency Representations.","authors":"Pafan Doungpaisan, Peerapol Khunarsa","doi":"10.3390/jimaging11080281","DOIUrl":null,"url":null,"abstract":"<p><p>Gunshot sound classification plays a crucial role in public safety, forensic investigations, and intelligent surveillance systems. This study evaluates the performance of deep learning models in classifying firearm sounds by analyzing twelve time-frequency spectrogram representations, including Mel, Bark, MFCC, CQT, Cochleagram, STFT, FFT, Reassigned, Chroma, Spectral Contrast, and Wavelet. The dataset consists of 2148 gunshot recordings from four firearm types, collected in a semi-controlled outdoor environment under multi-orientation conditions. To leverage advanced computer vision techniques, all spectrograms were converted into RGB images using perceptually informed colormaps. This enabled the application of image processing approaches and fine-tuning of pre-trained Convolutional Neural Networks (CNNs) originally developed for natural image classification. Six CNN architectures-ResNet18, ResNet50, ResNet101, GoogLeNet, Inception-v3, and InceptionResNetV2-were trained on these spectrogram images. Experimental results indicate that CQT, Cochleagram, and Mel spectrograms consistently achieved high classification accuracy, exceeding 94% when paired with deep CNNs such as ResNet101 and InceptionResNetV2. These findings demonstrate that transforming time-frequency features into RGB images not only facilitates the use of image-based processing but also allows deep models to capture rich spectral-temporal patterns, providing a robust framework for accurate firearm sound classification.</p>","PeriodicalId":37035,"journal":{"name":"Journal of Imaging","volume":"11 8","pages":""},"PeriodicalIF":2.7000,"publicationDate":"2025-08-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12387842/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Imaging","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/jimaging11080281","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"IMAGING SCIENCE & PHOTOGRAPHIC TECHNOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

Gunshot sound classification plays a crucial role in public safety, forensic investigations, and intelligent surveillance systems. This study evaluates the performance of deep learning models in classifying firearm sounds by analyzing twelve time-frequency spectrogram representations, including Mel, Bark, MFCC, CQT, Cochleagram, STFT, FFT, Reassigned, Chroma, Spectral Contrast, and Wavelet. The dataset consists of 2148 gunshot recordings from four firearm types, collected in a semi-controlled outdoor environment under multi-orientation conditions. To leverage advanced computer vision techniques, all spectrograms were converted into RGB images using perceptually informed colormaps. This enabled the application of image processing approaches and fine-tuning of pre-trained Convolutional Neural Networks (CNNs) originally developed for natural image classification. Six CNN architectures-ResNet18, ResNet50, ResNet101, GoogLeNet, Inception-v3, and InceptionResNetV2-were trained on these spectrogram images. Experimental results indicate that CQT, Cochleagram, and Mel spectrograms consistently achieved high classification accuracy, exceeding 94% when paired with deep CNNs such as ResNet101 and InceptionResNetV2. These findings demonstrate that transforming time-frequency features into RGB images not only facilitates the use of image-based processing but also allows deep models to capture rich spectral-temporal patterns, providing a robust framework for accurate firearm sound classification.

射击分类的深度谱图学习:CNN架构和时频表示的比较研究。
枪响分类在公共安全、司法调查和智能监控系统中起着至关重要的作用。本研究通过分析包括Mel、Bark、MFCC、CQT、Cochleagram、STFT、FFT、Reassigned、Chroma、spectrum Contrast和Wavelet在内的12种时频谱表示来评估深度学习模型在枪械声音分类方面的性能。该数据集由四种枪支类型的2148次射击记录组成,这些记录是在半受控的室外环境中在多方位条件下收集的。为了利用先进的计算机视觉技术,所有的光谱图都被转换成RGB图像,使用感知信息的颜色图。这使得图像处理方法的应用和对最初为自然图像分类而开发的预训练卷积神经网络(cnn)的微调成为可能。六个CNN架构- resnet18, ResNet50, ResNet101, GoogLeNet, Inception-v3和inception - resnetv2 -在这些光谱图图像上进行训练。实验结果表明,CQT、Cochleagram和Mel谱图在与深度cnn(如ResNet101和InceptionResNetV2)配对时都能达到较高的分类准确率,超过94%。这些发现表明,将时频特征转换为RGB图像不仅有助于使用基于图像的处理,而且还允许深度模型捕获丰富的光谱-时间模式,为准确的枪支声音分类提供了一个强大的框架。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Imaging
Journal of Imaging Medicine-Radiology, Nuclear Medicine and Imaging
CiteScore
5.90
自引率
6.20%
发文量
303
审稿时长
7 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信