Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Question about calcBackProject

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; i++ )
    {
        for ( int j = 0; j < backProj.cols; j++ )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you.

Question about calcBackProject

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; i++ )
    {
        for ( int j = 0; j < backProj.cols; j++ )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you.

Question about calcBackProject

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; i++ )
    {
        for ( int j = 0; j < backProj.cols; j++ )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you.

Question about calcBackProject

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; i++ )
    {
        for ( int j = 0; j < backProj.cols; j++ )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you.you very much.

Question about calcBackProject

Hi, I need to use calcBackProject and then display the exact number.

number.
        for ( int i = 0; i < backProj.rows; i++ )
     {
         for ( int j = 0; j < backProj.cols; j++ )
         {
             cout << int(backProj.at< uchar >( i, j )) << " ";
         }
         cout << endl;
     }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you very much.

Question about calcBackProject

Hi, I need to use calcBackProject and then display the exact number. number.

    for ( int i = 0; i < backProj.rows; i++ )
     {
         for ( int j = 0; j < backProj.cols; j++ )
         {
             cout << int(backProj.at< uchar >( i, j )) << " ";
         }
         cout << endl;
     }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you very much.

Question about calcBackProject

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; i++ )
    {
        for ( int j = 0; j < backProj.cols; j++ )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale scale it down or use normalize normalize before. Can I make it by calcBackProject? Thank you very much.

Question about calcBackProjectHow can I use calcBackProject to get backProj Matrix which stores numbers over 255

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; i++ )
    {
        for ( int j = 0; j < backProj.cols; j++ )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you very much.

How can I use calcBackProject to get backProj Matrix which stores numbers include number over 255

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; i++ )
    {
        for ( int j = 0; j < backProj.cols; j++ )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you very much.

How can I use calcBackProject to get backProj Matrix which include number over 255255 by calcBackProject?

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; i++ )
    {
        for ( int j = 0; j < backProj.cols; j++ )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you very much.

How can I get backProj Matrix which include number includes numbers over 255 by using calcBackProject?

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; i++ )
    {
        for ( int j = 0; j < backProj.cols; j++ )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you very much.

How can I get backProj Matrix which includes numbers over 255 using calcBackProject?

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; i++ ++i )
    {
        for ( int j = 0; j < backProj.cols; j++ ++j )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

and then display After using calcBackProject,display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? Thank you very much.

How can I get backProj Matrix which includes numbers over 255 using calcBackProject?

Hi, I need to use calcBackProject calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; ++i )
    {
        for ( int j = 0; j < backProj.cols; ++j )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

After using calcBackProject,display calcBackProject, display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? calcBackProject? Thank you very much.

How can I get backProj Matrix which includes includeing numbers over 255 using by calcBackProject?

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; ++i )
    {
        for ( int j = 0; j < backProj.cols; ++j )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

After using calcBackProject, display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject? ?

Thank you very much.you.

How can I get backProj Matrix includeing Back Projection matrix including numbers over 255 by calcBackProject?

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; ++i )
    {
        for ( int j = 0; j < backProj.cols; ++j )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

After using calcBackProject, display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject?

Thank you.

How can I get Back Projection matrix including numbers over 255 or decimal by calcBackProject?

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; ++i )
    {
        for ( int j = 0; j < backProj.cols; ++j )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

After using calcBackProject, display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to scale it down or use normalize before. Can I make it by calcBackProject?

If I try to scale it down, can this Back Projection matrix includes decimal?

Thank you.

How can I get Back Projection matrix including numbers over 255 or decimal by calcBackProject?

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; ++i )
    {
        for ( int j = 0; j < backProj.cols; ++j )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

After using calcBackProject, display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to use normalize before. Can I make it by calcBackProject?

If I try to scale it down, can this Back Projection matrix includes decimal?decimal? Because I don't want that 0 exits in this matrix.

Thank you.

How can I get Back Projection matrix including numbers over 255 or decimal by calcBackProject?

Hi, I need to use calcBackProject and then display the exact number.

    for ( int i = 0; i < backProj.rows; ++i )
    {
        for ( int j = 0; j < backProj.cols; ++j )
        {
            cout << int(backProj.at< uchar >( i, j )) << " ";
        }
        cout << endl;
    }

But its max value is 255 because of "uchar". I tried to use

    Mat backProj( slid_.rows, slid_.cols, CV_64FC1 );

After using calcBackProject, display it

    cout << backProj.at< double >( i, j );

but it does not work.

I really need the exact numbers which are bigger than 255. I don't want to use normalize before. Can I make it by calcBackProject?

If I try to scale it down, can this Back Projection matrix includes decimal? Because I don't want that 0 exits exists in this matrix.

Thank you.