GetImagePart

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Ginger Perng (gperng@ece.cmu.edu)
Date: 01/31/03


Hi.

I am trying to use GetImagePart after I get the coordinates from
FindUniqueSquare4 to extract the image from the webcam picture. However,
I am running into the problem of

OpenCV Error: Sizes of input arguments do not match
        in function [cvcolor.cpp:649]:cvCvtColor():

OpenCV: terminating the application

p0: 64, 176 -- p1: 64, 285 -- p2: 165, 285 -- p3: 165,176
64, 176, 101, 109

The p0-p1 are the CvPoints that I got from FindUniqueSquare4 and the last
four points are the x,y, width, and height values that I tried to use to
make GetImagePart work. It doesn't seem to barf on GetImagePart, but when
I try to display the image, that is when I get the previous error. Do you
know what could be wrong? Thanks

Ginger


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : 06/10/04 EDT