A non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations for imaging a sample, the operations comprising:
- obtaining a plurality of intermediate images of the sample, the plurality of intermediate images of the sample captured during an illumination of the sample using a primary beam of light and an interfering beam of light, the interfering beam of light creating interference with respect to the primary beam of light, the interference including an interference pattern, the plurality of intermediate images including a representation on the interference pattern
- detecting changes between each of the plurality of intermediate images based at least in part on the representation of the interference pattern;
- generating a final image of the sample based on the plurality of intermediate images;
- omitting image components of the plurality of intermediate images that remain static from the final image;
- and
- including other image components of the plurality of intermediate images that change in the final image.