Modeling of image formation in cryo-electron microscopy door