I was using quantize_area to eliminate small regions of constant value from a gray value image but it seems this is not what the command does, as it sometimes eliminates but other times extended the regions. Is that the expected result?
Below is an example. Note the region on the bottom right with an extended rod that did not exist before. I used quantize_area 2000.