You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use the algorithms from bayer2rgb in my project. I have Nearest Neighbour working perfectly, however, HQLinear and Bilinear attach thin black borders to the delayed image. Is there a way to remove the black borders?
Many thanks
The text was updated successfully, but these errors were encountered:
For the bi-linear and HQ linear the filter needs pixels that are past the edge of the image on the borders.
For bi linear this can be solved by changing the weights by the number of available pixels, e.g. for the filters that need 4 pixels you add the four pixels and divide by 4, but if an edge then add the 3 pixels and divide by 3, same for 2 pixels.
For HQ linear it seems harder but in that case I think you could revert to the same technique as bi-linear.
I would like to use the algorithms from bayer2rgb in my project. I have Nearest Neighbour working perfectly, however, HQLinear and Bilinear attach thin black borders to the delayed image. Is there a way to remove the black borders?
Many thanks
The text was updated successfully, but these errors were encountered: