Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Multi-threading support #19

Open
3 of 4 tasks
mlange-42 opened this issue Apr 6, 2020 · 0 comments
Open
3 of 4 tasks

[Feature] Multi-threading support #19

mlange-42 opened this issue Apr 6, 2020 · 0 comments
Labels
enhancement New feature or request in progress Someone is currently working on this issue

Comments

@mlange-42
Copy link
Owner

mlange-42 commented Apr 6, 2020

Multi-threading can be applied for time-slicing as well as actual processing.

  • Time-slicing

For time-slicing, it is only possible to process image rows in parallel, while processing images in parallel is not (easily) possible, since rows are successively appended to temporary files.

The speed gain may be limited, particularly for low resolution images. Further, parallel writing to streams may be a bottle neck?

  • Video frames

Calculating frames of a video is simple.

However, is increases memory usage.

  • Camera shake analysis

Parallelize over frames. Increases memory usage.

  • Processing

Processing itself could by parallel over image rows. However, this would require loading multiple temporary files into memory at the same time, which could be a problem for series of a really high number (really really high!) images.

Alternatively, processing of pixels in the same row could be done in parallel. The gain would be highest for large images, and particularly for large amounts of images in a series.

@mlange-42 mlange-42 added the enhancement New feature or request label Apr 6, 2020
@mlange-42 mlange-42 added this to the multi-threading milestone Apr 6, 2020
@mlange-42 mlange-42 self-assigned this Apr 6, 2020
@mlange-42 mlange-42 added the in progress Someone is currently working on this issue label Apr 14, 2020
@mlange-42 mlange-42 removed their assignment Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress Someone is currently working on this issue
Projects
None yet
Development

No branches or pull requests

1 participant