Option to process a pre-recorded set of images without losing the first images to background building

Open
#444 0 comments 0 reactions 1 assignee View on GitHub

@animmosmith is already working on this.

Since Oct 7, 2026.

Assessment

This issue has not been assessed yet.

Description

minor new feature

CorrectBackgroundAccurate builds its background from the preceding average_window images, which suits a live stream. For a finished folder of images, the first average_window images are used only to build the background and produce no statistics, so those images never contribute particles. For example, with average_window = 10 on the 35-image holo example, 25 images are analysed; the SilCam example (average_window = 5) analyses 5 of 10.

Suggested: a mode for finished datasets where each image's background comes from the average_window images nearest to it - the following images at the start of the file list, the preceding ones at the end, and a window on either side in the middle. Every image would then be analysed. The current behaviour would stay for live streams.

Dominant language
Jupyter Notebook
Stars
19
Forks
7
Avg merge
10d 11h
Merged PRs (30d)
1

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SINTEF/pyopia

All issues in SINTEF/pyopia

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.