Git Product home page Git Product logo

image-align-and-average's People

Contributors

michal2229 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

davisan lshpku

image-align-and-average's Issues

Decide on a way to do it

Problem 1:
when video is shaking, there is different part of scene visible, so when stabilized, there will be missing part of scene on one side and on onther side of a frame there will be image cut.

operands could not be broadcast together with shapes

Python 3.7.5 Windows 64, pure black darkframe provided:

get_darkframe(): loaded darkframe.
Traceback (most recent call last):
File "py_image_merger.py", line 358, in
main()
File "py_image_merger.py", line 274, in main
input_image_no_border = input_image_ - darkframe_image_no_border
ValueError: operands could not be broadcast together with shapes (2050,2500) (2050,2500,3)

Create a mask with counter

Create a mask with counter which would indicate how many images were added to make particular pixel.
It would solve the problem of darker areas, where less images were averaged.

Error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

I am getting this error:

Traceback (most recent call last):
  File "C:\...\ImageAverage.py", line 358, in <module>
    main()
  File "C:\...\ImageAverage.py", line 277, in main
    input_image_no_border = cv2.resize(input_image_no_border, (0, 0), fx=RESIZE, fy=RESIZE, interpolation=cv2.INTER_LINEAR)
cv2.error: OpenCV(4.5.2) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-m8us58q4\opencv\modules\imgproc\src\resize.cpp:4051: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

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.