Preheat the oven to 425°F (220°C).
Prepare the cherries by pitting and rinsing them if fresh, or thawing and draining if frozen.
In a large mixing bowl, combine the cherries, sugar, cornstarch, lemon juice, vanilla extract, and almond extract if using.
Roll out the pie crust and place it in a 9-inch pie dish, leaving some overhang.
Pour the cherry mixture into the prepared crust and distribute evenly.
Cut additional crust into strips to create a lattice top, if desired, and place over the filling.
Trim the excess crust, fold the edges under, and crimp or decorate as desired.
Brush the crust with egg wash for a golden finish.
Bake the pie in the preheated oven for 45-50 minutes, until the crust is golden brown and juices are bubbling.
Allow the pie to cool for at least 2 hours before serving.