Skip to content
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

The images generated by the row_flow_v3 have serious jagged edges. #148

Open
Alex12358 opened this issue Jun 22, 2024 · 3 comments
Open

Comments

@Alex12358
Copy link

The images generated by the row_flow_v3 have serious jagged edges. Here are my depth map and the output image
{2C643857-503E-47ee-B94C-CFCFEF092C4F}
00216278

@Alex12358
Copy link
Author

The images produced by using forward_fill do not exhibit a significant amount of jaggies.
{8441FFA5-F181-4242-A2C9-DA98796114BA}

@nagadomi
Copy link
Owner

nagadomi commented Jun 22, 2024

It is an artifact problem that is difficult to avoid as long as row_flow_v3 (and high 3D Strength setting) is used.

If you are not using Edge Fix(--edge-diliation), I think Edge Fix can reduce that artifact.
If forward_fill is not too slow, you can use it.

My guess is that there are originally little jagged edges at the character and background borders due to anti-aliasing or encoding noise. These pixels do not exactly match the depth, so they are stretched by image warping in row_flow_v3.
A similar problem occurs in photo due to the hair depth mismatch.

@gituser123456789000
Copy link

I've seen similar and worse with high Strength and using 1.0 (or near 1.0) convergence plane

row_flow_v3 is still my go-to option though

Check your convergence plane setting and if it's 1.0 or near 1.0.. lower it a bit and this should help.. if that's the issue. Otherwise, still something to know about if you run into it later... or lowering Strength could be another potential improvement to these edges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants