Extend pipeline tests#132
Closed
raymondwjang wants to merge 21 commits into
Closed
Conversation
Member
Author
|
TODO: add splitting test, refit existing tests improve parameters: Finish test conditions: |
cdb7eab to
d16ebec
Compare
Member
Author
|
Footprint frame ingestion occurs between
|
…ects actual brightness value
d16ebec to
212c819
Compare
212c819 to
a700d1a
Compare
tests: longer splitoff test tests: add splitoff test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔍 Type of Change
🧪 Improvement: Enhancements or optimizations to existing code
📝 Description
Extending test cases to multiple cells, connected and overlapping.
after some parameter tweaking, the algorithm successfully extracted correct footprints and (roughly) correct traces from all tests.
As expected, if the movie begins with all overlapping components active and none of them go silent long enough for other components to fill out the overlapping portions, the algorithm never fully completes the video. This is an expected behavior, as we have chosen a more conservative approach to growing / adding components.
Separate cells get initialized and tracked with little to no error, as expected as well.
More minor test cases, e.g. two overlapping cells, output satisfactory reproduction score as well.
The more stringent, but visible and satisfying test case involves an original movie starting with 5 overlapping components, as following:
the brightness signature of these 5 blobs are set as following:
These signatures begin 20 frames apart from each other, starting from top to bottom.
Results:
5 components detected
footprints
traces
monotonically decreasing: the "wobble" grows as the frame number increases, possibly reflecting the error and instability propagating from adding overlapping cells in other parts of the frame.

absolute sine function

monotincally increasing: You can observe the moment two overlapping cells got initialized (the irregularities in the graph), and the algorithm pushing the momentum back to the original trace.

y = xe^-x

hyperbolic tangent: simulating a steeper, sudden onset of an overlapping component

max residual per frame
the overlapping parts are clearly causing some level of error - we can see residuals rising from 40-60 and 60-80. Have not fully investigated why this is the case yet. My initial guess is that it's having trouble fully reproducing the overlap with the 5 latest components but i cannot readily guess why.
ex:





residuals from 64 to 80, 4 frames apart each
The actual value of the residuals are small.
Final movie reproduction
Frame 99:


A@C:
Y:
🧪 Testing
🛠️ Dependencies
✅ Checklist
📚 Documentation preview 📚: https://cala--132.org.readthedocs.build/en/132/