Ask Your Question

chris_chris's profile - activity

2017-11-23 02:08:58 -0600 received badge  Famous Question (source)
2017-11-17 03:14:42 -0600 received badge  Popular Question (source)
2017-02-20 08:49:12 -0600 received badge  Notable Question (source)
2016-11-20 02:39:57 -0600 received badge  Popular Question (source)
2016-09-28 02:01:03 -0600 received badge  Famous Question (source)
2015-02-25 12:19:26 -0600 received badge  Notable Question (source)
2014-07-31 07:48:27 -0600 received badge  Popular Question (source)
2014-07-09 02:34:56 -0600 commented answer Same Algorithm works very slow in windows and very fast in Ubuntu.

I think in my case this is the problem. Is there any alternatives in VS 2012 (instead of optimization options in gcc)?

2014-07-08 07:59:28 -0600 commented question Same Algorithm works very slow in windows and very fast in Ubuntu.

@StevenPuttemans. In my windows PC, I use it with TBB support. And no idea about Ubutu PC. Because I cannot use the Ubuntu PC anymore. (And that is the reason for this question)

2014-07-08 07:55:06 -0600 commented answer Same Algorithm works very slow in windows and very fast in Ubuntu.

I will try this out soon and add my results. And I am sure this will increase the speed of my algo. If implement this in both of my cases. Again Ubuntu is going to much faster than Windows and nearly the same. I asking this because no more I cannot use the system with Ubuntu.

2014-07-08 07:52:41 -0600 commented answer Same Algorithm works very slow in windows and very fast in Ubuntu.

Thank you for the answer. really very good answer for improvising the speed. But especially, I like know why my algo is nearly 30 times faster in Ubuntu.

2014-07-08 07:07:31 -0600 commented question Same Algorithm works very slow in windows and very fast in Ubuntu.

@berak and @StevenPuttemans I have uploaded the piece of a code. This takes a group of grid and a cv::Mat as argument. Each grid is defined by group of points. I defined this point with type float. This function just takes the instensity value for each point (x, y) in all the grid.

2014-07-08 07:03:34 -0600 commented question Same Algorithm works very slow in windows and very fast in Ubuntu.

@StevenPuttemans. I meant the hardware configuration(just 2 laptops with same model).. I dont know what is TBB support (so I ll answer this later). I have uploaded the function which consumes time (see updated edit). No, I am not mixing up the debug and release. I using only the release configs.

2014-07-08 03:06:13 -0600 asked a question Same Algorithm works very slow in windows and very fast in Ubuntu.

I have a same algorithm working in two computer. One with Ubuntu and other with windows.

In Ubuntu, the algorithm takes a input images through a framework called ADTF. Here the algorithm works in 70fps. Everything is perfect.

In windows, the algorithm takes input images from a video stream without using any framework (visual studio 2012 as an IDE). Here the algorithm works in 2fps.

When I checked for the computation time, I see a function in my algorithm which takes 0.4seconds in windows and 0.011seconds in Ubuntu. And this function has been called 'n' number of times in the process. This function uses only cv::Mat in its argument and some float. I don't think so the data type float is responsible for this big time variation.

I checked the every single line of the c++ codes in my files. Its exactly same in both cases. But only the computation time has been decreased more than 30 times. I have no idea what's happening. Can anyone help me?

Note:: Both the computer have exactly the same configuration.

Intensity getIntensity (Grids &inputGrids, Mat inputImage)// groups of 2d grids {
    type allGridIntensity;
    for()//takes single grid
    {
        type singleGridIntensity;
        for()//takes single point
        {
            double intensity = inputImage.at<uchar>(yPose, xPose);
            singleGridIntensity.push_back(intensity);
        }
        allGridIntensity.push_back(singleGridIntensity);
    }
    return allGridIntensity; }
2013-06-27 09:13:05 -0600 asked a question how to find correlation coefficient for two images?

I have two 16-Bit grey level images in cv::Mat format. I just have to find the correlation coefficient scores i.e) a score says how much the two images match each other.

Is there any functions in opencv or any other libraries to find it?

2013-05-20 14:36:13 -0600 asked a question 16-Bit Images and cv::Mat for Stereo Algorithms

I have used the function cvFindStereoCorrespondenceGC for getting the disparity image. But I have used 8-bit grey image as input Image and using IplImage and CvMat as datatypes. I think so I can do the same for Block Matching and semi-global block matching algorithm.

  1. WHETHER OPENCV HAS A C++ FUNCTION IS AVAILABLE FOR GRAPH CUT STEREO ALGORITHM??????

  2. But, I need to process 16-Bit Images as Input for making the disparity map. Is it possible to use 16-bit images in any of the functions available in openCV to make disparity map?. If a function is not available by default, ANY IDEAS TO RE-WRITE THE AVAILABLE FUNCTIONS??

2013-05-17 12:14:12 -0600 answered a question in stereo matching is the disparity always to the left?

I don't understand clearly what you explain. But I think, the disparity can be derived only for the overlapping area. Or sometimes in the BM algorithm you have to play with the parameters to get the correct disparity map.

2013-05-14 08:10:51 -0600 commented answer Cannot view 16-bit grey level Images.

I got it. Thanks for the detailed answer such that everybody understands..

2013-05-14 08:09:07 -0600 received badge  Scholar (source)
2013-05-14 05:13:13 -0600 commented answer Cannot view 16-bit grey level Images.

yes, you are correct. some problem with the tiff reader. I converted the image to png and other formats. Its working now. But, I cannot view this. I can see only a black image. (I am sure that there is a image. When I convert it to 8-bit I can view that.)

2013-05-14 05:01:56 -0600 received badge  Editor (source)
2013-05-13 11:24:40 -0600 received badge  Supporter (source)
2013-05-11 21:12:53 -0600 received badge  Student (source)
2013-05-08 08:56:43 -0600 asked a question Cannot view 16-bit grey level Images.

I have images in '.tiff' format with 10-bit grey level (i.e 0 to 1023) in a 16-bit containers. I cannot access them. I have tried using function 'imread' and read the images without changing anything it has. But I cannot, it gives output no image data. I am sure that this files has the images. Also, I have tried to read other 8bit and rgb images of '.tiff' format using the same funtion and it works.

So, I would like to know how to access the 10-bit grey level images in 16-bit containers using any fuctions from opencv.

EDIT: Now I have changed the image to .png format. Now the image can be processed. When I try to view it through opencv, I see only a black image. In case, when the image is converted to 8-bit image. I can view it. But I would like to view it as 16 bit grey images.