Isovalue

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
stefan.l
Posts: 5
Joined: 2013-09-18T08:35:22-07:00
Authentication code: 6789

Isovalue

Post by stefan.l »

20140402_1215_Radar_region.png
20140402_1215_Radar_region.png (6.19 KiB) Viewed 8709 times
20140402_1215_Radar_region_interpolation.png
20140402_1215_Radar_region_interpolation.png (7.99 KiB) Viewed 8709 times
20140402_1215_Radar_region_interpolation_combination.png
20140402_1215_Radar_region_interpolation_combination.png (47.81 KiB) Viewed 8707 times
Good evening,

I would like to convert an image into isolines. You can see that there are value range in this picture.
It's pixelised and I'd like to convert it into smooth isolines like in the seconde picture (a sort of interpolation) and why not change the value of the color of a value range.
Could you tell me if it's possible ?

Warm regards.

Stefan
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Isovalue

Post by fmw42 »

Not with IM directly. But you may be able to do smoothing with autotrace or potrace, which convert your image to vector format.
stefan.l
Posts: 5
Joined: 2013-09-18T08:35:22-07:00
Authentication code: 6789

Re: Isovalue

Post by stefan.l »

Thanks a lot for your reply.

I don't want to make a vectorized picture.
I saw that it was possible to isoline a picture on ImageMagick web site but can't succeed in finding where I found this topic.

Warm regards
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Isovalue

Post by fmw42 »

see http://www.imagemagick.org/Usage/draw/#svg_output for smoothing shapes. But it uses autotrace
Post Reply