Patent Number: 
Section: claims

1. A scanning type charged particle beam microscope comprising:a charged particle imaging unit having a charged particle beam irradiation unit to irradiate a focused charged particle beam to a surface of a sample formed with a pattern and to scan it over the surface, anda secondary charged particle imaging unit to detect secondary charged particles emitted from the sample as the charged particle beam irradiation unit irradiates and scans the charged particle beam over the sample and to generate a secondary charged particle image of the sample surface;an image quality improving unit to process the secondary charged particle image of the sample surface generated by the charged particle imaging unit; andan output unit to output a result of processing by the image quality improving unit;wherein the image quality improving unit aligns the position of the design data of the pattern formed on the sample with the position of the secondary charged particle image of the sample surface generated by the charged particle imaging unit and then improves a quality of the secondary charged particle image of the sample surface by using the design data of the pattern formed on the sample;wherein a way of improving the quality of the secondary charged particle image of the sample surface differs according to the design data. 2. A scanning type charged particle beam microscope according to claim 1, wherein the charged particle imaging unit is a scanning electron microscope (SEM) and the image quality improving unit improves a quality of a SEM image of the sample imaged by the scanning electron microscope (SEM). 3. A scanning type charged particle beam microscope according to claim 1, further comprising:an image processing unit to process the image whose quality has been improved by the image quality improving unit, and to perform a detection of defects of the sample, a production of an image of defects or a measuring of dimensions of the pattern. 4. A scanning type charged particle beam microscope according to claim 1, wherein the image quality improving unit aligns the position of the design data of the pattern formed on the sample with the position of the secondary charged particle image of the sample surface generated by the charged particle imaging unit and then corrects pattern geometry information of the design data and improves a quality of the secondary charged particle image by using the design data whose geometry information has been corrected. 5. A scanning type charged particle beam microscope according to claim 1, wherein the image quality improving unit aligns the position of the design data of the pattern formed on the sample with the position of the secondary charged particle image of the sample surface generated by the charged particle imaging unit and then divides an area of the secondary charged particle image by using the design data and improves a quality of the divided secondary charged particle image. 6. An image processing method using a scanning type charged particle beam microscope, comprising the steps of:irradiating and scanning a focused charged particle beam over a surface of a sample formed with a pattern;detecting secondary charged particles emitted from the sample as the focused charged particle beam is irradiated to the sample and creating a secondary charged particle image of the sample surface; andprocessing the created secondary charged particle image of the sample surface;wherein, after the position of the design data of the pattern formed on the sample is aligned with the position of the secondary charged particle image of the sample surface, a quality of the created secondary charged particle image of the sample surface is improved by using the design data of pattern formed on the sample,wherein a way of improving the quality of the secondary charged particle image of the sample surface differs according to the design data. 7. An image processing method using a scanning type charged particle beam microscope according to claim 6, wherein the focused charged particle beam is an electron beam, the secondary charged particle image of the sample surface is a SEM image, and a quality of the SEM image of the sample surface is improved by using the design data. 8. An image processing method using a scanning type charged particle beam microscope according to claim 6, wherein, after the position of the design data of the pattern formed on the sample is aligned with the position of the secondary charged particle image of the sample surface, a quality of the created secondary charged particle image of the sample surface is improved by using design information or sample characteristic information. 9. An image processing method using a scanning type charged particle beam microscope according to claim 6, wherein, after the position of the design data of the pattern formed on the sample is aligned with the position of the secondary charged particle image of the sample surface, pattern geometry information of the design data is corrected and a quality of the secondary charged particle image is improved by using the design data whose geometry information has been corrected. 10. An image processing method using a scanning type charged particle beam microscope according to claim 6, wherein, after the position of the design data of the pattern formed on the sample is aligned with the position of the secondary charged particle image of the sample surface, an area of the secondary charged particle image is divided by using the design data and a quality of the divided secondary charged particle image is improved. 11. A scanning type charged particle beam microscope according to claim 1,wherein the image quality improving unit processes a resolution improvement or noise removing operation or contrast correction.