The task is to correct image files for Visible scanning sensors that due to errant tolerancing produce vignetted(V) images. The V artifact is in a converging ray bundle and only the edges are impacted to differing amounts. The obscuration varies cross-scan but is constant for all samples. Sensor package repair is cost prohibitive. Luckily, the Image Processing is Matlab based and needs only a fast function to perform the V adjustment good enough for govt work.
Output: Fixed image(Fimg) (Array <= 512x512 of type double)
Input: Vignetted Image file(Vimg) (double); Obscuration (1xncol)
Tolerance: Good enough is 1%+1 count of Truth (Timg)
Obscuration: Max is 25% at edge, Min 8 columns wide.
Vignetted Image creation: Start with Truth (Timg)
Vimg = Timg(1-Obscuration)
example: Obs = [.25 .1 0...0 .1 .25]; obs [50 20 0...0 20 50];
load penny.mat; Timg=double(P);
Vimg=Timg.*repmat(1-Obs,128,1)
The Cody "Image processing 001" for an IR and using In-scene data was not intended to be so complex. This and its successor should have appeared prior to "001".
This Visible Vignetting correction is very direct.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers14
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2573 Solvers
-
Sum of diagonal of a square matrix
1640 Solvers
-
Create a square matrix of multiples
500 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
651 Solvers
-
Basics: 'Find the eigenvalues of given matrix
439 Solvers
More from this Author306
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!