-
Notifications
You must be signed in to change notification settings - Fork 2
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
Box and centroid video has wrong format for inverted colours #9
Comments
This also goes for the motion video exported when using inverted. |
Might have something to do with the [jit. @op absdiff] stuff we added at the very end to the [VA_motion_image] and/or [mgt.toggle.rgb2luma2absdiff] , @balintlaczko . It makes sense that these would affect the motion image, box and centroid processing. |
Looks more like stitching together several images with jit.glue or something like that? But it is only for the inverted video. And it looks nice in the preview. |
O-o, that doesn't look good. I have never seen it before though. Yes, it could be the last minute change, which was not tested so thoroughly, but this seems to be a problem with dims and not colors, and that change was (or at least meant to be) a simple color op. Seems like something unintended happens when we switch to inverted colors. |
So far I could not manage to reproduce this problem on Windows. Things I have tried include:
Outputs were as expected each time. Real-time preview also looked OK. Did discover however the "burn-in" of the centroid snake, so opened #28. @alexarje, can you give some info about what you did when the issue happened? |
@AleksanderTidemann can you try reproducing this? Maybe it is an OSX thing? I couldn't manage to get it... |
First off, @balintlaczko , I´m experiencing that the same Bbox threshold generates very different videos when switching from inverted to normal colors in realtime. Like this: I will do some more testing with export. |
Different but related bug can be seen here with the bbox: So it seems that the scaling (or the "bbox-cropping") depends on the color of the image to a considerable amount. I guess this is kind of related to issue #30 , both dealing with problems with inverted videos. |
My experience is that all of the exported videos correspond to the behavior in the Bbox Display, except for "movie.mp4" in the test_videos folder. This could be related to what I experience in issue #20 , that there are some videos that produce strange behavior in the app. I tested the inverted dance.mp4 with skipping and trimming in:
In all of these, I was able to reproduce this exact same behavior: (The gif shows how the movie is in realtime, versus the exported version of the same video)
So the answer is No, I have not yet been able to reproduce what Alexander experienced but did uncover strange behavior with specific videos (f.instance dance.mp4) and Bbox processing when switching from normal to inverted colors. |
What Alexander experienced is clearly an inappropriate dim problem, the image is squeezed horizontally.
I guess this should be an enhancement for the "more functionality" milestone, I will make an issue for that in a moment. |
Good point! Sounds like an enhancement for the next version, yes. |
I think I finally reproduced the bug, though a bit accidentally while working on another issue. It was something about the greyscale option and changing the matrices' planecount. It was pretty consistent, I could manage to reproduce it several times in a row with the exact same results. (I think I was going from greyscale to non-greyscale and inverted -> render to do it, but not sure...) Also noticed a warning in the help file for |
Cool that you found it. I have my macbook in the office, and can test on Monday. |
Woo, nice catch! That makes sense actually, that there could be issues with going from 1 to more planes in an export scenario. We had similar issues in other places. |
When exporting with inverse colours the box video and centroid videos have the wrong format. Looks like they only take up a small part on the left of the screen:
The text was updated successfully, but these errors were encountered: