Automatic Segmentation of Inorganic Nanoparticles in BF TEM Micrographs