GithubHelp home page GithubHelp logo

ubgs_adnnet's Introduction

This is the implementation of paper "Universal Background Subtraction based on Arithmetic Distribution Neural Network"

Abstract

We propose a universal background subtraction framework based on the Arithmetic Distribution Neural Network (ADNN) for learning the distributions of temporal pixels. In our ADNN model, the arithmetic distribution operations are utilized to introduce the arithmetic distribution layers, including the product distribution layer and the sum distribution layer. Furthermore, in order to improve the accuracy of the proposed approach, an improved Bayesian refinement model based on neighboring information, with a GPU implementation, is incorporated. In the forward pass and backpropagation of the proposed arithmetic distribution layers, histograms are considered as probability density functions rather than matrices. Thus, the proposed approach is able to utilize the probability information of the histogram and achieve promising results with a very simple architecture compared to traditional convolutional neural networks. Evaluations using standard benchmarks demonstrate the superiority of the proposed approach compared to state-of-the-art traditional and deep learning methods. To the best of our knowledge, this is the first method to propose network layers based on arithmetic distribution operations for learning distributions during background subtraction.

Running environment

Anaconda + Pytorch: conda 4.12.0, python 3.7.13, CUDA 10.1, torch 1.7.1

How to run the code

We provided a shell script run_demo.sh to run our code. It is a demo of using ADNNet (Arithmetic Distribution Neural Network) for background subtraction. Then, run_universal.sh provided a pre-trained model which is trained with less than 1% of ground truth frames from the CDNet2014 dataset but tested for all videos from CDNet2014, LASIESTA, and SBMI2015 datasets. For more details, please check our paper. Moreover, run_ADNNvsCNN.sh proposed a comparison between the ADNNet and CNNet (convolutional neural network) in background subtraction, for more comparison results, please check our paper. In addition, folder verification provided the verification of the ADNNet.

Citation

If you use this code, please cite our paper:

        @ARTICLE{9749010,
          author={Zhao, Chenqiu and Hu, Kangkang and Basu, Anup},
          journal={IEEE Transactions on Image Processing}, 
          title={Universal Background Subtraction Based on Arithmetic Distribution Neural Network}, 
          year={2022},
          volume={31},
          number={},
          pages={2934-2949},
          doi={10.1109/TIP.2022.3162961}}

ubgs_adnnet's People

Contributors

zhaochenqiu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.