Not really. Say you have a statement p, a proof by contradiction would be not p implies false. Contrapositive is a direct proof. Say you have the statement p imples q. To prove this via contradiction you assume p is true and q is false then derive a contradiction, to prove this via contrapositive you assume not q is true (i.e. q is false) and prove that this imples p is false.