Commit graph

104 commits

Author SHA1 Message Date
Aang23
c6c64175f4 Re-couple products overlay settings 2023-11-02 15:00:07 +01:00
Aang23
281c58e643 Do not restore enabled status in viewers 2023-11-02 14:30:12 +01:00
Aang23
d5ab174465 Replace split overlay code by generic handler 2023-11-01 18:10:00 +01:00
Jamie Vital
354fc95c76 Fix default projection path 2023-10-26 18:26:57 -04:00
Jamie Vital
5db8a66c7f Better handling of threads in Viewer 2023-10-22 14:52:06 -04:00
Jamie Vital
677300f009 Implement SteppedSlider widget; move FFT and viewer city settings to it 2023-10-20 23:33:32 -04:00
Jamie Vital
3ef65113f0 Async viewer saving; remember last used file format 2023-10-19 15:42:54 -04:00
Aang23
e2c8a20909 Fix a stupid 2 years old bug 2023-10-17 18:34:35 +02:00
Jamie Vital
83798ac886 [Viewer] Prevent saving image that is being updated 2023-10-16 21:18:01 -04:00
Jamie Vital
7e5f3032d1 Prevent unnecessary image viewer updates 2023-10-16 18:40:36 -04:00
Jamie Vital
80a2fccbc1 Save city size preference in product viewer 2023-10-16 18:35:57 -04:00
Jamie Vital
c8dd44915f Fix drawing just shores on image viewer 2023-10-16 14:07:23 -04:00
Aang23
23c2e4ed7a Allow drawing shores in a different color 2023-10-16 19:05:28 +02:00
Jamie Vital
507424075d Clean up some viewer functionality 2023-10-16 11:14:21 -04:00
Jamie Vital
8c0a36e78a Re-order overlay options; fix lat/lon grid without cities or borders 2023-10-16 09:15:34 -04:00
Aang23
c137d4d593 Add lat/lon grid option 2023-10-14 22:25:43 +02:00
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