Is it possible to calculate within imagemagick?
I haven't found nothing
Average color/lightness over line/polygon/other_figure
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Average color/lightness over line/polygon/other_figure
For a simple calculator:
see http://www.imagemagick.org/Usage/transform/#fx and http://www.imagemagick.org/script/fx.php
10
see http://www.imagemagick.org/Usage/transform/#fx and http://www.imagemagick.org/script/fx.php
Code: Select all
convert xc: -format "%[fx:2*5]\n" info:
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Average color/lightness over line/polygon/other_figure
To compute the average over a region, see http://www.fmwconcepts.com/imagemagick/ ... shape_mean
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Average color/lightness over line/polygon/other_figure
For a new user, please read viewtopic.php?f=1&t=9620