Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Lab 2. Background Subtraction #2

Closed
6 tasks
rgolovanov opened this issue Oct 1, 2017 · 0 comments
Closed
6 tasks

Lab 2. Background Subtraction #2

rgolovanov opened this issue Oct 1, 2017 · 0 comments
Labels

Comments

@rgolovanov
Copy link
Contributor

Preparing

Follow recommendations from previous task.

Task

It is required to implement One Gaussian algorithm for background subtraction.

  1. Create your private repository accepting this link.
  2. Implement BGSubtraction1G class inherited from cv::BackgroundSubtraction.
    1. Implement virtual methods apply and getBackgroundImage.
    2. Algorithm's parameters are listed in the code.
    3. All parameters shall have get and set methods.
    4. Pay attention to performance and memory consumption.
  3. Application shall show 2 windows, as in starter code: main window (segmented mask or original image) and background model window (calculated background).
  4. Both windows shall show following small debugging text at the left top corner and in red color:
    Author: First Name Second Name - your name
    Parameters: \t param1, \t param2, etc. - all algorithm's parameters in one line splitted by tab shift and comma
    Mouse: (x, y) - mouse cursor position (in main or bg windows)
    BG: 00 % - the percent of square segmented as background
    FPS: 00.000 - smoothed FPS
  5. Main window shall have trackbars for each algorithm's parameter.
  6. Main window shall handle mouse clicking. When mouse is over any window and any mouse button is clicked then main window's image shall be switched from original to segmented or vice versa.
  7. Fill readme file with description and usage. Please insert images for clarity.

Check-list

  • Code is compiling in debug and release configuration without any errors and warnings in your code.
  • All files passes cpplint check.
  • All methods, classes, structures have comments.
  • Debugging text is satisfy requirements.
  • Windows and theirs elements (trackbars) are satisfy requirements.
  • Windows handles user interaction correctly (mouse and keyboard actions).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant