sniklaus / 3d-ken-burns

an implementation of 3D Ken Burns Effect from a Single Image using PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Depth adjustment

dfrumkin opened this issue · comments

Hello Simon!
Do you plan on adding depth adjustment to the depth estimation script? I am interested.

"Please note that this script does not perform the depth adjustment, I will add it to the script at a later time should people end up being interested in it."

Is it just a one-liner?

tensorDisparity = disparity_adjustment(tensorImage, tensorDisparity)

Yes, you can just add that line as follows.

tensorDisparity = disparity_estimation(...)
tensorDisparity = disparity_adjustment(tensorImage, tensorDisparity)
tensorDisparity = disparity_refinement(...)

Let me know in case you have any issues with this, thanks!