Open ScepticalRabbit opened 3 weeks ago
Example speckle image to show what we want to achieve:
@meganasampson have you started on this? I was going to make something quickly
I've made a noddy speckle generation script on the speckle branch. Feel free to improve
Write the script as a function, which may then be called either by importing it, or through an 'if name == "main"' statement. need to check incoming parameters. Do we need this different for the two methods of operation
there should be demo files 'light.png' and 'dark.png' for light and dark backgrounds. .gitignore is set to ignore all other .png files in the scripts folder
script input is of the form speckle-gen.py Filename X Y -s Size -b Blur -i Bits -k Background -w Balance
Create a python script that can generate a DIC speckle pattern and save it as a *.tiff:
Getting started and hints: