Am I racist?

I was once beaten and raped as a young adult by a younger black man. He wore all red, and had a shaved head and a beard. They never caught this man. So when I see a black male that looks like him, I get freaked out. I know it's probably not him and know that not all black men are bad but it's just happens.
 I seen a previous post about a women that was afraid of middle easterns cause of all the attacks, and had an anxiety problem when they were around....Although she did say she knows not all are terrorists, but was attacked and called racist for this. So does that make me racist? Or is this completely different?