-
Notifications
You must be signed in to change notification settings - Fork 26
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
Strange edge effects with segmentation and super-resolution models #122
Comments
Blue pen is my own annotation, of course. |
Hi, If there is no more data in your orthophoto, it may be just the actual model output, as the model output is often not stable at the edges. Otherwise please provide detailed instructions on how to reproduce it. By the way, there indeed is an issue with "off by one pixel" #123, but in your screenshot, it looks like dozens of pixels. Cheers |
I was using "Entire layer" option. There seems to be one pixel missing from the full output but only on the right edge... The edge effect is there still. The same happens when I use "Visible part" option It might be partly because my spatial resolution (25 cm/px) is slightly off the model default resolution (21 cm/px). So I tried resampling: It did not help at all. I can share the resampled raster for tests. https://drive.google.com/file/d/1t4HNe2D8-Qvla7rRvqqMQmRcUte6oJrX/view?usp=sharing |
Thanks for the detailed description. We will be looking into the issue once we have some time. |
As seen in the pictures above, the plugin produces weird edge artifacts on the top and right borders of the image. There is most likely one pixel missing from the output mask (top and right), but I'm not able to locate the exact place in code. This occurs with the X2 super-resolution model and road segmentation model from the Deepness Model ZOO as well with some of my own models.
The edge effects reduce the usability of the results a lot as those on the edges can not be trusted.
The text was updated successfully, but these errors were encountered: