Issue regarding Lanczos and Mitchell Filters

the software that eases your everyday life with your digital pictures

Issue regarding Lanczos and Mitchell Filters

Postby *K*T*C* » Tue May 04, 2004 12:49 pm

Hi,

I noticed some problem with the Lanczos and Mitchell filters. It looks to me like they might produce color values that are out of range and aren't rounded correctly. I uploaded some pictures to illustrate this behaviour (although it can be perceived on many photos, I thought I'd choose one of a pretty girl :lol:).

The bicubic version looks as expected, but the Lanczos and and Mitchell filtered versions show some more or less apparent artifacts at the saxophone and most apparently on this small silver plate attached to the lace holding the saxophone:

In case you want to reproduce it, here is the original image (careful, 1.4MB). It was scaled down to 480x640 and saved as a JPEG with quality setting 85 to produce the above images. Oh, and I am using cam2pc version 4.3.0.

Best,
Michael
*K*T*C*
 
Posts: 3
Joined: Tue May 04, 2004 12:11 pm
Location: Germany

Postby *K*T*C* » Fri May 07, 2004 10:12 am

Hey,
any comments? Did noone else encounter this problem? Or isn't it a problem at all and I am just too stupid? Please tell me...

Michael
*K*T*C*
 
Posts: 3
Joined: Tue May 04, 2004 12:11 pm
Location: Germany

Postby nabocorp » Fri May 07, 2004 3:54 pm

Sorry, I did not have time to look at this. Will try this week-end!

Regards,
nabocorp
nabocorp
Site Admin
 
Posts: 627
Joined: Thu Nov 07, 2002 6:46 pm

Postby nabocorp » Fri May 07, 2004 9:47 pm

Fixed! This will be in 4.3.2.

Regards,
nabocorp
nabocorp
Site Admin
 
Posts: 627
Joined: Thu Nov 07, 2002 6:46 pm

Postby *K*T*C* » Fri May 07, 2004 10:01 pm

That was quick! Thanks.
Just out of curiosity, was it what is suspected?

Best,
Michael
*K*T*C*
 
Posts: 3
Joined: Tue May 04, 2004 12:11 pm
Location: Germany

Postby nabocorp » Sat May 08, 2004 7:32 am

Color values range from 0 to 255 for each channel (RGB). I was just putting values from 0 to 256 instead of 255. And 256 becomes 0. So when you should have an almost white pixel I could have (254, 256, 256) which becomes (254, 0, 0) which is a red pixel!

Hope you understand what I mean!

Regards,
nabocorp
nabocorp
Site Admin
 
Posts: 627
Joined: Thu Nov 07, 2002 6:46 pm

Postby nabocorp » Sat May 08, 2004 7:36 am

BTW, for information for people who do not know. 0 to 255 for a channel is 256 possibilities. 256 can be coded on 8 bits (or 1 byte). As you have 3 channels, that's why we say that your camera outputs 3*8 = 24 bits per pixel images.

High-end cameras are able to produce 48 bits image: 16 bits per channel. In that case, color values can have 2^16 = 65536 different values ie. range from 0 to 65535.

nabocorp
nabocorp
Site Admin
 
Posts: 627
Joined: Thu Nov 07, 2002 6:46 pm


Return to cam2pc

Who is online

Users browsing this forum: Bing [Bot] and 48 guests