I'm using QC & Cocoa to process digitized video at tiny scales, 2x2,
4x4, 8x8, 16x16, for a computer vision system. I need to enlarge the
tiny images on the screen to 800x800, so that each pixel, now
displayed as a block, can be clearly seen and examined. I'm trying
to use CIAffineTransform to do this, but it seems to have the
unfortunate side effect of blurring the image so much that the
individual pixel "blocks" can no longer be seen. Instead, it's a
large, blurry blob.
Is there a way to enlarge tiny images, with CIAffineTransform or
other filters, without the blurring?
send -setImageInterpolation:NSImageInterpolationNone to the graphics
context in which you're drawing.