NCAR / ucomp-pipeline

Data processing pipeline for UCoMP
Other
6 stars 3 forks source link

Create false color temperature images #81

Closed mgalloy closed 1 year ago

mgalloy commented 1 year ago

Create two false color images per day (R-G-B):

Requirements:

Annotations:

mgalloy commented 1 year ago

From @jburkepile:

Occulter sizes:

I made scans of the UCoMP occulter radius in different wavelengths in IDL and here is what I got:

From the ballpark measurements I made in IDL for the occulter radii I get:

Unsharp Mask:

img637 = unsharp_mask(img637, radius=5, amount=1)
img1074 = unsharp_mask(img1074, radius=5, amount=4)
img789 = unsharp_mask(img789, radius=5, amount=4)

I do not apply anything to 706. It enhances the noise as much as the corona (in my opinion).

Intensity scaling:

Cooler line image:

tv, bytscl(img1074^0.5, 0, 10)
tv, bytscl(img789(12:1291, 10:1033)^0.5, 0, 7)
tv, bytscl(img637(23:1302, 18:1041)^0.5, 0, 5)

Hotter line image:

tv, bytscl(img706(11:1290, 11:1035)^0.5, 0.2, 3.0)  

FOR 706: need to write mask occulter in 706 to block out unwanted scattered light:

tvcircle, 340, 639, 510, 0, /fill

tv, bytscl(img1074^0.5, 0, 10)
tv, bytscl(img789(12:1291, 10:1033)^0.5, 0, 7)
mgalloy commented 1 year ago

After fixing the indexing, I believe the temperature maps created from the mean/median files are correct now.

Using Joans method, I have also recently started performing the enhanced intensity (UNSHARP_MASK) on most of the channels (637 706 nm does not have enough signal to do it).

mgalloy commented 1 year ago

We also need a way to create temperature maps over the day, and hence movies, but that is probably another issue. See #107.

jburkepile commented 1 year ago

The 637 does have enough signal to perform an unsharp mask. ... you just want to set the amount = 1. The line that doesn't have enough signal-to-noise is the 706. Don't use unsharp mask on 706. For the 1074 and 789 lines you can set the amount = 4

I use radius = 5 for 637, 789 and 1074.

mgalloy commented 1 year ago

I wrote the wrong thing in the comment above, but the code is correct. It enhances the other lines, but not 706 nm.