Skip to content

Doc: INTER_LINEAR_EXACT unsupported in remap#18583

Merged
opencv-pushbot merged 1 commit intoopencv:masterfrom
weltonrodrigo:remap_inter_doc_4
Oct 14, 2020
Merged

Doc: INTER_LINEAR_EXACT unsupported in remap#18583
opencv-pushbot merged 1 commit intoopencv:masterfrom
weltonrodrigo:remap_inter_doc_4

Conversation

@weltonrodrigo
Copy link
Copy Markdown
Contributor

Same as #18582 but for master branch, because modules/gapi/include/opencv2/gapi/core.hpp doesn't exist in 3.4

@weltonrodrigo
Copy link
Copy Markdown
Contributor Author

Relevant code section is:

if( interpolation == INTER_NEAREST )
{
nnfunc = nn_tab[depth];
CV_Assert( nnfunc != 0 );
}
else
{
if( interpolation == INTER_LINEAR )
ifunc = linear_tab[depth];
else if( interpolation == INTER_CUBIC ){
ifunc = cubic_tab[depth];
CV_Assert( _src.channels() <= 4 );
}
else if( interpolation == INTER_LANCZOS4 ){
ifunc = lanczos4_tab[depth];
CV_Assert( _src.channels() <= 4 );
}
else
CV_Error( CV_StsBadArg, "Unknown interpolation method" );
CV_Assert( ifunc != 0 );
ctab = initInterTab2D( interpolation, fixpt );
}

Copy link
Copy Markdown
Member

@dkurt dkurt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dkurt dkurt self-assigned this Oct 14, 2020
@opencv-pushbot opencv-pushbot merged commit 06a09d5 into opencv:master Oct 14, 2020
@weltonrodrigo weltonrodrigo deleted the remap_inter_doc_4 branch October 14, 2020 18:11
@alalek alalek mentioned this pull request Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants