Ask Your Question

izzo's profile - activity

2019-11-11 12:06:17 -0500 received badge  Nice Question (source)
2019-06-30 08:26:37 -0500 received badge  Famous Question (source)
2018-07-24 03:48:38 -0500 received badge  Notable Question (source)
2018-02-23 11:40:08 -0500 received badge  Popular Question (source)
2015-05-12 12:06:32 -0500 received badge  Famous Question (source)
2015-03-09 09:36:20 -0500 received badge  Notable Question (source)
2015-01-28 05:21:39 -0500 received badge  Popular Question (source)
2014-12-09 13:48:43 -0500 marked best answer Needing for C++ tutorials for OpenCV

Hi there.

I need some help understanding OpenCV.

I started to read a book about OpenCV and there was difficult in understanding the codes.

Please if there's anyone can help find C++ tutorials that's related to OpenCV and what should i learn in C++ to start coding with OpenCV.

Many thanks.

2014-12-09 13:48:19 -0500 marked best answer Multiplication Sign (*)

Hey there.. Could anyone tell me what's the multiplication sing (*) means ?.. cause am really confused about it.

Regards

2013-04-22 11:29:14 -0500 received badge  Taxonomist
2013-02-24 06:03:00 -0500 received badge  Self-Learner (source)
2013-02-23 14:26:50 -0500 commented answer Error While Debugging a Code

I answered but can't accept it, it needs 50 points.

2013-02-23 14:24:16 -0500 answered a question Error While Debugging a Code

Problem solved.

I re-installed visual studio 2010 without 64 bit compiler, it was a conflict between 32 and 64 bit support compiler, and the code working as charm :)

Thanks all for help.

2013-02-23 06:56:21 -0500 commented answer Error While Debugging a Code

Problem solved.

I re-installed visual studio 2010 without 64 bit compiler, it was a conflict between 32 and 64 bit support compiler, and the code working as charm :)

Thanks all for help.

2013-02-22 14:06:30 -0500 commented answer Error While Debugging a Code

Hey SR, i've made sure of the Debug N' Release DLLs there's no mixing between them!

2013-02-22 14:04:36 -0500 commented answer Error While Debugging a Code

I tried the try catch but it's not helpful, same error as in the image.

2013-02-21 10:00:58 -0500 asked a question Error While Debugging a Code

Hey there, i am having a problem with debugging a program for loading and displaying an image

I am using visual studio 2010, and i've followed all the steps to include OpenCV libraries into it, i also tried some projects it all works, But when i try this code to be debugged there's an error shows up:

The code :

#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>

using namespace cv;
using namespace std;

int main( int argc, char** argv )
{
    if( argc != 2)
    {
     cout <<" Usage: display_image ImageToLoadAndDisplay" << endl;
     return -1;
    }

    Mat image;
    image = imread("OpenCV.jpg", CV_LOAD_IMAGE_COLOR);  // Read the file

    if(! image.data )                              // Check for invalid input
    {
        cout <<  "Could not open or find the image" << std::endl ;
        return -1;
    }

    namedWindow( "Display window", CV_WINDOW_AUTOSIZE );// Create a window for display.
    imshow( "Display window", image );                   // Show our image inside it.

    waitKey(0);// Wait for a keystroke in the window
    return 0;
}

The error :

image description

2013-02-21 09:58:04 -0500 asked a question Error While Debugging a Code

Hey there, i am having a problem with debugging a program for loading and displaying an image

I am using visual studio 2010, and i've followed all the steps to include OpenCV libraries into it, i also tried some projects it all works, But when i try this code to be debugged there's an error shows up:

The code :

#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>

using namespace cv;
using namespace std;

int main( int argc, char** argv )
{
    if( argc != 2)
    {
     cout <<" Usage: display_image ImageToLoadAndDisplay" << endl;
     return -1;
    }

    Mat image;
    image = imread("OpenCV.jpg", CV_LOAD_IMAGE_COLOR);  // Read the file

    if(! image.data )                              // Check for invalid input
    {
        cout <<  "Could not open or find the image" << std::endl ;
        return -1;
    }

    namedWindow( "Display window", CV_WINDOW_AUTOSIZE );// Create a window for display.
    imshow( "Display window", image );                   // Show our image inside it.

    waitKey(0);// Wait for a keystroke in the window
    return 0;
}

The error :

image description

2013-02-21 09:26:14 -0500 received badge  Student (source)
2013-02-21 08:30:24 -0500 commented answer Scalar Use

Thanks a lot SR :)

2013-02-21 08:23:17 -0500 commented answer Scalar Use

alright, one more question, when the data type is (CV_8UC3), it's always BGR ?, and what if i want it in reverse (RGB) how could it be possible ?

2013-02-21 07:40:22 -0500 asked a question Scalar Use

Hey there, please someone tell me what's the Scalar do in the following code ? and what's the use of it in general ?

Mat M(2,2, CV_8UC3, Scalar(0,0,255));
cout << "M = " << endl << " " << M << endl << endl;

Thanks

2013-02-20 13:34:07 -0500 commented answer Matrix Question

Many thanks Bibliarij.

2013-02-20 09:54:48 -0500 asked a question Issue while Reading

Please someone tells me what's the meaning of component in the following paragraph.

Each of the building components has their own valid domains. This leads to the data type used. How we store a component defines the control we have over its domain.

2013-02-20 07:48:19 -0500 commented answer Matrix Question

Thanks, but it differs from BGR to RGB, or it's all the same ?, and in column 0 row 0 all values are zeros what the color will be ?!

2013-02-19 10:40:20 -0500 asked a question Matrix Question

image description

The question is the column 0, row 0 represent a pixel ?

2013-02-19 10:04:57 -0500 commented answer CopyTo() and Clone() functions

Thank you, i get the idea..

2013-02-19 10:02:19 -0500 commented answer CopyTo() and Clone() functions

Thanks berak, understood :)

2013-02-19 08:50:42 -0500 asked a question CopyTo() and Clone() functions

Need description of the following code :

    1   Mat A = imread(argv[1], CV_LOAD_IMAGE_COLOR);
    2   Mat F = A.clone();
    3   Mat G;
    4   A.copyTo(G);

The second line, is the header A is copied to F ?

The forth line, is the header A copied to G or vice versa( G copied to A) ?

2013-02-19 06:55:57 -0500 received badge  Editor (source)
2013-02-19 06:55:19 -0500 asked a question Needing Help With a Code

Please someone help me to understand what's the use of this code step by step, and why do we create just the header parts ?, and what does the copy constructor do and how to use it ?

Mat A, C; //creates just the header parts
A = imread(argv[1], CV_LOAD_IMAGE_COLOR); // here we’ll know the method used (allocate matrix)
Mat B(A); // Use the copy constructor
C = A; // Assignment operator

Thnaks

2013-02-18 10:30:04 -0500 commented answer Meaning of Channels

Not the function channels(); i was asking about meaning of channels in general :) Thank you anyway.

2013-02-18 10:28:42 -0500 commented answer Meaning of Channels

Thank you rics, so helpful.

2013-02-18 06:52:23 -0500 asked a question Meaning of Channels

What's the meaning of channels ?