As kesonmis said, Nuke can do all of what you want and more. If you need it for professional work, but can’t afford a Nuke license, Fusion or Natron could also work, though I’m not sure if they have a grain analyzer or the color analyzer you want. For roto work, they’ll do just fine. And Blenders tools can work for that as well, as others have shown.
I would personally recommend staying away from the After Effects rotobrush. I’ve used it on personal and professional projects, as well as worked with others who used it, and it’s simply not that great of a tool. It can get you results fast, but if you want quality results (consistent edges, controllable blur, detail, etc.), save yourself the pain and just do proper rotoscoping. In the long run, normal methods of roto will get you much better results than the rotobrush in AE, and can be done faster if you know what you’re doing.