### ImageMagick version

7.1.1.5

### Operating system

MacOS

### Operating system, version and so on

Monterey

### Description

Computation of  %[fx:v.mean.r] returns 0 for all images.

### Steps to Reproduce

```
list="lena.jpg barn.jpg mandril3.jpg monet2.jpg zelda1.jpg"
for img in $list; do
magick "$img" \( +clone -colorspace gray \) +swap \
-format "%[fx:u.mean], %[fx:v.mean.r], %[fx:v.mean.g], %[fx:v.mean.b]\n" \
info: | head -n 1
done

0.457864, 0, 0.388355, 0.413283
0.454236, 0, 0.460988, 0.510916
0.508171, 0, 0.505525, 0.443787
0.47364, 0, 0.473377, 0.261628
0.553102, 0, 0.523639, 0.488245

```

### Images

![lena](https://user-images.githubusercontent.com/13458218/229175978-b8ccac73-8115-4b22-936f-cf2cd12d32c5.jpg)
![barn](https://user-images.githubusercontent.com/13458218/229175984-eb8a1232-328f-4a90-8f5c-615c4803d50d.jpg)
![mandril3](https://user-images.githubusercontent.com/13458218/229175988-f7c2db65-ce1d-4ab0-aa8b-c4a9dfee31a0.jpg)
![monet2](https://user-images.githubusercontent.com/13458218/229175990-173dfebf-3e8b-446d-be9e-04a45d1ea07f.jpg)
![zelda1](https://user-images.githubusercontent.com/13458218/229175992-22dc9131-327e-41d5-81f8-a6376ddb1878.jpg)

mean of channel for second image is always 0
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : mean of channel for second image is always 0
Issue date:

--- start body ---
### ImageMagick version

7.1.1.5

### Operating system

MacOS

### Operating system, version and so on

Monterey

### Description

Computation of  %[fx:v.mean.r] returns 0 for all images.

### Steps to Reproduce

```
list="lena.jpg barn.jpg mandril3.jpg monet2.jpg zelda1.jpg"
for img in $list; do
magick "$img" \( +clone -colorspace gray \) +swap \
-format "%[fx:u.mean], %[fx:v.mean.r], %[fx:v.mean.g], %[fx:v.mean.b]\n" \
info: | head -n 1
done

0.457864, 0, 0.388355, 0.413283
0.454236, 0, 0.460988, 0.510916
0.508171, 0, 0.505525, 0.443787
0.47364, 0, 0.473377, 0.261628
0.553102, 0, 0.523639, 0.488245

```

### Images

![lena](https://user-images.githubusercontent.com/13458218/229175978-b8ccac73-8115-4b22-936f-cf2cd12d32c5.jpg)
![barn](https://user-images.githubusercontent.com/13458218/229175984-eb8a1232-328f-4a90-8f5c-615c4803d50d.jpg)
![mandril3](https://user-images.githubusercontent.com/13458218/229175988-f7c2db65-ce1d-4ab0-aa8b-c4a9dfee31a0.jpg)
![monet2](https://user-images.githubusercontent.com/13458218/229175990-173dfebf-3e8b-446d-be9e-04a45d1ea07f.jpg)
![zelda1](https://user-images.githubusercontent.com/13458218/229175992-22dc9131-327e-41d5-81f8-a6376ddb1878.jpg)

--- end body ---
