Re: Lab colorspace - clipping
Posted: 2014-08-01T11:52:02-07:00
Can you upload your image somewhere like dropbox.com (public folder), so I can download it and check things out?
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=23289
The web site cannot be found.jwtrexler wrote:Fmw42,
The color swatch I have been processing can be down loaded from:
mgur.com/LYHz9bE
and url is case sensitive.
Code: Select all
convert rgbimage -set colorspace sRGB -colorspace LAB -separate +channel labimage_%d.png
Code: Select all
convert -size 1x1 xc:red -set colorspace sRGB -format "%[fx:mean.r] %[fx:mean.g] %[fx:mean.b]\n" info:
Code: Select all
convert -size 1x1 xc:red -set colorspace sRGB -colorspace LAB -format "%[fx:mean.r] %[fx:mean.g] %[fx:mean.b]\n" info:
Code: Select all
convert -size 1x1 xc:red -set colorspace sRGB -colorspace LAB -format "%[fx:u.r] %[fx:u.g] %[fx:u.b]\n" info:
Code: Select all
convert -size 1x1 xc:red -set colorspace sRGB -format "%[pixel:u.p{0,0}]\n" info:
Code: Select all
convert -size 1x1 xc:red -set colorspace sRGB -colorspace LAB -format "%[pixel:u.p{0,0}]\n" info:
Code: Select all
convert -size 1x1 xc:red -set colorspace sRGB txt:
Code: Select all
convert -size 1x1 xc:red -set colorspace sRGB -colorspace LAB txt:
Code: Select all
convert -size 1x1 xc:red -set colorspace sRGB -format "%[fx:maxima.r] %[fx:maxima.g] %[fx:maxima.b]\n" info:
Code: Select all
convert -size 1x1 xc:red -set colorspace sRGB -format "%[fx:minima.r] %[fx:minima.g] %[fx:minima.b]\n" info:
Code: Select all
convert -size 1x1 xc:red -set colorspace sRGB -format "%[fx:standard_deviation.r] %[fx:standard_deviation.g] %[fx:standard_deviation.b]\n" info:
Code: Select all
convert -size 1x1 xc:red xc:blue +append -set colorspace sRGB -format "%[fx:maxima.r] %[fx:maxima.g] %[fx:maxima.b]\n" info:
Code: Select all
convert -size 1x1 xc:red xc:blue +append -set colorspace sRGB -format "%[fx:minima.r] %[fx:minima.g] %[fx:minima.b]\n" info:
Code: Select all
convert -size 1x1 xc:red xc:blue +append -set colorspace sRGB -format "%[fx:standard_deviation.r] %[fx:standard_deviation.g] %[fx:standard_deviation.b]\n" info: