Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] background decals

Ad 1) Its funny, because I have been using SUMO longer then 10 years and I've always used UTM decals in metric system without problems (only the origin).
ad 2) Yes, when I change global gamma settings to 0.45, the images looks good, but its not solution for me.

Thanks for support,
Petr


1. SUMO only supports jgw files in WGS84 (so the offset must be something in lon,lat and the pixels size must be in degrees). Your world file contains projected UTM data instead.
2. I cannot replicate the gamma-bias. The loaded image in sumo-gui has the same color as in an image view for me. This might be a graphics driver issue.

regards,
Jakob

Am Mo., 14. Juli 2025 um 07:19 Uhr schrieb Petr Chytil <PetrChytil@xxxxxxxxx>:
Hi Jacob,
I attached simple example. The folder contains:

network.net.xml - simple sumo network
Tile_008_009.jpg/jgw - background image in original color
Tile_009_009.jpg/jgw - background image in darker color (linear color space to sRGB)
Tile_009_009_original_offset.jpg/jgw - background image translated to network origin
jgw_offset.jpg - jgw files compare
img_compare.jpg - compare bacground images in photohop and netedit/sumo_gui

Thanks,
Petr

---------- Původní e-mail ----------
Od: Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx>
Komu: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Kopie: Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Datum: 9. 7. 2025 9:06:03
Předmět: Re: [sumo-user] background decals
can you provide minimal example inputs?

Am Mi., 9. Juli 2025 um 08:36 Uhr schrieb Petr Chytil via sumo-user <sumo-user@xxxxxxxxxxx>:
Hi, 
I'm using georeferenced jpg files as decals and I have two problems.
1 - The position from the .jgw file is taken as absolute. It would be enough to subtract the offset that is written in the opened .net.xml
2 - Gamma correction is applied to the images, I need to have a darkened image as input so that it is displayed in the editor in the correct colors

Regards, Petr
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top