Commit graph

88 commits

Author SHA1 Message Date
Jamie Vital
45b860a28f Honor saved border/city color everywhere in viewer 2023-10-14 13:06:21 -04:00
Aang23
9b3060873c Fix a lego11-favourite bug 2023-10-04 00:48:56 +02:00
Aang23
97d941c384 Old algo back 2023-10-01 22:15:14 +02:00
Aang23
3103810d9b GEOs working in viewer 2023-09-30 09:35:44 +02:00
Aang23
71baf6dae9 Better error handling 2023-09-29 23:51:10 +02:00
Aang23
b94de78445 Remove timestamp and tle check for projs 2023-09-29 23:50:23 +02:00
Aang23
407072ba5d Old metadata system is going away 2023-09-29 23:21:43 +02:00
Aang23
d72f7415f7 Goodbye, crappy projection algo from all the way back from pre-1.0.0 2023-09-29 22:11:28 +02:00
Jamie
a7c2de15e5 Fix default extension in viewer on non-Windows OSs 2023-09-26 00:02:27 -04:00
Jamie Vital
035407a4bf Make Save As dialog honor Processed Image Format 2023-09-25 23:36:38 -04:00
Jamie Vital
15aeb83661 Rework file widget to prevent partial hang 2023-09-24 09:14:16 -04:00
Aang23
10243a8bd7 Edit wording a bit 2023-09-08 14:51:08 +02:00
Aang23
1f913b9c3a
Merge pull request #370 from baskiton/master
Choose other cities types/size instead Capitals only and draw on map overlay
2023-09-08 14:42:14 +02:00
baskiton
077437e9c3 Add configuring map/cities overlay to result rgb-composites.
Result images will be saved to a separate file with "_map" suffix instead of the main image.

Configure options:

| Name           | Type    | Default     | Description           |
|----------------|---------|-------------|-----------------------|
| map_overlay    | Boolean | `false`     | Draw countries border |
| cities_overlay | Mapped  | `NONE`      | Draw cities           |

`cities_overlay`:

| Name           | Type    | Default     | Description                                                                |
|----------------|---------|-------------|----------------------------------------------------------------------------|
| color          | Array   | `[0, 1, 0]` | RGB float-array (0.0 - 1.0)                                                |
| font_size      | Number  | `50`        | Cities font size                                                           |
| type           | String  | `capitals`  | Cities type. See below                                                     |
| scale_rank     | Number  | `3`         | **Only for `all` type**. 0-10. The more, the smaller cities will be drawn. |

Cities `type` is one of:
* `capitals` - Draw only Capitals
* `rcapitals` - Draw Capitals and Administrative centers
* `all` - Draw all cities by Scale Rank

Example:
```json
...
"map_overlay": true,
"cities_overlay": {
    "color": [0.85, 1, 0],
    "font_size": 24,
    "type": "rcapitals",
    "scale_rank": 6
}
...
```
2023-09-05 02:40:13 +07:00
Aang23
f86f89b568 Equ changes 2023-09-04 18:00:34 +02:00
baskiton
3543b54f6f Choose other cities types/size instead Capitals only, in Viewer only.
* Capital Only: Draw only Capitals
* Regional Capital Also: Draw Capitals and Administrative centers
* All (by Scale Rank): Draw all cities by Scale Rank. The higher the "Scale Rank", the smaller cities will be drawn.
2023-08-26 16:44:25 +07:00
Aang23
5a3c9b37d9 Fix a few bugs from lego11 2023-08-21 22:02:29 +02:00
Aang23
d7b2a38fa9 Lego found a bug in seconds 2023-08-21 18:50:14 +02:00
Aang23
f953276003 Add SST for AVHRR, fix some calibration stuff 2023-08-14 15:40:35 +00:00
Jamie Vital
426ba6776e Integrate JPEG 2000 2023-08-05 21:15:31 -04:00
Jamie Vital
d340c676d2 Enable saving files from viewer as jpeg 2023-08-02 15:25:22 -04:00
Jamie Vital
54795d6e31 Fix PFD on Windows 2023-07-31 22:06:35 -04:00
Aang23
25199ecba0 Pushed basic LUT stuff 2023-07-05 23:25:38 +02:00
Aang23
9c5ec7df3c Prevent crash on 0 channel 2023-06-28 22:50:42 +02:00
Aang23
2458e205e1 Allow configuring default input/output dirs 2023-05-20 19:19:44 +02:00
Aang23
f7cac23a3e Goodbye libfmt 2023-05-08 23:08:34 +02:00
ZbychuButItWasTaken
c5b88751c1 finnish up the font 2023-03-18 23:49:29 +01:00
ZbychuButItWasTaken
52caa43c66 flip the scale if image is inverted 2023-02-02 23:11:48 +01:00
Aang23
c755ba65d5 Use a much better resampler 2023-01-31 02:37:41 +01:00
ZbychuButItWasTaken
f85c380571 fix calib tooltip when image is corrected 2023-01-28 21:46:16 +01:00
Aang23
daaf99c8a0 Calib progress bar 2023-01-24 15:21:47 +01:00
Aang23
70cdef8a78 Change handling of different calib output types 2023-01-24 13:42:51 +01:00
Aang23
cb60105465 Don't crash on composites 2023-01-23 15:13:25 +01:00
Aang23
f22a20874d Minor changes 2023-01-22 20:44:44 +01:00
ZbychuButItWasTaken
b054e77436 fix compiler warnings 2023-01-22 19:41:48 +01:00
ZbychuButItWasTaken
34ff0dca0d fix some bugs 2023-01-22 19:08:49 +01:00
ZbychuButItWasTaken
f47201d460 add scale display 2023-01-22 18:21:08 +01:00
ZbychuButItWasTaken
0674ae17e9 add display range control for calibrated images 2023-01-22 16:00:56 +01:00
ZbychuButItWasTaken
61fc4678b1 ui touches 2023-01-22 12:54:34 +01:00
ZbychuButItWasTaken
62cd85e3a4 UI changes 2023-01-22 01:54:24 +01:00
Aang23
31d59c6065 Disable all products handler 2023-01-17 12:42:28 +01:00
Aang23
f6ceea5c3f Scripted composites, APT underlay 2023-01-09 15:13:25 +01:00
Aang23
48e0e4a082 Albedo 0-1 2023-01-03 14:38:31 +01:00
Aang23
802497d4f6 Fix a bug with non-calibrated stuff 2023-01-02 19:35:29 +01:00
Aang23
2b76f157f6 Calibrated channels in viewer 2023-01-02 01:06:49 +01:00
Aang23
e6f157cdd7 Oops 2022-12-31 17:03:29 +01:00
ZbychuButItWasTaken
41322fa630 AVHRR works 2022-12-31 02:18:15 +01:00
Aang23
64ca3ca98b Various fixes 2022-12-16 20:43:47 +01:00
Aang23
018c8644c4 Fixup offset in projs for MERSI porjs 2022-12-15 21:43:39 +01:00
Aang23
65dbf1d714 Prevent crash on switching composites too fast 2022-12-12 15:18:43 +01:00