1.0.4 • Published 3 years ago

sim-generator v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

SIM_GENERATOR

A little command line utility to generate pattern images for structured illumination microscopy

Installation

Head over to the release page and download the latest executable pattern_gen.exe.

Usage

Minimum usage

From the directory that pattern_gen.exe is in

pattern_gen <image_height> <image_width> <pattern_bar_width> --phase_shifts <n_shifts>

Example with all arguments

pattern_gen 256 256 16 --phase_shifts 3 --output_directory D:\SIM_GENERATOR\DemoPatterns --orientation horizontal --file_format jpg --bits 8 --full_depth True

Will generate the following images |phi_01.jpg |phi_02.jpg |phi_03.jpg| |--- |---|---| |npm.io |npm.io |npm.io|

ArgumentTypeOptional?DefaultOptionsDescExample
Positional Args(int int int)FalseNONENONEImage Height, Image Width, & Bar width1024 986 32
phase shiftsintFalseNONE0<n<infHow many phase shift images--phase_shifts 5
output directorystrTrue~exe location\patternswhere to save pattern images--output_directory C:\Users\Thanos\Stuff
orientationstrTrueverticalvertical or horizontalwhich way should the bars be oriented--orientation vertical
file formatstrTruebmpbmp tiff tif jpg jpeg pngFile type--file_format tif
bitsintTrue88 16 32Bit depth of image--bits 16
full depthboolTrueTrueTrue FalseIf true Use full range of bitdepth e.g 255 for 8 otherwise image will be 0 or 1. When bits==32 option overides toFalse--full_depth True
bar typestrTruesolidsolid triangle sineType of waveform--bar_type sine

Requests

If you have a feauture request open an issue and let me know.

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago