|
From: <a_g...@ya...> - 2003-06-27 13:20:52
|
Well, it looks like the graphics driver in the lower layer on accepts one pixel's data described as a byte or unsigned char, that was the case atleast where the code was written. Now you first need to find out how the graphics driver deals with the pixel data. Only then will changing this part of the code make any sense. Look for how RGB or YPrPb or YCrCb components have been described.Then, if your graphics driver supports 16bit pixels, you can safely change the typedefs or modify the function :-) > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Inge Jonckheere > Sent: Thursday, June 26, 2003 5:56 PM > To: dev...@li... > Subject: [Dev-C++] Help!! > > > Dear all, > > As a beginner, I really would appreciate your help! I am > trying to work with > Xite for image processing, actually I try to threshold > images. I have the > code in C++ for unsigned byte images, but mine are unsigned > short (16 bits), > so I have a problem.. > I really need to keep the 16-bits, so I > need to change > the code.. > Does anybody knows what IBAND as a variable is?? Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users Thanx and Regards Avik Ghose SMS using the Yahoo! Messenger;Download latest version. |