If the pigeons belong to someone and rest on your roof then it is not permissible to kill them or harm them in any way except with the permission of their owner. A person can rid them from his home by scaring them away or not be letting them land on their roof or any other possible place.
If the pigeons do not belong to anyone that a person is allowed to slaughter them and make use of them.
The pigeons make a lot of dirt and cause a problem for the inmates. To protect the house against such nuisance and to protect the house against birds entering it one can scare them away and not give them room to settle or not feeding them. As for hunting them or keeping them in cages then it is not permissible in case the birds belong to someone and without their action, no such action should be taken.
And Allaah knows best.