|
|
Rank: Newbie Groups: Member
Joined: 5/1/2008 Posts: 3 Points: 9
|
Hi,
I'm using the image uploader on a project and I have this question from a developer on the team:
How does the subsampling in the image uploader work? Can it do no-integer rate reductions and does it use a subsampling filter?
Regards,
Ross Buggins
|
|
Rank: Advanced Member Groups: Member
Joined: 9/19/2006 Posts: 353 Points: 180
|
Hi, 2x2 chroma subsampling is used. Quote:Can it do no-integer rate reductions and does it use a subsampling filter? Could you specify your question more detailed?
Best regards, Eugene Kosmin. Aurigma Development Team
|
|
Rank: Newbie Groups: Member
Joined: 1/17/2008 Posts: 8 Points: 24
|
As a further to the initial post I also have a question about this,
The images I get from the uploader are then used in image processing algorithms. To cut down on upload times the thumbnail for the image is uploaded reduced to about 800X1000, my question is what sampling is used to reduce the image size from original to smaller? Do you use integer sub sampling or an actual sub sampling filter? If you use a filter what filtering method do you use? If you don’t use a filtering method how do you deal with the aliasing that integer sub sampling will introduce?
Also what are the differences between the flags for uploadThumbnailResizeQuality? Does this take any additional filtering into account?
And one final question, can the uploader convert input files into gray scale and send these?
Many thanks for your help,
Regards,
J Healy
|
|
Rank: Advanced Member Groups: Member
Joined: 9/19/2006 Posts: 353 Points: 180
|
Hello, We don't use integer sampling (or so called nearest neighbour algorithm) - it produces awesome aliasing effects. When you set medium quality of resize -anisotropic interpolation is used. And so called "Bell filter" is used for high quality resampling. Quote:And one final question, can the uploader convert input files into gray scale and send these? No, unfortunately Image Uploader doesn't provide such funtionality.
Best regards, Eugene Kosmin. Aurigma Development Team
|
|
Rank: Newbie Groups: Member
Joined: 1/17/2008 Posts: 8 Points: 24
|
Many thanks for your answers Eugene,
Regards,
J Healy
|
|
Rank: Advanced Member Groups: Member
Joined: 9/19/2006 Posts: 353 Points: 180
|
You are welcome.
Best regards, Eugene Kosmin.
Aurigma Development Team
|
|
|
Guest |