VIAN icon indicating copy to clipboard operation
VIAN copied to clipboard

Autosegmentation offset

Open JonathanSchaber opened this issue 6 years ago • 7 comments

When creating an auto-segmentation (according to color histogram), a lot of the segments seem to be more or less regularly set off a few frames. --> Needs a lot of time to re-adjust all segments for a long film

JonathanSchaber avatar Mar 07 '20 13:03 JonathanSchaber

Yes, it's true, often there is a small error.

flueko avatar Mar 07 '20 14:03 flueko

This is actually expected, because the movie is subsampled to a fixed rate, e.g. one frame per second, the result can be off. We can however improve that method

ghalter avatar Mar 07 '20 16:03 ghalter

We could extend the algorithm as follows: After the clustering: For each cluster border, identify the two frames f, f - rate < f < f-rate identify the two frames with the largest squared mean error, this is most probably the cut between two segments.

ghalter avatar Mar 07 '20 21:03 ghalter

@JonathanSchaber can you check if the current implementation fixes the problems?

ghalter avatar Mar 08 '20 09:03 ghalter

is this pushed to the master branch or do I have to checkout to another?

JonathanSchaber avatar Mar 08 '20 13:03 JonathanSchaber

On the Milestone-0.9.0 branch

ghalter avatar Mar 08 '20 15:03 ghalter

hm, I think the issue is still there Screenshot_20200308_172526

JonathanSchaber avatar Mar 08 '20 16:03 JonathanSchaber