problem with cvSobel

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

problem with cvSobel

opencv-users mailing list
hello freinds, i have this error message with the function cvSobel OpenCV Error: Assertion failed (src.size() == dst.size() && src.channels() == dst.channels() && ((src.depth() == CV_8U && (dst.depth() == CV_16S || dst.depth() == CV_32F)) || (src.depth() == CV_32F && dst.depth() == CV_32F))) in unknown function,
  can you help me please.
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem with cvSobel

opencv-users mailing list
check that size, number of channels and datatype from your input images
are equal

On 11/11/15 12:08, [hidden email] [OpenCV] wrote:

>
> hello freinds, i have this error message with the function cvSobel
> *OpenCV Error: Assertion failed (src.size() == dst.size() &&
> src.channels() == dst.channels() && ((src.depth() == CV_8U &&
> (dst.depth() == CV_16S || dst.depth() == CV_32F)) || (src.depth() ==
> CV_32F && dst.depth() == CV_32F))) in unknown function,*
>
> * can you help me please.*
>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bls: [OpenCV] problem with cvSobel

opencv-users mailing list
can you write your code ?
 


    Pada Rabu, 11 November 2015 19:57, "Edgar Riba [hidden email] [OpenCV]" <[hidden email]> menulis:
 

      check that size, number of channels and datatype from your input images are equal
 
 On 11/11/15 12:08, [hidden email] [OpenCV] wrote:
 
    hello freinds, i have this error message with the function cvSobel OpenCV Error: Assertion failed (src.size() == dst.size() && src.channels() == dst.channels() && ((src.depth() == CV_8U && (dst.depth() == CV_16S || dst.depth() == CV_32F)) || (src.depth() == CV_32F && dst.depth() == CV_32F))) in unknown function,  can you help me please.    
 
  #yiv5773632093 #yiv5773632093 -- #yiv5773632093ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv5773632093 #yiv5773632093ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv5773632093 #yiv5773632093ygrp-mkp #yiv5773632093hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv5773632093 #yiv5773632093ygrp-mkp #yiv5773632093ads {margin-bottom:10px;}#yiv5773632093 #yiv5773632093ygrp-mkp .yiv5773632093ad {padding:0 0;}#yiv5773632093 #yiv5773632093ygrp-mkp .yiv5773632093ad p {margin:0;}#yiv5773632093 #yiv5773632093ygrp-mkp .yiv5773632093ad a {color:#0000ff;text-decoration:none;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ygrp-lc {font-family:Arial;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ygrp-lc #yiv5773632093hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ygrp-lc .yiv5773632093ad {margin-bottom:10px;padding:0 0;}#yiv5773632093 #yiv5773632093actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv5773632093 #yiv5773632093activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv5773632093 #yiv5773632093activity span {font-weight:700;}#yiv5773632093 #yiv5773632093activity span:first-child {text-transform:uppercase;}#yiv5773632093 #yiv5773632093activity span a {color:#5085b6;text-decoration:none;}#yiv5773632093 #yiv5773632093activity span span {color:#ff7900;}#yiv5773632093 #yiv5773632093activity span .yiv5773632093underline {text-decoration:underline;}#yiv5773632093 .yiv5773632093attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv5773632093 .yiv5773632093attach div a {text-decoration:none;}#yiv5773632093 .yiv5773632093attach img {border:none;padding-right:5px;}#yiv5773632093 .yiv5773632093attach label {display:block;margin-bottom:5px;}#yiv5773632093 .yiv5773632093attach label a {text-decoration:none;}#yiv5773632093 blockquote {margin:0 0 0 4px;}#yiv5773632093 .yiv5773632093bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv5773632093 .yiv5773632093bold a {text-decoration:none;}#yiv5773632093 dd.yiv5773632093last p a {font-family:Verdana;font-weight:700;}#yiv5773632093 dd.yiv5773632093last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv5773632093 dd.yiv5773632093last p span.yiv5773632093yshortcuts {margin-right:0;}#yiv5773632093 div.yiv5773632093attach-table div div a {text-decoration:none;}#yiv5773632093 div.yiv5773632093attach-table {width:400px;}#yiv5773632093 div.yiv5773632093file-title a, #yiv5773632093 div.yiv5773632093file-title a:active, #yiv5773632093 div.yiv5773632093file-title a:hover, #yiv5773632093 div.yiv5773632093file-title a:visited {text-decoration:none;}#yiv5773632093 div.yiv5773632093photo-title a, #yiv5773632093 div.yiv5773632093photo-title a:active, #yiv5773632093 div.yiv5773632093photo-title a:hover, #yiv5773632093 div.yiv5773632093photo-title a:visited {text-decoration:none;}#yiv5773632093 div#yiv5773632093ygrp-mlmsg #yiv5773632093ygrp-msg p a span.yiv5773632093yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv5773632093 .yiv5773632093green {color:#628c2a;}#yiv5773632093 .yiv5773632093MsoNormal {margin:0 0 0 0;}#yiv5773632093 o {font-size:0;}#yiv5773632093 #yiv5773632093photos div {float:left;width:72px;}#yiv5773632093 #yiv5773632093photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv5773632093 #yiv5773632093photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv5773632093 #yiv5773632093reco-category {font-size:77%;}#yiv5773632093 #yiv5773632093reco-desc {font-size:77%;}#yiv5773632093 .yiv5773632093replbq {margin:4px;}#yiv5773632093 #yiv5773632093ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv5773632093 #yiv5773632093ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv5773632093 #yiv5773632093ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv5773632093 #yiv5773632093ygrp-mlmsg select, #yiv5773632093 input, #yiv5773632093 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv5773632093 #yiv5773632093ygrp-mlmsg pre, #yiv5773632093 code {font:115% monospace;}#yiv5773632093 #yiv5773632093ygrp-mlmsg * {line-height:1.22em;}#yiv5773632093 #yiv5773632093ygrp-mlmsg #yiv5773632093logo {padding-bottom:10px;}#yiv5773632093 #yiv5773632093ygrp-msg p a {font-family:Verdana;}#yiv5773632093 #yiv5773632093ygrp-msg p#yiv5773632093attach-count span {color:#1E66AE;font-weight:700;}#yiv5773632093 #yiv5773632093ygrp-reco #yiv5773632093reco-head {color:#ff7900;font-weight:700;}#yiv5773632093 #yiv5773632093ygrp-reco {margin-bottom:20px;padding:0px;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ov li a {font-size:130%;text-decoration:none;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ov ul {margin:0;padding:0 0 0 8px;}#yiv5773632093 #yiv5773632093ygrp-text {font-family:Georgia;}#yiv5773632093 #yiv5773632093ygrp-text p {margin:0 0 1em 0;}#yiv5773632093 #yiv5773632093ygrp-text tt {font-size:120%;}#yiv5773632093 #yiv5773632093ygrp-vital ul li:last-child {border-right:none !important;}#yiv5773632093

 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bls: [OpenCV] problem with cvSobel

