Ei kuvausta

Filter.cpp 955B

1234567891011121314151617181920
  1. // RAAN - 2014-07-19 : Ghost function and minor changes to parameters
  2. /// \file
  3. ///
  4. #include "MergePanel.h"
  5. /// \fn void MainWindow::MergeImages(const QImage &objectImage, const QImage &backgroundImage, QImage & mergedImage, int threshold, bool ghost, int x, int y, int offset_x, int offset_y)
  6. /// \~English
  7. /// \brief Funcion that merges two images together. It takes an image with any background color
  8. /// and puts it in another image that will act as a background. (Implements Greenscreen techonology)
  9. /// \~Spanish
  10. /// \brief Funcion que fusiona dos imagenes juntas. Toma una image con cualquier color de trasfondo
  11. /// y lo pone en otra imagen que actual como el trasfondo. (Implementa la tecnologia de trasfondo verde)
  12. void MainWindow::MergeImages(const QImage &objectImage, const QImage &backgroundImage, QImage & mergedImage, int threshold, bool ghost, int x, int y,
  13. int offset_x, int offset_y){
  14. // YOUR CODE HERE
  15. }