A PyTorch Operations Based Approach for Computing Local Binary Patterns

0Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.

Abstract

Advances in machine learning frameworks like PyTorch provides users with various machine learning algorithms together with general purpose operations. PyTorch framework provides Numpy like functions and makes it practical to use computational resources for accelerating computations. Also users may define their custom layers or operations for feature extraction algorithms based on the tensor operations. In this paper, Local Binary Patterns (LBP) which is one of the important feature extraction approaches in computer vision were realized using tensor operations of PyTorch framework. The algorithm was written both using Python code with standard libraries and tensor operations of PyTorch in Python. According to experimental measurements which were realized for various batches of images, the algorithm based on tensor operations considerably reduced the computation time and provides significant accelerations over Python implementation with standard libraries.

Cite

CITATION STYLE

APA

Akgun, D. (2021). A PyTorch Operations Based Approach for Computing Local Binary Patterns. U.Porto Journal of Engineering, 7(4), 61–69. https://doi.org/10.24840/2183-6493_007.004_0005

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free