Accessing Pixel Data in a CIImage

Discussion in 'Mac Programming' started by cblackburn, Feb 27, 2007.

  1. macrumors regular

    Joined:
    Jul 5, 2005
    Location:
    London, UK
    #1
    Hey everyone,

    I have a program that manipulates some images using Core Image but now I need to access data about individual pixels from the image. What is the best way to do this? Do I need to pull the image down from the GPU? If so then how do I do that?

    Thanks

    Chris
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
  3. thread starter macrumors regular

    Joined:
    Jul 5, 2005
    Location:
    London, UK
    #3
    Trouble is that will convert it to an NSImage but when I try to get an NSBitmapImageRep from it to read individual pixel data it crashes saying it cannot do that.

    I only want to read the data at certain pixels, I don't need to change it.

    Chris
     

Share This Page