Is it rude to not say hi to your supervisor on the street?

if you see your supervisor on the street and you don't say hi. would it be rude?
Is it rude to not say hi to your supervisor on the street?
Post Opinion