opencv-users mailing list
there is sth wrong with the type of data of src and dst.


来自 魅蓝 metal

-------- 原始邮件 --------
发件人:"Nyoman Sutra [hidden email] [OpenCV]" <[hidden email]>
时间:周五 12月4日 18:01
收件人:[hidden email]
主题:Bls: [OpenCV] problem with cvSobel

>can you write your code ?
>
>
>
>    Pada Rabu, 11 November 2015 19:57, "Edgar Riba [hidden email] [OpenCV]" <[hidden email]> menulis:
>
>
>      check that size, number of channels and datatype from your input images are equal
>
> On 11/11/15 12:08, [hidden email] [OpenCV] wrote:
>  
>    hello freinds, i have this error message with the function cvSobel OpenCV Error: Assertion failed (src.size() == dst.size() && src.channels() == dst.channels() && ((src.depth() == CV_8U && (dst.depth() == CV_16S || dst.depth() == CV_32F)) || (src.depth() == CV_32F && dst.depth() == CV_32F))) in unknown function,  can you help me please.    
>
>  #yiv5773632093 #yiv5773632093 -- #yiv5773632093ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv5773632093 #yiv5773632093ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv5773632093 #yiv5773632093ygrp-mkp #yiv5773632093hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv5773632093 #yiv5773632093ygrp-mkp #yiv5773632093ads {margin-bottom:10px;}#yiv5773632093 #yiv5773632093ygrp-mkp .yiv5773632093ad {padding:0 0;}#yiv5773632093 #yiv5773632093ygrp-mkp .yiv5773632093ad p {margin:0;}#yiv5773632093 #yiv5773632093ygrp-mkp .yiv5773632093ad a {color:#0000ff;text-decoration:none;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ygrp-lc {font-family:Arial;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ygrp-lc #yiv5773632093hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ygrp-lc .yiv5773632093ad {margin-bottom:10px;padding:0 0;}#yiv5773632093 #yiv5773632093actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv5773632093 #yiv5773632093activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv5773632093 #yiv5773632093activity span {font-weight:700;}#yiv5773632093 #yiv5773632093activity span:first-child {text-transform:uppercase;}#yiv5773632093 #yiv5773632093activity span a {color:#5085b6;text-decoration:none;}#yiv5773632093 #yiv5773632093activity span span {color:#ff7900;}#yiv5773632093 #yiv5773632093activity span .yiv5773632093underline {text-decoration:underline;}#yiv5773632093 .yiv5773632093attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv5773632093 .yiv5773632093attach div a {text-decoration:none;}#yiv5773632093 .yiv5773632093attach img {border:none;padding-right:5px;}#yiv5773632093 .yiv5773632093attach label {display:block;margin-bottom:5px;}#yiv5773632093 .yiv5773632093attach label a {text-decoration:none;}#yiv5773632093 blockquote {margin:0 0 0 4px;}#yiv5773632093 .yiv5773632093bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv5773632093 .yiv5773632093bold a {text-decoration:none;}#yiv5773632093 dd.yiv5773632093last p a {font-family:Verdana;font-weight:700;}#yiv5773632093 dd.yiv5773632093last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv5773632093 dd.yiv5773632093last p span.yiv5773632093yshortcuts {margin-right:0;}#yiv5773632093 div.yiv5773632093attach-table div div a {text-decoration:none;}#yiv5773632093 div.yiv5773632093attach-table {width:400px;}#yiv5773632093 div.yiv5773632093file-title a, #yiv5773632093 div.yiv5773632093file-title a:active, #yiv5773632093 div.yiv5773632093file-title a:hover, #yiv5773632093 div.yiv5773632093file-title a:visited {text-decoration:none;}#yiv5773632093 div.yiv5773632093photo-title a, #yiv5773632093 div.yiv5773632093photo-title a:active, #yiv5773632093 div.yiv5773632093photo-title a:hover, #yiv5773632093 div.yiv5773632093photo-title a:visited {text-decoration:none;}#yiv5773632093 div#yiv5773632093ygrp-mlmsg #yiv5773632093ygrp-msg p a span.yiv5773632093yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv5773632093 .yiv5773632093green {color:#628c2a;}#yiv5773632093 .yiv5773632093MsoNormal {margin:0 0 0 0;}#yiv5773632093 o {font-size:0;}#yiv5773632093 #yiv5773632093photos div {float:left;width:72px;}#yiv5773632093 #yiv5773632093photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv5773632093 #yiv5773632093photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv5773632093 #yiv5773632093reco-category {font-size:77%;}#yiv5773632093 #yiv5773632093reco-desc {font-size:77%;}#yiv5773632093 .yiv5773632093replbq {margin:4px;}#yiv5773632093 #yiv5773632093ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv5773632093 #yiv5773632093ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv5773632093 #yiv5773632093ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv5773632093 #yiv5773632093ygrp-mlmsg select, #yiv5773632093 input, #yiv5773632093 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv5773632093 #yiv5773632093ygrp-mlmsg pre, #yiv5773632093 code {font:115% monospace;}#yiv5773632093 #yiv5773632093ygrp-mlmsg * {line-height:1.22em;}#yiv5773632093 #yiv5773632093ygrp-mlmsg #yiv5773632093logo {padding-bottom:10px;}#yiv5773632093 #yiv5773632093ygrp-msg p a {font-family:Verdana;}#yiv5773632093 #yiv5773632093ygrp-msg p#yiv5773632093attach-count span {color:#1E66AE;font-weight:700;}#yiv5773632093 #yiv5773632093ygrp-reco #yiv5773632093reco-head {color:#ff7900;font-weight:700;}#yiv5773632093 #yiv5773632093ygrp-reco {margin-bottom:20px;padding:0px;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ov li a {font-size:130%;text-decoration:none;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv5773632093 #yiv5773632093ygrp-sponsor #yiv5773632093ov ul {margin:0;padding:0 0 0 8px;}#yiv5773632093 #yiv5773632093ygrp-text {font-family:Georgia;}#yiv5773632093 #yiv5773632093ygrp-text p {margin:0 0 1em 0;}#yiv5773632093 #yiv5773632093ygrp-text tt {font-size:120%;}#yiv5773632093 #yiv5773632093ygrp-vital ul li:last-child {border-right:none !important;}#yiv5773632093
>
>  
Loading...