Free Chromatic Aberration Correction Software at DVinfo.net
DV Info Net

Go Back   DV Info Net > High Definition Video Acquisition > General HD (720 / 1080) Acquisition

General HD (720 / 1080) Acquisition
Topics about HD production.

Reply
 
Thread Tools Search this Thread
Old February 22nd, 2006, 09:00 AM   #1
Major Player
 
Join Date: Feb 2005
Location: San Diego, CA
Posts: 216
Free Chromatic Aberration Correction Software

Hi Everybody,

Various folks have been less than happy with the chromatic aberration (CA) seen on some of the new HD cameras at the ends of the zoom ranges. There is software available which allows the independent radial scaling of the RGB channels of STILL images to partially correct this CA, but I haven't found anything available for video.

So I decided to write my own VirtualDub filter/plugin to do this. And now I'm making it available to all of you, for free of course. :)

You need to be running VirtualDub. The filter plugin, called "CA Correct", can be downloaded at
http://dsp.ucsd.edu/~wgardner/VirtualDub.htm

I've copied the user notes from that site below: be sure to read them and use this correctly!

I hope some folks find this helpful.
Cheers,
Bill
----------------------------
Chromatic Aberration Correction (CA Correct)

What it does: This filter allows you to radially scale (i.e., zoom) the R, G, and B channels of a video stream with independent scale factors. This can be used to correct radial chromatic aberration.

For example, if white objects have a green inner border, then scale the green channel outward with a scale factor >1 to overlay the green channel with the other channels as best as possible. This is similar to what is offered in a number of software packages for still images.

Notes:

1. Since this is radially scaling a frame, it should be used with PROGRESSIVE video. Otherwise, strange blending of fields will occur.

2. To use with INTERLACED video, first apply your best deinterlacer, then use CaCorrect, then reinterlace if necessary.

3. You have to zoom IN on particular channels for correction. Zooming OUT is not permitted, as this would create border effects at the edges of the video.

4. Since the CA is roughly constant only at a fixed zoom position, this software won't be useful for shots where the zoom setting is changing substantially during the shot.

5. And this only does radial correction. Any non-uniform, non-radial aberration won't be able to be corrected by this software.
William Gardner is offline   Reply With Quote
Old February 22nd, 2006, 09:07 AM   #2
Major Player
 
Join Date: Jan 2003
Location: Richmond, Virginia
Posts: 263
That's incredible William. People like you are what makes this a great community!!!

I've not personally purchased one of the new mini-HD cams yet. My company is expecting the arrival of an H1 soon, I'm still waiting on NAB, but am thankful that there are generous people such as yourself willing to give up their blood and sweat for the benefit of all.

Thanks again!!!

Tim
Tim Brown is offline   Reply With Quote
Old December 15th, 2006, 12:38 PM   #3
Trustee
 
Join Date: Jun 2005
Location: Hollywood, CA
Posts: 1,675
Images: 1
How do you use this when the chroma aberration is on the outside? I've tried scaling up the R and G channels because I'm getting blue fringes on contrasty lines, but I see absolutely no difference...adding the filter makes the progress window when rendering out appear for a split-second and then disappear as if it's done already. Any kind of bug you can fix?
__________________
BenWinter.com
Ben Winter is offline   Reply With Quote
Old December 15th, 2006, 06:18 PM   #4
Inner Circle
 
Join Date: Dec 2003
Location: PERTH. W.A. AUSTRALIA.
Posts: 4,476
As already advised in point 5 of the initial post, this method may not work as well with footage originated on cameras which do not have the optical centre of radii coincident with the centre of radii generated by the correction software.

Dealing with that would require software becomes capable of self-generating and then mapping from a movable centre, preferably one that generated initially from camera-specific presets like capture software does, then fine tuned itself.

In these instances the CA correction will not be as effectively applied evenly across the whole frame.

Variation between the lens optical centre axis and centre of CCD across camera types and brands exists.

The construction method used in some
lens-in-camera types means there can be variation across a single camera type due to movement or distortion of casework in use and from abuse.

So if results are inconsistent across the entire frame with CA remaining in areas of the frame which mirror each other, don't go after the software writer. There are practical limits to the degree miracles can be wrought.

I am not a industry professional or software writer so if there is anything in my comment which is patently wrong, please slap me down (gently for a soft landing, not "stretched senseless on the floor"**) with an appropriately worded correction.

**excerpt from "How Green is my Valley"
Bob Hart is offline   Reply With Quote
Old September 16th, 2007, 12:53 AM   #5
Regular Crew
 
Join Date: Jun 2007
Location: Belo Horizonte BRAZIL
Posts: 154
Ca Correct

Hi, William,

I found your thread about the ca correct in my searches... this solution you developed seems to be amazing. There is a video with the ca problem that I would like to show you. It is a radial ca, so I think your plug in would work. I would like to try it but the download link is broken. If you want to see the video and the thread about this go to:

http://www.dvinfo.net/conf/showthread.php?t=103629

thanks

Adriano
Adriano Apefos is offline   Reply With Quote
Old September 16th, 2007, 05:22 PM   #6
Trustee
 
Join Date: Feb 2006
Location: Niagara Ontario Canada
Posts: 1,121
The link to William's page no longer seems to work. Anyone have this plugin?
David Delaney is offline   Reply With Quote
Old September 17th, 2007, 10:20 PM   #7
Major Player
 
Join Date: Feb 2005
Location: San Diego, CA
Posts: 216
Hi Guys,

Sorry for the delay, I had to dig around to find the plugin on a different computer. It is now uploaded to the following link:

http://www.wrgardner.com/CaCorrect.vdf

I just this week saw the post above reporting a problem with it. If other folks have similar problems please let me know and I'll check it out.

Bill
William Gardner is offline   Reply With Quote
Old July 6th, 2008, 11:57 PM   #8
Tourist
 
Join Date: Jul 2008
Location: China
Posts: 1
Canon XH-A1

Dear William, thank you very much. Good work. If I try use it for Canon XH-A1, CA on x-axis can be compensated. But XH-A1 has relatively small CA on y-axis. Therefore, if I compensate x-axis CA, y-axis CA will be much worth, then without any compensation. So I want ask you, will be possible produce modified ca correction plug-in with linear CA compensation in x-axis (or independent in x and y axis)?
Thanks
Sun Yang is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

B&H Photo Video
(866) 521-7381
New York, NY USA

Scan Computers Int. Ltd.
+44 0871-472-4747
Bolton, Lancashire UK


DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > High Definition Video Acquisition > General HD (720 / 1080) Acquisition

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 



All times are GMT -6. The time now is 10:32 PM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network