Applications Of High-Contrast Imaging Techniques And Polarimetry To (Exo-)Planetary Science