I want to resize, add a background, change to grayscale, apply an image-kernel for finding edges, and lastly get the mean value of pixels in the image.
What’s wrong with my command?:
"imagicmagick.exe" "aaaa.png" -resize 800x800>
-background "#FFFFFF" -flatten -colorspace Gray
-morphologyConvolve "3x3: -1,-1,-1 -1,8,-1 -1,-1,-1" -format "%[fx:mean]" info:""
8