Skip to main content

All Questions

Tagged with
0 votes
0 answers
34 views

How to identify the similarity(in %) between 2 "Black & White" only images / similarity between shapes ignoring colors?

I've searched all possible related keywords that I can think of, but the results are not really what I'm looking for, as most algorithm I found puts high concern on COLOR. The idea of my application ...
shiva prakash's user avatar
-1 votes
0 answers
37 views

Improve signature quality extracted using OpenCV from scanned sheet paper

I extracted a signature from a scanned sheet of paper. Users know there should be only the signature on a white sheet of paper. I implemented the signature cropping from the uploaded image using the ...
Paolo's user avatar
  • 553
1 vote
0 answers
64 views

How to implement the exposure adjustment like Adobe Lightroom using OpenCV?

I try to create a image editor features like what are provided by Adobe Lightroom with Python and OpenCV. One of them is Exposure Adjustment on the image. The issue I always have is after increase the ...
Kevin Liem's user avatar
1 vote
0 answers
36 views

Remove unwanted areas texts from a binary image

I want to remove the texts and other unwanted small regions(+ - inside the circle) of a binary image for further processing, as shown in the first image,. For this preprocessing, i tried this code ...
kawsar's user avatar
  • 11
0 votes
0 answers
38 views

Assign icc color profile to cmyk image using little cms please provide example

how do i apply icc color profile to the cmyk data profileData,profileLength this contains the icc color profile data Ihave tried applying using littlecms void applyICCProfileToCMYK(cv::Mat& ...
Mohammed Sahil's user avatar
0 votes
0 answers
43 views

Directionally closing an image using opencv morphology or otherwise

I'm trying to use opencv morphology to close a binary image. However I would like to close along the maximum intensity direction locally rather than the entire surrounding region. The idea is for me ...
Flamerx's user avatar
0 votes
0 answers
70 views

Not able to read 16 bit TIFF file using OpenCV

I am trying to read a 16 bit TIFF image and it is not able to read the file. When I print img it returns NONE. import cv2 # from tifffile import imread path = "day-02000.tif" img = cv2....
Hrithik Kanoje's user avatar
1 vote
1 answer
43 views

Change amount of channels / convert OpenCV Mat

So, I'm trying to take a screenshot of my desktop, then import a template image using imread() and use them in a matchTemplate(). My imported template's type is CV_8UC3. For taking a screenshot and ...
Funoji's user avatar
  • 11
0 votes
0 answers
33 views

Open CV Image color filter to extract precise area under each color

I have some GPR (ground-penetrating RADAR) data set in .jpg format[Imge attached]. Need to read them and feed them to an Excel sheet. I need each color's rectangle length by pixel value to process the ...
Diptajit Das's user avatar
0 votes
1 answer
77 views

Warping an image with a given set of points

I am trying to perform image warping, but I can't seem to apply the transformation matrix given a set of points. Am trying to accomplish is a face morphing given the feature points which in total is ...
Sengeki's user avatar
  • 45
0 votes
1 answer
54 views

How to get world coorditates from image coordinates (z=0)

I my camera captures the area on which the objects are located that is why I do not need "Z" coordinate. I recently have this code. I have 4 objects (qr codes, which are in fixed position) ...
Eliška Paulíková's user avatar
-1 votes
4 answers
125 views

Imwrite OPEN CV method

I have a simple question about OpenCV imwrite method. Which is the difference between doing that: cv2.imwrite("route", cv2.cvtColor(image*255, cv2.COLOR_RGB2BGR)) and this cv2.imwrite("...
David Muñoz's user avatar
-5 votes
1 answer
338 views

how to use cv2.imshow()?

Code: cv2.imshow('E:\Open_CV\opencv\images', img) error: error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1272: error: (-2:Unspecified error) The function ...
Ishwarya S's user avatar
0 votes
0 answers
38 views

Opencv decode failing for user uploaded images

I am getting the decodedMat object as Mat [ 00CV_8UC3, isCont=true, isSubmat=false, nativeObj=0x6000005f5800, dataAddr=0x0 ] for most of the jpeg images which are uploaded by users via camera/gallery. ...
Amol's user avatar
  • 3
0 votes
1 answer
119 views

Get black image but i don't know why

The following codes gives me a nearly black image import fitz import cv2 #opencv for preprocessing of image import numpy as np filename = 'sample_pdf\muscle model\Invoice of muscle model from ...
Kong Ting Chau's user avatar

15 30 50 per page
1
2 3 4 5
221