Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CIAffineTransform blurs images



On Feb 10, 2007, at 11:19 PM, John C. Randolph wrote:

On Feb 8, 2007, at 4:25 PM, Roland Torres wrote:

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.

Hmm. Adding this call in numerous places doesn't seem to make a difference. Is there a certain time or location the call should be issued?


Roland

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >CIAffineTransform blurs images (From: Roland Torres <email@hidden>)
 >Re: CIAffineTransform blurs images (From: "John C. Randolph" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.