Open Source Computer Vision Library
-
Updated
May 17, 2021 - C++
Digital image processing is the use of algorithms to make computers analyze the content of digital images.
when using structural_similarity when the images are small (<7 in any dimension) a ValueError gets thrown, but with the wrong text:
ValueError: win_size exceeds image extent. If the input is a multichannel (color) image, set multichannel=True.
Instead of misleading the user into thinking there's something wrong with the way they read in, or converted, their i
Adding a boolean input argument keepdim to the tensor_to_image() function to avoid squeezing tensors with batch size 1.
While the image_to_tensor() function has a keepdim argument that avoids turning (H, W, C ) images into (1, C, H, W) tensors, there is nothing similar in tensor_to_image() to avoid turning tensors (1, C, H, W) into arrays (H, W, C). Curren
I'm using this project to train my segmentation model. I find that the mask has a right-down offset to the image. Because the opencv resize_nearest is wrong. Please refer the opencv project issue:
https://github.com/opencv/opencv/issues/9096
https://github.com/opencv/opencv/issues/10146
The code of opencv is:
` for( x = 0; x < dsize.width; x++ )
{
int sx = cv