Mailing Lists: Apple Mailing Lists

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

Cropping problem



Hi all,

I am doing some processing on an image in qc. The image is 80x60 (width*height), and one line is enough to contain the results, i.e. a 80x1 image.

I would like QC/Core Image to understand that and only do the computations once, for one line.

I programmed a kernel which does the results independantly of the height coordinate (then same value in each column) and tried to crop it to 80x1.

Although I get this weird behavior with the cropping patch: it seems to zero out pixels on the left and right of the image as I am cropping vertically.
In the image below, the "input image" is the image which comes as a result of my processing and is used as an input for the cropping patch. The other images shows what is happening after going through the cropping patch.


Any idea of what it is going on?
Or on other ways to get a width*1 output from a width*height input?

Thanks a lot!

Kevin

JPEG image

 _______________________________________________
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



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.