You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I ran equalizer on an image set with some images held and some allowed to be altered by the equalizer program. The adjust parameter was set to gain, therefore the function used to adjust the images is:
output = input * gain
However, the output statistics file from this run contained an extra coefficient (AVERAGE) that should be 0.0:
As you can see, there is a gain and average value present in this file. I checked and the band math is correct and only the gain value is used and the average is ignored. So, the correction to the image is being applied the right way with adjust = gain, but the output statistics are misleading.
I looked at the code and it does appear to be doing the correct math, just reporting the wrong thing. I'd rather the output the proper equation and only mention the values used. So, it would look like this:
# Formula: newDN = oldDN * GAIN
# BandN = GAIN
Group = Normalization
FileName = Images_band1/image1.cub
Band1 = 1.0066179898722
End_Group
This better matches the equations from the application documentation:
ISIS version(s) affected: 3.10.2
Description
I ran equalizer on an image set with some images held and some allowed to be altered by the equalizer program. The adjust parameter was set to gain, therefore the function used to adjust the images is:
output = input * gain
However, the output statistics file from this run contained an extra coefficient (AVERAGE) that should be 0.0:
As you can see, there is a gain and average value present in this file. I checked and the band math is correct and only the gain value is used and the average is ignored. So, the correction to the image is being applied the right way with adjust = gain, but the output statistics are misleading.
The first entry should look like this:
The text was updated successfully, but these errors were encountered: