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



Hi Roland.
You can set the filtering mode to none on the source image and then scale the surface you are drawing it on.



Attachment: pixellate.qtz
Description: application/quartzcomposer


Or you could write a CIKernel which produces an image of a particular size which contains blocks representing single pixels from
your original image.
.xX


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? (See attachments)

Roland

A raw 8x8 tiff file is attached below as a sample source:<CCCCC_8.tiff>
The desired result is shown below:<Desired_Result.png>
The actual result is shown below:<Actual_Result.png>
_______________________________________________
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

 _______________________________________________
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>)



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.