All Questions
909
questions
0
votes
0
answers
33
views
Trying to test out opencv example from matlab and get error opencv2/opencv.hpp not found
I followed the directions from the Matlab video (https://www.mathworks.com/matlabcentral/fileexchange/47953-computer-vision-toolbox-interface-for-opencv-in-matlab).
I downloaded the apps Computer ...
0
votes
0
answers
45
views
Segmenting all contours or a better approach for these pellets
I am attempting to find the governing equation for the Position(x,y,t) and Orientation θ(x,y,t) of these pellets, which collectively behave as a fluid. To perform flow analysis and find governing ...
-4
votes
1
answer
69
views
Is there anyway I could measure these cells in eye scan? [closed]
I want to measure these white cells I in this eye scan
Is there any suggestions or comments you may have that could help me measure cell counts?
I am using Matlab, Fiji, and python for image ...
0
votes
1
answer
89
views
How to fill gaps in images in matlab / python
I'm using image processing to try and develop a 'blob' of light. The first picture attached is the original image, and the second image is the processed image.
My goal is to create a shape to ...
0
votes
0
answers
186
views
Finding the edges of a board in a 3D point cloud with python
I have a point cloud containing a checkerboard pattern, and my task is to identify the edges of the checkerboard within the cloud. I have successfully extracted the plane on which the board is located ...
1
vote
1
answer
115
views
Is there a Python function equivalent to a Matlab bwmorph?
I recently transferred Matlab code to Python, and I've tried OpenCV's cv2.morphologyEx and skimage's skimage.morphology, but the result is not the same as in Matlab. I can't find the equivalent ...
0
votes
2
answers
188
views
angle detection of a particular object in a recorded video
I am trying to find out the angle of the black stripe in the below photo for the entire recorded video. I was trying to find code online but was only able to find code for images or requiring manual ...
1
vote
1
answer
124
views
Is there any python library function to perform blob detection?
I was trying to implement blob detection in Python. I have gone through an implemented Matlab code. But, there is a problem I couldn't understand the code. Is there any function related to this one in ...
0
votes
0
answers
85
views
MATLAB and python equivalent coding
I have an image of size 450x620. I am applying median (3x3) and mean (35x35) filter to the image, and then subtracting the two filtered images and taking absolute value to calculate the saliency map ...
1
vote
0
answers
132
views
Why do Matlab's imread and OpenCV's imread return different pixel values when reading the same image?
The image in question is a uint16 pgm image with a bit depth of 10 but saved as 16-bit. When reading the image using Matlab's imread, the pixel values are 2^6 times larger than those obtained using ...
1
vote
1
answer
1k
views
Eigen methods in C++ library (OpenCV, Eigen, Armadillo) considerably slower than MATLAB
I am trying to compute Eigen vectors for a matrix in C++ in a very efficient way. The problem is that the most representative C++ libraries OpenCV, Eigen and Armadillo are considerably slower than ...
0
votes
0
answers
50
views
What is the problem with my code that it makes my resultant image of this particular image as jigsaw puzzles?
I am implementing a conference paper and it was originally in matlab and I translated it into python to process it with opencv using fuzzy contextual contrast enhancement method attached paper here in ...
1
vote
1
answer
437
views
Find new blobs comparing two different binary images
I have two images taken on same sample at t=0 and t=t. There are few new blobs present in image taken at t. I need to find these new blobs (new blobs are the blobs which are present in new XY location ...
0
votes
0
answers
71
views
Opencv calcOpticalFlowPyrLK have got a bidirectional error as Matlab Computer Vision Toolbox?
I'm using opencv 3.0.
I used the klt to track features:
Size winSize(11, 11);
int maxLevel = 4;
TermCriteria termcrit(CV_TERMCRIT_ITER | CV_TERMCRIT_EPS, 30, 0.01);
int flags = 0;
double ...
0
votes
0
answers
152
views
C++ opencv filter2d more than 3x slower than MATLAB conv2
I am trying to reimplement an algorithm from matlab, which uses convolution, however when testing the speed of an equivalent algorithm in opencv, I noticed that opencv's filter2d is more than 3-4x ...