AnsweredAssumed Answered

Problem with access images??

Question asked by cyndwith on Jun 29, 2012
Latest reply on Jun 29, 2012 by nou

i have been trying to employ some basic image processing operation using openCL...


i see that image can be stored in uchar4 array....i see that my bmp image is just 24 bit...will it be a problem??


and when i try to generate histgram for each color layer of the image RGB...i get un expected results..


I store the image data in uchar4* imageData, and try to access it through...imageData.x, imageData.y etc....


i observe that when ever there is a change in the value of imageData.z histogram it is reflected in the imageData.y histogram??

am unable to find the fault...


can anyone help me...thank you in advance!!!