CCD Image Processing: Issues & Solutions
description
Transcript of CCD Image Processing: Issues & Solutions
![Page 1: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/1.jpg)
CCD Image Processing:Issues & Solutions
![Page 2: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/2.jpg)
, ,r x y d x y
Correction of Raw Imagewith Bias, Dark, Flat Images
Flat Field Image
Bias Image
OutputImage
Dark Frame
Raw File ,r x y
,d x y
,f x y
,b x y
, ,f x y b x y
“Flat” “Bias”
“Raw” “Dark”
, ,, ,
r x y d x yf x y b x y
“Raw” “Dark”“Flat” “Bias”
![Page 3: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/3.jpg)
, ,r x y b x y
Correction of Raw Imagew/ Flat Image, w/o Dark Image
Flat Field Image
Bias Image
OutputImage
Raw File
,r x y
,f x y
,b x y , ,f x y b x y
“Flat” “Bias”
, ,, ,
r x y b x yf x y b x y
“Raw” “Bias”“Flat” “Bias”
“Raw” “Bias”
Assumes Small Dark Current(Cooled Camera)
![Page 4: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/4.jpg)
CCDs: Noise Sources• Sky “Background”
– Diffuse Light from Sky (Usually Variable)• Dark Current
– Signal from Unexposed CCD– Due to Electronic Amplifiers
• Photon Counting– Uncertainty in Number of Incoming Photons
• Read Noise– Uncertainty in Number of Electrons at a Pixel
![Page 5: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/5.jpg)
Problem with Sky “Background”• Uncertainty in Number of Photons from
Source– “How much signal is actually from the source
object instead of intervening atmosphere?
![Page 6: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/6.jpg)
Solution for Sky Background • Measure Sky Signal from Images
– Taken in (Approximately) Same Direction (Region of Sky) at (Approximately) Same Time
– Use “Off-Object” Region(s) of Source Image• Subtract Brightness Values from Object
Values
![Page 7: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/7.jpg)
Problem: Dark Current• Signal in Every Pixel Even if NOT Exposed
to Light– Strength Proportional to Exposure Time
• Signal Varies Over Pixels– Non-Deterministic Signal = “NOISE”
![Page 8: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/8.jpg)
Solution: Dark Current• Subtract Image(s) Obtained Without Exposing
CCD – Leave Shutter Closed to Make a “Dark Frame”– Same Exposure Time for Image and Dark Frame
• Measure of “Similar” Noise as in Exposed Image• Actually Average Measurements from Multiple Images
– Decreases “Uncertainty” in Dark Current
![Page 9: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/9.jpg)
Digression on “Noise”
• What is “Noise”?• Noise is a “Nondeterministic” Signal
– “Random” Signal– Exact Form is not Predictable– “Statistical” Properties ARE (usually)
Predictable
![Page 10: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/10.jpg)
Statistical Properties of Noise
1. Average Value = “Mean” 2. Variation from Average = “Deviation”
• Distribution of Likelihood of Noise– “Probability Distribution”
• More General Description of Noise than , – Often Measured from Noise Itself
• “Histogram”
![Page 11: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/11.jpg)
Histogram of “Uniform Distribution”• Values are “Real Numbers” (e.g., 0.0105)• Noise Values Between 0 and 1 “Equally” Likely• Available in Computer Languages
Var
iatio
n
Mea
n
Mean = 0.5
Mean
Variation
Noise Sample Histogram
![Page 12: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/12.jpg)
Histogram of “Gaussian” Distribution• Values are “Real Numbers”• NOT “Equally” Likely• Describes Many Physical Noise Phenomena
Mean = 0Values “Close to” “More Likely”
Var
iatio
n
Mea
n
Mean
Variation
![Page 13: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/13.jpg)
Histogram of “Poisson” Distribution• Values are “Integers” (e.g., 4, 76, …)• Describes Distribution of “Infrequent” Events,
e.g., Photon Arrivals
Mean = 4Values “Close to” “More Likely”
“Variation” is NOT Symmetric
Var
iatio
n
Mea
n
Mean
Variation
![Page 14: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/14.jpg)
Histogram of “Poisson” Distribution
Mean = 25
Var
iatio
n
Mea
n
Mean
Variation
![Page 15: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/15.jpg)
How to Describe “Variation”: 1
• Measure of the “Spread” (“Deviation”) of the Measured Values (say “x”) from the “Actual” Value, which we can call “”
• The “Error” of One Measurement is:
(which can be positive or negative) x
![Page 16: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/16.jpg)
Description of “Variation”: 2
• Sum of Errors over all Measurements:
Can be Positive or Negative• Sum of Errors Can Be Small, Even If Errors
are Large (Errors can “Cancel”)
n nn n
x
![Page 17: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/17.jpg)
Description of “Variation”: 3
• Use “Square” of Error Rather Than Error Itself:
Must be Positive
22 0x
![Page 18: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/18.jpg)
Description of “Variation”: 4• Sum of Squared Errors over all Measurements:
• Average of Squared Errors
2 2 0n nn n
x
2
21 0n
nn
n
x
N N
![Page 19: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/19.jpg)
Description of “Variation”: 5• Standard Deviation = Square Root of Average
of Squared Errors
2
0n
n
x
N
![Page 20: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/20.jpg)
Effect of Averaging on Deviation
• Example: Average of 2 Readings from Uniform Distribution
![Page 21: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/21.jpg)
Effect of Averaging of 2 Samples:Compare the Histograms
• Averaging Does Not Change • “Shape” of Histogram is Changed!
– More Concentrated Near – Averaging REDUCES Variation
0.289
Mean Mean
![Page 22: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/22.jpg)
Averaging Reduces
0.289 0.205
0.289 1.410.205
is Reduced by Factor:
![Page 23: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/23.jpg)
Averages of 4 and 9 Samples
0.144 0.096
0.289 2.010.144
0.289 3.010.096
Reduction Factors
![Page 24: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/24.jpg)
Averaging of Random Noise REDUCES the Deviation
Samples Averaged N = 2 N = 4 N = 9Reduction in Deviation
1.41 2.01 3.01
Observation: One Sample
Average of N Samples N
![Page 25: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/25.jpg)
Why Does “Deviation” Decrease if Images are Averaged?
• “Bright” Noise Pixel in One Image may be “Dark” in Second Image
• Only Occasionally Will Same Pixel be “Brighter” (or “Darker”) than the Average in Both Images
• “Average Value” is Closer to Mean Value than Original Values
![Page 26: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/26.jpg)
Averaging Over “Time” vs. Averaging Over “Space”
• Examples of Averaging Different Noise Samples Collected at Different Times
• Could Also Average Different Noise Samples Over “Space” (i.e., Coordinate x)– “Spatial Averaging”
![Page 27: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/27.jpg)
Comparison of Histograms After Spatial Averaging
Uniform Distribution = 0.5
0.289
Spatial Average of 4 Samples
= 0.5 0.144
Spatial Average of 9 Samples
= 0.5 0.096
![Page 28: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/28.jpg)
Effect of Averaging on Dark Current
• Dark Current is NOT a “Deterministic” Number– Each Measurement of Dark Current “Should
Be” Different– Values Are Selected from Some Distribution of
Likelihood (Probability)
![Page 29: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/29.jpg)
Example of Dark Current
• One-Dimensional Examples (1-D Functions)– Noise Measured as Function of One Spatial
Coordinate
![Page 30: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/30.jpg)
Example of Dark Current Readings
Var
iatio
n
Reading of Dark Current vs. Position in Simulated Dark Image #1
Reading of Dark Current vs. Position in Simulated Dark Image #2
![Page 31: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/31.jpg)
Averages of Independent Dark Current Readings
Var
iatio
n
Average of 2 Readings of Dark Current vs. Position
Average of 9 Readings of Dark Current vs. Position
“Variation” in Average of 9 Images 1/9 = 1/3 of “Variation” in 1 Image
![Page 32: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/32.jpg)
Infrequent Photon Arrivals
• Different Mechanism– Number of Photons is an “Integer”!
• Different Distribution of Values
![Page 33: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/33.jpg)
Problem: Photon Counting Statistics• Photons from Source Arrive “Infrequently”
– Few Photons• Measurement of Number of Source Photons
(Also) is NOT Deterministic– Random Numbers– Distribution of Random Numbers of “Rarely
Occurring” Events is Governed by Poisson Statistics
![Page 34: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/34.jpg)
Simplest Distribution of Integers
• Only Two Possible Outcomes:– YES– NO
• Only One Parameter in Distribution – “Likelihood” of Outcome YES– Call it “p”– Just like Counting Coin Flips– Examples with 1024 Flips of a Coin
![Page 35: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/35.jpg)
Example with p = 0.5
N = 1024Nheads = 511
p = 511/1024 < 0.5
String of Outcomes Histogram
![Page 36: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/36.jpg)
N = 1024Nheads = 522
= 522/1024 > 0.5
String of Outcomes Histogram
Second Example with p = 0.5
“H”“T”
![Page 37: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/37.jpg)
What if Coin is “Unfair”?p 0.5
String of Outcomes Histogram“H”“T”
![Page 38: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/38.jpg)
What Happens to Deviation ?
• For One Flip of 1024 Coins:– p = 0.5 0.5– p = 0 ?– p = 1 ?
![Page 39: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/39.jpg)
Deviation is Largest if p = 0.5!
• The Possible Variation is Largest if p is in the middle!
![Page 40: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/40.jpg)
Add More “Tosses”
• 2 Coin Tosses More Possibilities for Photon Arrivals
![Page 41: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/41.jpg)
N = 1024
= 1.028
String of Outcomes Histogram
Sum of Two Sets with p = 0.5
3 Outcomes: • 2 H• 1H, 1T (most likely)• 2T
![Page 42: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/42.jpg)
N = 1024
String of Outcomes Histogram
Sum of Two Sets with p = 0.25
3 Outcomes: • 2 H (least likely)• 1H, 1T• 2T (most likely)
![Page 43: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/43.jpg)
Add More Flips with “Unlikely” Heads
Most “Pixels” Measure 25 Heads (100 0.25)
![Page 44: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/44.jpg)
Add More Flips with “Unlikely” Heads (1600 with p = 0.25)
Most “Pixels” Measure 400 Heads (1600 0.25)
![Page 45: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/45.jpg)
Examples of Poisson “Noise”Measured at 64 Pixels
Average Value = 25 Average Values = 400AND = 25
1. Exposed CCD to Uniform Illumination2. Pixels Record Different Numbers of Photons
![Page 46: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/46.jpg)
“Variation” of Measurement Varies with Number of Photons
• For Poisson-Distributed Random Number with Mean Value = N:
• “Standard Deviation” of Measurement is:
= N
![Page 47: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/47.jpg)
Average Value = 400Variation = 400 = 20
Histograms of Two Poisson Distributions
= 25 =400
Variation VariationAverage Value = 25Variation = 25 = 5
(Note: Change of Horizontal Scale!)
![Page 48: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/48.jpg)
“Quality” of Measurement of Number of Photons
• “Signal-to-Noise Ratio”– Ratio of “Signal” to “Noise” (Man, Like What Else?)
SNR
![Page 49: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/49.jpg)
Signal-to-Noise Ratio for Poisson Distribution
• “Signal-to-Noise Ratio” of Poisson Distribution
• More Photons Higher-Quality Measurement
NSNR NN
![Page 50: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/50.jpg)
Solution: Photon Counting Statistics• Collect as MANY Photons as POSSIBLE!!• Largest Aperture (Telescope Collecting Area)• Longest Exposure Time • Maximizes Source Illumination on Detector
– Increases Number of Photons• Issue is More Important for X Rays than for
Longer Wavelengths– Fewer X-Ray Photons
![Page 51: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/51.jpg)
![Page 52: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/52.jpg)
Problem: Read Noise• Uncertainty in Number of Electrons Counted
– Due to Statistical Errors, Just Like Photon Counts• Detector Electronics
![Page 53: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/53.jpg)
Solution: Read Noise• Collect Sufficient Number of Photons so that
Read Noise is Less Important Than Photon Counting Noise
• Some Electronic Sensors (CCD-“like” Devices) Can Be Read Out “Nondestructively”– “Charge Injection Devices” (CIDs)– Used in Infrared
• multiple reads of CID pixels reduces uncertainty
![Page 54: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/54.jpg)
CCDs: artifacts and defects1. Bad Pixels
– dead, hot, flickering…
2. Pixel-to-Pixel Differences in Quantum Efficiency (QE)
– 0 QE < 1 – Each CCD pixel has its “own” unique QE– Differences in QE Across Pixels Map of CCD “Sensitivity”
• Measured by “Flat Field”
# of electrons createdQuantum Efficiency # of incident photons
![Page 55: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/55.jpg)
CCDs: artifacts and defects3. Saturation
– each pixel can hold a limited quantity of electrons (limited well depth of a pixel)
4. Loss of Charge during pixel charge transfer & readout
– Pixel’s Value at Readout May Not Be What Was Measured When Light Was Collected
![Page 56: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/56.jpg)
Bad Pixels
• Issue: Some Fraction of Pixels in a CCD are:– “Dead” (measure no charge)– “Hot” (always measure more charge than collected)
• Solutions:– Replace Value of Bad Pixel with Average of Pixel’s
Neighbors– Dither the Telescope over a Series of Images
• Move Telescope Slightly Between Images to Ensure that Source Fall on Good Pixels in Some of the Images
• Different Images Must be “Registered” (Aligned) and Appropriately Combined
![Page 57: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/57.jpg)
Pixel-to-Pixel Differences in QE
• Issue: each pixel has its own response to light• Solution: obtain and use a flat field image to
correct for pixel-to-pixel nonuniformities– construct flat field by exposing CCD to a uniform
source of illumination • image the sky or a white screen pasted on the dome
– divide source images by the flat field image• for every pixel x,y, new source intensity is now S’(x,y)
= S(x,y)/F(x,y) where F(x,y) is the flat field pixel value; “bright” pixels are suppressed, “dim” pixels are emphasized
![Page 58: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/58.jpg)
Issue: Saturation• Issue: each pixel can only hold so many electrons (limited
well depth of the pixel), so image of bright source often saturates detector– at saturation, pixel stops detecting new photons (like overexposure)– saturated pixels can “bleed” over to neighbors, causing streaks in image
• Solution: put less light on detector in each image– take shorter exposures and add them together
• telescope pointing will drift; need to re-register images• read noise can become a problem
– use neutral density filter• a filter that blocks some light at all wavelengths uniformly• fainter sources lost
![Page 59: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/59.jpg)
Solution to Saturation• Reduce Light on Detector in Each Image
– Take a Series of Shorter Exposures and Add Them Together
• Telescope Usually “Drifts” – Images Must be “Re-Registered”
• Read Noise Worsens
– Use Neutral Density Filter• Blocks Same Percentage of Light at All Wavelengths• Fainter Sources Lost
![Page 60: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/60.jpg)
Issue: Loss of Electron Charge• No CCD Transfers Charge Between Pixels
with 100% Efficiency– Introduces Uncertainty in Converting to Light
Intensity (of “Optical” Visible Light) or to Photon Energy (for X Rays)
![Page 61: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/61.jpg)
• Build Better CCDs!!!• Increase Transfer Efficiency
• Modern CCDs have charge transfer efficiencies 99.9999%– some do not: those sensitive to “soft” X Rays
• longer wavelengths than short-wavelength “hard” X Rays
Solution to Loss of Electron Charge
# of electrons transferred to next pixelTransfer Efficiency # of electrons in pixel
![Page 62: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/62.jpg)
Digital Processing of Astronomical Images
• Computer Processing of Digital Images• Arithmetic Calculations:
– Addition– Subtraction– Multiplication– Division
![Page 63: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/63.jpg)
Digital Processing
• Images are Specified as “Functions”, e.g., r [x,y]
means the “brightness” r at position [x,y]• “Brightness” is measured in “Number of Photons”• [x,y] Coordinates Measured in:
– Pixels – Arc Measurements (Degrees-ArcMinutes-ArcSeconds)
![Page 64: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/64.jpg)
• “Summation” = “Mathematical Integration”• To “Average Noise”
Sum of Two Images
1 2, , ,r x y r x y g x y
![Page 65: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/65.jpg)
• To Detect Changes in the Image, e.g., Due to Motion
Difference of Two Images
1 2, , ,r x y r x y g x y
![Page 66: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/66.jpg)
• m[x,y] is a “Mask” Function
Multiplication of Two Images
, , ,r x y m x y g x y
![Page 67: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/67.jpg)
• Divide by “Flat Field” f[x,y]
Division of Two Images
,
,,
r x yg x y
f x y
![Page 68: CCD Image Processing: Issues & Solutions](https://reader036.fdocuments.in/reader036/viewer/2022062501/5681679c550346895ddcdea1/html5/thumbnails/68.jpg)
Data Pipelining• Issue: now that I’ve collected all of these images,
what do I do?• Solution: build an automated data processing pipeline
– Space observatories (e.g., HST) routinely process raw image data and deliver only the processed images to the observer
– ground-based observatories are slowly coming around to this operational model
– RIT’s CIS is in the “data pipeline” business• NASA’s SOFIA• South Pole facilities