Skip to content
Snippets Groups Projects
Commit c471ebc5 authored by aknecht2's avatar aknecht2
Browse files

Added GenKey0239.csv

parent 308b3002
Branches
No related tags found
No related merge requests found
Showing
with 10087 additions and 1 deletion
.project 0 → 100644
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ih</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.python.pydev.PyDevBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.python.pydev.pythonNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?><pydev_project>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
</pydev_project>
eclipse.preferences.version=1
encoding//docs/source/conf.py=utf-8
GPL.txt 0 → 100644
This diff is collapsed.
Image Harvest Git Repo! Image Harvest Git Repo!
Full documentation can be found on the [Project Webiste](http://cropstressgenomics.org/phenomics.php) Full documentation can be found on the [Project Website](http://cropstressgenomics.org/phenomics.php)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#!/usr/bin/python
import argparse
import traceback
import plantcv.imgproc
parser = argparse.ArgumentParser(description = "Thresholds an image based on windows.")
parser.add_argument("--input", dest="input", help="Path to input image.", required = True)
parser.add_argument("--value", dest="value", type=int, help="Value to write to pixels. Usually 255 or 0.", required = True)
parser.add_argument("--adaptiveType", dest="adaptiveType", help="Adaptive type to use. Either 'mean' or 'gaussian'.", required = True)
parser.add_argument("--thresholdType", dest="thresholdType", help="Threshold type to use. Either 'binary' or 'inverse'.", required = True)
parser.add_argument("--blockSize", dest="blockSize", type=int, help="Window size to consider. Should be an odd number.", required = True)
parser.add_argument("--C", dest="C", type=int, help="Constant to subtract from window mean.", required = True)
parser.add_argument("--outputdir", dest="outputdir", default=".", help="Path to write output files, if not specified use current directory.")
parser.add_argument("--output", default=None, dest="output", help="Name of output image to write, if not specified, use input image name.")
args = parser.parse_args()
try:
plant = plantcv.imgproc.Image(args.input, args.outputdir, args.output, False)
plant.adaptiveThreshold(args.value, args.adaptiveType, args.thresholdType, args.blockSize, args.C)
plant.write()
except Exception as e:
print traceback.format_exc()
\ No newline at end of file
#!/usr/bin/python
import argparse
import traceback
import plantcv.imgproc
parser = argparse.ArgumentParser(description = "Converts an image between color spectrums.")
parser.add_argument("--input1", dest="input1", help="Path to first input image.", required = True)
parser.add_argument("--input2", dest="input2", help="Path to second input image.", required = True)
parser.add_argument("--outputdir", dest="outputdir", default=".", help="Path to write output files, if not specified use current directory.")
parser.add_argument("--output", default=None, dest="output", help="Name of output image to write, if not specified, use input image name.")
args = parser.parse_args()
try:
plant = plantcv.imgproc.Image(args.input1, args.outputdir, args.output, False)
plant.bitwise_and(args.input2)
plant.write()
except Exception as e:
print traceback.format_exc()
\ No newline at end of file
#!/usr/bin/python
import argparse
import traceback
import plantcv.imgproc
parser = argparse.ArgumentParser(description = "Converts an image between color spectrums.")
parser.add_argument("--input", dest="input", help="Path to first input image.", required = True)
parser.add_argument("--outputdir", dest="outputdir", default=".", help="Path to write output files, if not specified use current directory.")
parser.add_argument("--output", default=None, dest="output", help="Name of output image to write, if not specified, use input image name.")
args = parser.parse_args()
try:
plant = plantcv.imgproc.Image(args.input, args.outputdir, args.output, False)
plant.bitwise_not()
plant.write()
except Exception as e:
print traceback.format_exc()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment