Sorry, I forgot to tell. The pixel size is 10m x 10m, so I need 500 pixels to have 5 hectars.
My raster has three different categories. I already try the operations Region Group, Expand, Aggregate (on Generalization toolbox) but the results aren't very good to me because I can't see any difference...
Do you have another way to do this? Am I doing the wrong operations?