|
Re: CvSobel: msg#00257lib.opencv
Hello, >If I run following code... > IplImage* derivx = cvCreateImage(cvSize(width,height),IPL_DEPTH_16S,1); > IplImage* scaledderivx = cvCreateImage(cvSize(width,height),IPL_DEPTH_8U,1); > cvSobel(image2,derivx,1,0); You have to specify both x and y orders AND the aperture size, like: cvSobel(image2,derivx,1,0,1) - for x-first-derivatives and cvSobel(image2,derivx,0,1,1) - for y-first-derivatives. When the aperture size is 1, a three-sized window is employed but no gaussian blurring is performed in the result. Try that ... Leonardo -- Leonardo M. B. Claudino Laboratorio Metasys/DCC-UFMG Nucleo de Processamento Digital de Imagens NPDI/DCC-UFMG Laboratorio de Inteligencia e Tecnologia Computacional LITC/CPDEE-UFMG Change settings: http://www.yahoogroups.com/mygroups, select Get Emails (get all posts) Daily Digest (one summary email per day) Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe@xxxxxxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Re: feature vector: 00257, Pervez Ahmed |
|---|---|
| Next by Date: | [PATCH] Fix Python bindings location on x86_64: 00257, Simon Perreault |
| Previous by Thread: | Re: CvSobeli: 00257, Stefan Meyer |
| Next by Thread: | Re: CvSobel: 00257, Stefan Meyer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |