A Novel Hardware-Software Co-Design and Implementation of the HOG Algorithm.

FPGA resource usage accuracy loss bin assignment frame rate hardware–software co-design histogram of oriented gradients

Journal

Sensors (Basel, Switzerland)
ISSN: 1424-8220
Titre abrégé: Sensors (Basel)
Pays: Switzerland
ID NLM: 101204366

Informations de publication

Date de publication:
02 Oct 2020
Historique:
received: 31 08 2020
revised: 29 09 2020
accepted: 30 09 2020
entrez: 7 10 2020
pubmed: 8 10 2020
medline: 8 10 2020
Statut: epublish

Résumé

The histogram of oriented gradients is a commonly used feature extraction algorithm in many applications. Hardware acceleration can boost the speed of this algorithm due to its large number of computations. We propose a hardware-software co-design of the histogram of oriented gradients and the subsequent support vector machine classifier, which can be used to process data from digital image sensors. Our main focus is to minimize the resource usage of the algorithm while maintaining its accuracy and speed. This design and implementation make four contributions. First, we allocate the computationally expensive steps of the algorithm, including gradient calculation, magnitude computation, bin assignment, normalization and classification, to hardware, and the less complex windowing step to software. Second, we introduce a logarithm-based bin assignment. Third, we use parallel computation and a time-sharing protocol to create a histogram in order to achieve the processing of one pixel per clock cycle after the initialization (setup time) of the pipeline, and produce valid results at each clock cycle afterwards. Finally, we use a simplified block normalization logic to reduce hardware resource usage while maintaining accuracy. Our design attains a frame rate of 115 frames per second on a Xilinx

Identifiants

pubmed: 33023233
pii: s20195655
doi: 10.3390/s20195655
pmc: PMC7584040
pii:
doi:

Types de publication

Journal Article

Langues

eng

Sous-ensembles de citation

IM

Subventions

Organisme : Natural Sciences and Engineering Research Council of Canada
ID : 36401
Organisme : Natural Sciences and Engineering Research Council of Canada
ID : 04787
Organisme : University of Victoria
ID : Doctoral Fellowships

Références

Sensors (Basel). 2018 Apr 12;18(4):
pubmed: 29649146
Sensors (Basel). 2019 Jan 16;19(2):
pubmed: 30654569
Sensors (Basel). 2019 Aug 26;19(17):
pubmed: 31455020

Auteurs

Sina Ghaffari (S)

Department of Electrical and Computer Engineering, University of Victoria, Victoria, BC V8W 2Y2, Canada.

Parastoo Soleimani (P)

Department of Electrical and Computer Engineering, University of Victoria, Victoria, BC V8W 2Y2, Canada.

Kin Fun Li (KF)

Department of Electrical and Computer Engineering, University of Victoria, Victoria, BC V8W 2Y2, Canada.

David W Capson (DW)

Department of Electrical and Computer Engineering, University of Victoria, Victoria, BC V8W 2Y2, Canada.

Classifications MeSH