|
Re: CvSobel: msg#00259lib.opencv
Hello, I have problems accesing the pixel correctly. How Ca I access a pixel value of a 32F IplImage? Best Regards Stefan Am Dienstag, 7. März 2006 16:21 schrieb Leonardo Max Batista Claudino: > 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 -- Stefan Meyer Phone: +49 9131 85-25158 Fax: +49 9131 85-25149 University of Erlangen-Nuremberg Department of Computer Science 12 (Hardware-Software-Co-Design) Am Weichselgarten 3 D-91058 Erlangen Germany 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: | [PATCH] Fix Python bindings location on x86_64: 00259, Simon Perreault |
|---|---|
| Next by Date: | Re: CvSobel: 00259, Parameswaran |
| Previous by Thread: | Re: CvSobeli: 00259, Leonardo Max Batista Claudino |
| Next by Thread: | Re: CvSobel: 00259, Parameswaran |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |