Ask Your Question

Laurentiu's profile - activity

2019-05-02 12:02:58 -0500 commented question How to read videos from three cameras in the same time?

@LBerger: thank you! :)

2019-05-02 12:00:34 -0500 commented question How to read videos from three cameras in the same time?

I discovered the problem. I had two cameras connected at the same USB port using a USB hub.

2019-05-02 11:37:57 -0500 commented question How to read videos from three cameras in the same time?

Yes, individually camera works and if I have only two cameras all is ok, but only with three cameras it's a problem. I t

2019-05-02 10:59:09 -0500 commented question How to read videos from three cameras in the same time?

With one or two cameras it works, only with three cameras not working :( I tried with your method but not working :(

2019-05-02 10:31:56 -0500 asked a question How to read videos from three cameras in the same time?

How to read videos from three cameras in the same time? Hello, I tried to getting videos from three cameras in the sam

2018-12-21 09:11:58 -0500 asked a question Optimization of mean function of non-zero pixels

Optimization of mean function of non-zero pixels Hello, I'm a beginner in OpenCV with python, and I want to compute mea

2018-06-07 13:33:56 -0500 commented question Diploma project ideas

OK, thank you very much! :D @berak

2018-06-07 13:28:11 -0500 commented question Diploma project ideas

@break I want to develop an application for automotive for monitoring the driver and if he falls asleep, or is not caref

2018-06-07 13:02:52 -0500 asked a question Diploma project ideas

Diploma project ideas Hello everyone, Next year I will have the diploma project for Master Program, do you have any eas

2018-06-04 22:31:14 -0500 commented answer How to obtain a better time for execution for Sobel algorithm using OpenMP?

Thank you :D I will modify my code and I will watch the tutorial.

2018-06-04 12:42:05 -0500 commented question How to obtain a better time for execution for Sobel algorithm using OpenMP?

I need just an optimization for my algorithm using OpenMP, I don't need the best Sobel algorithm that exists. But thank

2018-06-04 12:31:14 -0500 commented question How to obtain a better time for execution for Sobel algorithm using OpenMP?

I don't want to reinvent the wheel. I just want to do a college study about the OpenMP influence in Image Processing alg

2018-06-04 12:29:32 -0500 edited question How to obtain a better time for execution for Sobel algorithm using OpenMP?

How to obtain a better time for execution for Sobel algorithm using OpenMP? Hello everyone, I tried to parallelize the

2018-06-04 12:25:16 -0500 edited question How to obtain a better time for execution for Sobel algorithm using OpenMP?

How to obtain a better time for execution for Sobel algorithm using OpenMP? Hello everyone, I tried to parallelize the

2018-06-04 12:24:19 -0500 edited question How to obtain a better time for execution for Sobel algorithm using OpenMP?

How to obtain a better time for execution for Sobel algorithm using OpenMP and MPI? Hello everyone, I tried to parallel

2018-06-04 12:23:58 -0500 edited question How to obtain a better time for execution for Sobel algorithm using OpenMP?

How to obtain a better time for execution for Sobel algorithm using OpenMP and MPI? Hello everyone, I tried to parallel

2018-06-04 12:17:43 -0500 asked a question How to obtain a better time for execution for Sobel algorithm using OpenMP?

How to obtain a better time for execution for Sobel algorithm using OpenMP and MPI? Hello everyone, I tried to parallel

2017-08-03 01:01:35 -0500 commented question Cmake Errors

Is necessary to remove this from includes. I use OpenCV 3.1 and I removed it and now all is well :D That's my solution. For me was a good solution :D @anhnamxtanh

2017-05-25 05:04:59 -0500 commented question How to use bilateralFiltering ?

Thank you! :D

2017-05-25 04:52:03 -0500 asked a question How to use bilateralFiltering ?

Hi,

bilateralFunction is used just for color image ? So, is necessary to apply cvtColor from GRAY to BGR ?

2017-05-25 03:37:54 -0500 commented question How to apply bilateral filtering in opencv ? - SOLVED

Thank for information :D

2017-05-25 03:37:37 -0500 commented question How to apply bilateral filtering in opencv ? - SOLVED

ok, thanks :)

2017-05-25 02:37:46 -0500 commented question How to apply bilateral filtering in opencv ? - SOLVED

Why I have -10 points, it's a simple question, and now I have this information

2017-05-25 02:21:10 -0500 commented question How to apply bilateral filtering in opencv ? - SOLVED

I have old code

2017-05-24 08:55:14 -0500 received badge  Editor (source)
2017-05-24 08:45:24 -0500 asked a question How to apply bilateral filtering in opencv ? - SOLVED

Hi,

How to apply bilateralFiltering from OpenCV library if I have a IplImage ?

Thank you very much!

SOLVED: I solved this problem cvSmooth(src, dst, CV_BILATERAL, param1:int, param2:int, param3:double );

2017-05-21 06:05:37 -0500 received badge  Enthusiast
2017-05-19 07:31:26 -0500 commented answer How to use cv::StereoMatcher in c++

After conversion the result is good. Thank you for your help :D

2017-05-19 07:25:58 -0500 commented answer How to use cv::StereoMatcher in c++

Now it's ok, but not very good. And I want to write as binary file, and if I read binary file the images is bad, very bad

2017-05-19 07:15:47 -0500 commented answer How to use cv::StereoMatcher in c++

the result is negative. Range between -8000 and -320000 value for my pixels

2017-05-19 06:58:18 -0500 commented answer How to use cv::StereoMatcher in c++

I tried this code but the result is a black image? do you have any suggestion ?

2017-05-12 09:06:56 -0500 commented answer How to write a sequence as images as a avi video ?

Thanks for help, I solve the problem, VideoWriter support just color, I had to do cvtColor for my image :D Thank you very much for help ;) @berak

2017-05-12 09:05:29 -0500 received badge  Scholar (source)
2017-05-12 09:05:26 -0500 received badge  Supporter (source)
2017-05-11 11:24:02 -0500 commented answer How to write a sequence as images as a avi video ?

ok, so the video is not good, I don't have the images from folder I have line of black gray and white

2017-05-11 11:14:35 -0500 commented answer How to write a sequence as images as a avi video ?

Is a bad result :(

2017-05-11 11:14:04 -0500 commented answer How to write a sequence as images as a avi video ?

And the code:

#include "opencv2/opencv.hpp"
#include <iostream>

using namespace std;
using namespace cv;

int main(int argc, char* argv[])
{

    VideoWriter video("out.avi", CV_FOURCC('M','J','P','G'), 30, Size(640, 480), false);

    if ( !video.isOpened() ) //if not initialize the VideoWriter successfully, exit the program
    {
        cout << "ERROR: Failed to write the video" << endl;
        return -1;
    }

    Mat image(480, 640, CV_8UC1);
    for(int i = 0; i < 100; i++)
    {
        char left[1024] = "";
        sprintf(left, "left640x480_%d.bmp", i);
        image = imread(left, 0);
        if (image.empty())
        {   
          cout << "ERROR! Failed to load image!" << endl;
          return -1;
        }

        video.write(image);
        imshow( "Frame", image );
        char c = (char)waitKey(33);
        ......
2017-05-11 10:51:04 -0500 answered a question How do I calculate disparity and pointcloud

Maybe here you found the theory for camera calibration and code: http://docs.opencv.org/3.1.0/d4/d94/t...

and here is code for compute disparity map using sgbm algorithm in c++ with OpenCv

http://stackoverflow.com/questions/35...

2017-05-11 10:49:19 -0500 answered a question Cmake Errors

Is necessary to remove this from includes. I use OpenCV 3.1 and I removed it and now all is well :D

2017-05-11 10:49:18 -0500 answered a question Problem of "uchar"

maybe

 float outputValue = (float)sumValue / (float)num_valid;

or

 float outputValue = (float)( sumValue / num_valid);
2017-05-11 10:49:17 -0500 commented question How to write a sequence as images as a avi video ?

I changed what you said, but the result is the same @berak

2017-05-11 10:27:03 -0500 asked a question How to write a sequence as images as a avi video ?

Hi, I want to create a video using a sequence as images, I have greayscale images with resolution 640x480,I tried to make this simple application fallowing the next steps: 1) I read each images with imread 2) I used VideoWriter for writing video, but my video after saving is the 0 second saved :(

This is my code:

#include "opencv2/opencv.hpp"
#include <iostream>

using namespace std;
using namespace cv;

int main(int argc, char* argv[])
{
    for(int i = 0; i < 30; i++)
    {
        char left[1024] = "";
        sprintf(left, "left640x480_%d.bmp", i);

        Mat image(640, 480, CV_8UC1);
        image = imread(left, 0);

        VideoWriter video("out.avi", CV_FOURCC('M','J','P','G'), 30, Size(640, 480), false);

        Mat frame;
        image.copyTo(frame);
        video.write(frame);
        imshow( "Frame", frame );
        char c = (char)waitKey(33);
        if( c == 27 )
            break;
    }

  return 0;
}

I use OpenCV 3.1 in C++. Thank you for your help!