Segmentation fault on cv::imshow function
Hello every one, here is my function "`optical_flow_using_schunck`". on line "`imshow("frame1", frame1)`" it throws "Segmentation fault (Core dumped)" error. Any idea?! int...
View ArticleHow can I perform arithmetic operations with pixel
I have a set of 70 RGB images (argc=71). I wanted to change pixel values according to these formulas: l1 = (R-G)^2/((R-G)^2 + (R-B)^2 + (G-B)^2); l2 = (R-B)^2/((R-G)^2 + (R-B)^2 + (G-B)^2); l3 =...
View ArticleWhen is too much speed a bad thing?
Today's question: The Houston Texans' main goal this offseason was to add speed to their offense, and they did it with nearly every skill position acquisition they made. Lamar Miller, running back...
View Articlegetting frame number from Mat
Is it possible to get a frame number from a Mat object? From a VideoCapture object it would be cap.get(CAP_PROP_POS_FRAMES) is there a function for getting the current frame number from the Mat
View ArticleBFmatcher crashes because of different descriptor shapes
Hey everyone, I'm using binary images of the same size, extracting ORB Features but when it comes to compare the descriptors I receive an: **The Error** >...
View ArticleClassifier load error.
My program always stops at: CascadeClassifier face_cascade; face_cascade.load("‪E:\\opencv\\sources\\data\\haarcascades\\haarcascade_frontalface_alt2.xml"); if...
View ArticleBuild opencv 3.1.0 extra module for android on Mac?
Hi, I'm new to OpenCV and want to use SIFT and SURF features detector on Android Studio that is available on opencv_contrib. I'm using these tutorial (with modification) to build opencv 3.1.0 extra...
View ArticleGetting background subtraction to work
I am trying to use OpenCV's background subtraction in MSVS 2015. When I try to use it I get very unimpressive results compared to what I see online in examples and videos, and I am wondering what I am...
View ArticleConvert DCMTK DicomImage into Mat OpenCV
I have some project that require me to get the most accurate data so that I can perform simple image thresholding to segments the bone area only. The DICOM library I use is DCMTK, and here is the way I...
View ArticleUnable to convert color image to grayscale in android opencv
This is the part of code which is not working good. I know this question has been asked earlier, but i have done everything i could do but still couldn't figure out the reason. This is the portion of...
View ArticleOpenCV 3.1 VideoWriter::write(const Mat&) does not return its status.
Hello, I found it strange that the "VideoWriter::write(const Mat&)" function does not return its status (true/false). I think that function should return an int to inform about the result of the...
View ArticleTrouble compiling 3.0 & 3.1 under Debian 8 "jessie"
It appears that the failure occurs when attempting to compile the videoio modules. In particular, the gstreamer 0.10 headers fail to be successfully parsed because of object definition errors. The...
View ArticleCamera calibration and aspect ratio
Hello! I am calibrating a wide-angle IP Cam. Here as an example of the image after calling remap() with the calibration data:  Lines are straight....
View Articlehttp://www.supplements4us.com/xtrcut/
Xtrcut Always include the "big three" exercises in your training schedule. These mass-building exercises include dead lifts, squats and bench presses. These exercises will condition your body, build...
View Articlewhy composeRT function is showing error for column vectors?
So I'm basically try to get the combination of two rotation and translation transformations. Mat rvec1(1,3,CV_32F); rvec1.at(0,0) = 2.3; rvec1.at(0,1) = 4.5; rvec1.at(0,2) = 7.8; Mat...
View ArticleIs it possible to overlay a transparent image over a live camera view, such...
The transparent image I want to overlay is just the boundary of a polygon in black color, the rest of the image is transparent. Like this:  Using...
View ArticleGetting openCV error: Assertion Failed
I'm using opencv 3.1 in RaspberryPi 3. I,m trying to run the following Hough Circle detection algorithm #! /usr/bin/python import numpy as np import cv2 from cv2 import cv VInstance =...
View ArticleIdentifying bootstrap elements from ui
I'm a beginner in image processing and need to identify the bootstrap elements from a webpage ui. Need the script to return the identified tags as shown. Can someone help me with it?...
View Articleloaded library might have disabled stack guard
Hi there! I'm getting this when I try to load libopencv_java310.so. Everything seems to be working fine regardless. I have attempted execstack -c on the .so file, but it did not change anything. How...
View ArticleProblems with function for normalised cross correlation
Hi everyone! I'm trying to implement a function for NCC, but I have some problems, the function gives me the error malloc.c:2372. I think the problem probably is in the function CalculateDen....But I...
View Article