Open aaaaaabcder opened 7 months ago
Hi, the shift and add function was not made by me, but simply grabbed from this repo, they may give better answers.
It looks like you can apply shift and add to your frames as long as they have the same normalisation (an extra step may be required if they have different exposures). The flow refers to the geometric transform between the coordinates of the frame, you can see exactly how it is used here. The idea is that a point of coordinates i,j
in the reference frame is located at position (i + flow[i, j, 0], j+flow[i, j, 1])
in the other frame. By convention the reference frame is often the first one of the stack, and the flow is computed with every other frame).
You can estimate the flow by using Fnet or ShiftNet in models.py
Okay, I'll give it another try. Thank you for your assistance.
Hi, I'm very interested in your project. I'm currently trying to use the shift and add function. Since I haven't seen any usage instructions, I'd like to ask: