gut-space / svarog

📡 A ground stations network for receiving satellite transmissions, using VHF, UHF, and more.
MIT License
9 stars 0 forks source link

Handle floating images in analog rating #58

Closed fivitti closed 3 years ago

fivitti commented 3 years ago

The analog noise estimator was designed using OpenCV. OpenCV loads an image as uint8 data type (values are integers in range 0-255). But the station we use Matplotlib to read the images. Matplotlib loads an image as float32 data type (values are floating-point numbers in range 0-1).

Now, the analog rating detects data type and scale data if needed.

It fixes a problem from #55 .

tomaszmrugalski commented 3 years ago

Pushed minor English improvement.