Determining Shapes and Sizes Using TEM Images: Functionalized Nanoparticles