Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Print["Processing images..."];
- atomImageFile =
- imagesDirectory <> imageTime <> atomImageSuffix <> imageFormat;
- noAtomImageFile =
- imagesDirectory <> imageTime <> noAtomImageSuffix <> imageFormat;
- backgroundImageFile =
- imagesDirectory <> backgroundImageFileName <> imageFormat;
- backgroundImage = Image[Import[backgroundImageFile, "PNG"]];
- atomImage = Image[Import[atomImageFile, "PNG"]];
- noAtomImage = Image[Import[noAtomImageFile, "PNG"]];
- ImageSubtract[atomImage, backgroundImage];
- Print["Done."];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement