possible bug -median IM 6.6.9.3
Posted: 2011-04-01T13:53:25-07:00
IM 6.6.9.3 Q16 Mac OSX Tiger
One of my scripts, isonoise, is not working as it used to. I get no change from the input image. The problem seems to stem from -median radius. It seems that radius=1 no longer makes any change to my image. I have to up the radius to 2 to get any effect. Has the definition or use of radius been changed at some point in -median? A radius=1 should mean a window of 3x3, if I understand its use correctly. Might this have to do with using same code for both -statistic median and for -median and how the window size is computed differently for each (size=2radius+1 for -median and size=size specified for -statistic)?
The script was last revised but working fine on 10/25/2007, so unfortunately many releases have gone by and I had not tested the script for quite a while.
input:
convert gray_noise98.png -median 1 gray_noise98_med1.png
compare -metric rmse gray_noise98.png gray_noise98_med1.png null:
0 (0)
One of my scripts, isonoise, is not working as it used to. I get no change from the input image. The problem seems to stem from -median radius. It seems that radius=1 no longer makes any change to my image. I have to up the radius to 2 to get any effect. Has the definition or use of radius been changed at some point in -median? A radius=1 should mean a window of 3x3, if I understand its use correctly. Might this have to do with using same code for both -statistic median and for -median and how the window size is computed differently for each (size=2radius+1 for -median and size=size specified for -statistic)?
The script was last revised but working fine on 10/25/2007, so unfortunately many releases have gone by and I had not tested the script for quite a while.
input:
convert gray_noise98.png -median 1 gray_noise98_med1.png
compare -metric rmse gray_noise98.png gray_noise98_med1.png null:
0 (0)