Next changeset 1:e3243230788c (2020-04-09) |
Commit message:
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1" |
added:
enhance_or_suppress_features.xml macros.xml test-data/ExampleHuman.cppipe test-data/common.txt test-data/convert_objects_to_image.txt test-data/display_data_on_image.txt test-data/enhance_or_suppress_features.txt test-data/export_to_spreadsheet.txt test-data/gray_to_color.txt test-data/identify_primary_objects.txt test-data/images/AS_09125_050116030001_D03f00d0.tif test-data/images/AS_09125_050116030001_D03f00d1.tif test-data/images/AS_09125_050116030001_D03f00d2.tif test-data/mask_image.txt test-data/measure_granularity.txt test-data/measure_image_area_occupied.txt test-data/measure_image_intensity.txt test-data/measure_image_quality.txt test-data/measure_object_intensity.txt test-data/measure_object_size.txt test-data/measure_object_size_shape.txt test-data/measure_texture.txt test-data/relate_objects.txt test-data/save_images.txt |
b |
diff -r 000000000000 -r 29188f9c4ca8 enhance_or_suppress_features.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/enhance_or_suppress_features.xml Thu Mar 26 17:43:59 2020 -0400 |
[ |
b'@@ -0,0 +1,249 @@\n+<tool id="cp_enhance_or_suppress_features" name="EnhanceOrSuppressFeatures" version="@CP_VERSION@">\r\n+ <description>enhances or suppresses certain image features, which can improve subsequent identification of objects</description>\r\n+\r\n+ <macros>\r\n+ <import>macros.xml</import>\r\n+\r\n+ <xml name="feature_speckles">\r\n+ <param name="speckles_feature_size" label="Feature size" type="integer" value="10" />\r\n+ <param name="speed_accuracy" label="Speed and accuracy" type="select">\r\n+ <option value="Fast">Fast</option>\r\n+ <option value="Slow">Slow</option>\r\n+ </param>\r\n+ </xml>\r\n+ <xml name="feature_neurites">\r\n+ <conditional name="con_feature_neurites">\r\n+ <param name="enhancement_method" label="Enhancement method" type="select">\r\n+ <option value="Tubeness">Tubeness</option>\r\n+ <option value="Line structures">Line structures</option>\r\n+ </param>\r\n+ <when value="Tubeness">\r\n+ <param name="tube_smoothing_scale" label="Smoothing scale" type="float" value="2.0" min="0.0" />\r\n+ </when>\r\n+ <when value="Line structures">\r\n+ <param name="line_structures_feature_size" label="Feature size" type="integer" value="10" />\r\n+ </when>\r\n+ </conditional>\r\n+ </xml>\r\n+ <xml name="feature_darkholes">\r\n+ <param name="min_hole_size" label="Minimum hole size" type="integer" value="1" min="0"/>\r\n+ <param name="max_hole_size" label="Maximum hole size" type="integer" value="15"/>\r\n+ </xml> \r\n+ <xml name="feature_circle">\r\n+ <param name="circle_feature_size" label="Feature size" type="integer" value="10"/>\r\n+ </xml> \r\n+ <xml name="feature_texture">\r\n+ <param name="texture_smoothing_scale" label="Smoothing scale" type="float" value="2.0" min="0.0"/>\r\n+ </xml>\r\n+ <xml name="feature_dic">\r\n+ <param name="dic_smoothing_scale" label="Smoothing scale" type="float" value="2.0" min="0.0" />\r\n+ <param name="dic_shear_angle" label="Shear angle" type="float" value="0.0" min="0.0" />\r\n+ <param name="dic_decay" label="Decay" type="float" value="0.95" min="0.0" />\r\n+ </xml> \r\n+ </macros>\r\n+\r\n+ <expand macro="py_requirements"/>\r\n+ <expand macro="cmd_modules" /> \r\n+\r\n+ <configfiles>\r\n+ <inputs name="inputs" />\r\n+ <configfile name="script_file">\r\n+import json\r\n+import sys\r\n+import os\r\n+\r\n+FOURSPACES=@SPACES@\r\n+\r\n+input_json_path = sys.argv[1]\r\n+input_pipeline= sys.argv[2]\r\n+\r\n+params = json.load(open(input_json_path, "r"))\r\n+\r\n+def writeesf():\r\n+ _str = "\\nEnhanceOrSuppressFeatures:[module_num:%d|svn_version:\\\\\'Unknown\\\\\'|variable_revision_number:6|show_window:False|notes:\\\\x5B\\\\\'Identify nucleoli\\\\\', \\\\\'PARAMS\\\\x3A Range of hole sizes\\\'\\\\x5D|batch_state:array(\\\\x5B\\\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\\n" % new_count\r\n+ _str += FOURSPACES + "Select the input image:%s\\n" % params[\'input_image\']\r\n+ _str += FOURSPACES + "Name the output image:%s\\n" % params[\'name_output_image\']\r\n+\r\n+ operation = params[\'con_enhance_suppress\'][\'select_operation\']\r\n+ _str += FOURSPACES + "Select the operation:%s\\n" % operation\r\n+\r\n+ con_feature_type = params[\'con_enhance_suppress\'][\'con_feature_type\']\r\n+\r\n+ if operation == "Suppress":\r\n+ _str += FOURSPACES + "Feature size:%s\\n" % params[\'con_enhance_suppress\'][\'feature_size\']\r\n+ ## Below values are not used in this case, but required by CP pipeline file to be\r\n+ ## present as some sorts of "default" values\r\n+ _str += FOURSPACES + "Feature type:Speckles"\r\n+ _str += FOURSPACES + "Range of hole sizes:1,10"\r\n+ _str += FOURSPACES + "Smoothing scale:2.0"\r\n+ _str += FOURSPACES + "Shear angle:0.0"\r\n+ '..b'ACES + "Enhancement method:Tubeness\\n"\r\n+ _str += FOURSPACES + "Speed and accuracy:Fast\\n"\r\n+ elif feature_type == "DIC":\r\n+ _str += FOURSPACES + "Feature size:10\\n"\r\n+ _str += FOURSPACES + "Feature type:%s\\n" % feature_type\r\n+ _str += FOURSPACES + "Range of hole sizes:1,10\\n"\r\n+ _str += FOURSPACES + "Smoothing scale:%.1f\\n" % con_feature_type[\'texture_smoothing_scale\']\r\n+ _str += FOURSPACES + "Shear angle:%.1f\\n" % con_feature_type[\'dic_shear_angle\']\r\n+ _str += FOURSPACES + "Decay:%.2f\\n" % con_feature_type[\'dic_decay\']\r\n+ _str += FOURSPACES + "Enhancement method:Tubeness\\n"\r\n+ _str += FOURSPACES + "Speed and accuracy:Fast\\n"\r\n+\r\n+ return _str\r\n+\r\n+\r\n+with open(input_pipeline) as fin:\r\n+ lines = fin.readlines()\r\n+\r\n+ k, v = lines[4].strip().split(\':\')\r\n+\r\n+ module_count = int(v)\r\n+ new_count = module_count + 1\r\n+ lines[4] = k + ":%d\\n" % new_count\r\n+\r\n+ with open("output", "w") as f:\r\n+ f.writelines(lines)\r\n+ f.write(writeesf())\r\n+\r\n+f.close()\r\n+ </configfile> \r\n+ </configfiles>\r\n+\r\n+ <inputs>\r\n+\r\n+ <expand macro="input_pipeline_macro"/>\r\n+ <param name="input_image" type="text" label="Select the input image" />\r\n+\r\n+ <param name="name_output_image" type="text" label="Name the output image" />\r\n+\r\n+ <conditional name="con_enhance_suppress">\r\n+ <param name="select_operation" label="Select the operation" type="select">\r\n+ <option value="Enhance">Enhance</option>\r\n+ <option value="Suppress">Suppress</option>\r\n+ </param>\r\n+\r\n+ <when value="Enhance">\r\n+ <conditional name="con_feature_type">\r\n+ <param name="feature_type" type="select" label="Feature type">\r\n+ <option value="Speckles">Speckles</option>\r\n+ <option value="Neurites">Neurites</option>\r\n+ <option value="Dark holes">Dark holes</option>\r\n+ <option value="Circles">Circles</option>\r\n+ <option value="Texture">Texture</option>\r\n+ <option value="DIC">DIC</option>\r\n+ </param>\r\n+ <when value="Speckles">\r\n+ <expand macro="feature_speckles" />\r\n+ </when>\r\n+ <when value="Neurites">\r\n+ <expand macro="feature_neurites" />\r\n+ </when>\r\n+ <when value="Dark holes">\r\n+ <expand macro="feature_darkholes" />\r\n+ </when>\r\n+ <when value="Circles">\r\n+ <expand macro="feature_circle" />\r\n+ </when>\r\n+ <when value="Texture">\r\n+ <expand macro="feature_texture" />\r\n+ </when>\r\n+ <when value="DIC">\r\n+ <expand macro="feature_dic" />\r\n+ </when> \r\n+ </conditional>\r\n+ </when>\r\n+\r\n+ <when value="Suppress">\r\n+ <param name="feature_size" type="integer" label="Feature size" value="10"/>\r\n+ </when>\r\n+\r\n+ </conditional>\r\n+ \r\n+ </inputs>\r\n+\r\n+ <outputs>\r\n+ <expand macro="output_pipeline_macro" />\r\n+ </outputs>\r\n+\r\n+\r\n+ <tests>\r\n+ <test>\r\n+ <expand macro="test_input_pipeline_param" />\r\n+ <param name="input_image" value="DNA" />\r\n+ <param name="name_output_image" value="DNAdarkholes" />\r\n+ <conditional name="con_enhance_suppress">\r\n+ <param name="select_operation" value="Enhance" />\r\n+ <conditional name="con_feature_type">\r\n+ <param name="feature_type" value="Dark holes" />\r\n+ <param name="min_hole_size" value="1" />\r\n+ <param name="max_hole_size" value="15" />\r\n+ </conditional>\r\n+ </conditional>\r\n+\r\n+ <expand macro="test_out_file" file="enhance_or_suppress_features.txt" />\r\n+ </test>\r\n+ </tests>\r\n+\r\n+ <expand macro="help" module="EnhanceOrSuppressFeatures" />\r\n+ <expand macro="citations" />\r\n+</tool>\r\n' |
b |
diff -r 000000000000 -r 29188f9c4ca8 macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macros.xml Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,73 @@ +<macros> + <token name="@CP_VERSION@">3.1.9</token> + <token name="@PY_VERSION@">2.7.16</token> + <token name="@FORMATS@">jpg,png,tiff,bmp,gif,pcx,ppm,psd,pbm,pgm,eps</token> + + <token name="@SPACES@">" "</token> <!-- four spaces needed for CP pipeline file --> + + <xml name="output_pipeline_macro"> + <data name="out_file" from_work_dir="output" format="txt" label="Output pipeline" /> + </xml> + + <xml name="input_pipeline_macro"> + <param name="input_pipeline" type="data" format="data" label="Pipeline to select"/> + </xml> + + <xml name="cp_requirements"> + <requirements> + <requirement type="package" version="@CP_VERSION@">cellprofiler</requirement> + </requirements> + </xml> + + <xml name="py_requirements"> + <requirements> + <requirement type="package" version="@PY_VERSION@">python</requirement> + </requirements> + </xml> + + <xml name="citations"> + <citations> + <citation type="bibtex"> + @misc{galaxytoolscellprofiler, + author = {Sun, Yi}, + year = {2020}, + title = {Cellprofiler Galaxy tools}, + publisher = {Github}, + journal = {Github repository}, + url = {https://github.com/bgruening/galaxytools/tools/cellrprofiler}, + } + </citation> + </citations> + </xml> + + <xml name="cmd_modules"> + <command detect_errors="aggressive"><![CDATA[ + python '$script_file' '$inputs' '$input_pipeline' + ]]></command> + </xml> + + <xml name="text_validator"> + <validator type="regex" message="Only numbers, letters, hyphen, underscore and spaces are allowed">^[A-Za-z0-9 _-]*$</validator> + </xml> + + <xml name="test_input_pipeline_param"> + <param name="input_pipeline" value="common.txt" /> + </xml> + + <xml name="test_out_file" token_file="common.txt"> + <output name="out_file" ftype="txt" file="@FILE@" lines_diff="0"/> + </xml> + + <xml name="help" token_module="common"> + <help> + This tool appends the inputs of the @MODULE@ module to an existing pipeline file (.cppipe) + + Input: existing pipeline file + + Output: new pipeline file + + Combine this tool with "Common" tool and "CellProfiler" tool together to run the current module alone. + </help> + </xml> +</macros> + |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/ExampleHuman.cppipe --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/ExampleHuman.cppipe Thu Mar 26 17:43:59 2020 -0400 |
[ |
b'@@ -0,0 +1,246 @@\n+CellProfiler Pipeline: http://www.cellprofiler.org\n+Version:3\n+DateRevision:300\n+GitHash:\n+ModuleCount:14\n+HasImagePlaneDetails:False\n+\n+Images:[module_num:1|svn_version:\\\'Unknown\\\'|variable_revision_number:2|show_window:False|notes:\\x5B\\\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\\\'\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n+ :\n+ Filter images?:Images only\n+ Select the rule criteria:and (extension does isimage) (directory doesnot containregexp "\\x5B\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/\\x5D\\\\\\\\\\\\\\\\.")\n+\n+Metadata:[module_num:2|svn_version:\\\'Unknown\\\'|variable_revision_number:4|show_window:False|notes:\\x5B\\\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\\\'\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n+ Extract metadata?:No\n+ Metadata data type:Text\n+ Metadata types:{}\n+ Extraction method count:1\n+ Metadata extraction method:Extract from file/folder names\n+ Metadata source:File name\n+ Regular expression to extract from file name:^(?P<Plate>.*)_(?P<Well>\\x5BA-P\\x5D\\x5B0-9\\x5D{2})_s(?P<Site>\\x5B0-9\\x5D)_w(?P<ChannelNumber>\\x5B0-9\\x5D)\n+ Regular expression to extract from folder name:(?P<Date>\\x5B0-9\\x5D{4}_\\x5B0-9\\x5D{2}_\\x5B0-9\\x5D{2})$\n+ Extract metadata from:All images\n+ Select the filtering criteria:and (file does contain "")\n+ Metadata file location:\n+ Match file and image metadata:\\x5B\\x5D\n+ Use case insensitive matching?:No\n+\n+NamesAndTypes:[module_num:3|svn_version:\\\'Unknown\\\'|variable_revision_number:8|show_window:False|notes:\\x5B\\\'DNA\\x3A DNA stained with DAPI\\\', \\\'PH3\\x3A An antibody for phosphorylated histone H3 correlated with mitosis\\\', \\\'cellbody\\x3A \\\'\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n+ Assign a name to:Images matching rules\n+ Select the image type:Grayscale image\n+ Name to assign these images:DNA\n+ Match metadata:\\x5B\\x5D\n+ Image set matching method:Order\n+ Set intensity range from:Image metadata\n+ Assignments count:3\n+ Single images count:0\n+ Maximum intensity:255.0\n+ Process as 3D?:No\n+ Relative pixel spacing in X:1.0\n+ Relative pixel spacing in Y:1.0\n+ Relative pixel spacing in Z:1.0\n+ Select the rule criteria:and (file does contain "d0.tif")\n+ Name to assign these images:DNA\n+ Name to assign these objects:Cell\n+ Select the image type:Grayscale image\n+ Set intensity range from:Image metadata\n+ Maximum intensity:255.0\n+ Select the rule criteria:and (file does contain "d1.tif")\n+ Name to assign these images:PH3\n+ Name to assign these objects:Cell\n+ Select the image type:Grayscale image\n+ Set intensity range from:Image metadata\n+ Maximum intensity:255.0\n+ Select the rule criteria:and (file does contain "d2.tif")\n+ Name to assign these images:cellbody\n+ Name to assign these objects:Cell\n+ Select the image type:Grayscale image\n+ Set intensity range from:Image metadata\n+ Maximum intensity:255.0\n+\n+Groups:[module_num:4|svn_version:\\\'Unknown\\\'|variable_revision_number:2|show_window:False|notes:\\x5B\\\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\\\'\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n+ Do you want to group your images?:No\n+ grouping metadata count:1\n+ Metadata category:None\n+\n+IdentifyPrimaryObjects:[module_num:5|svn_version:\\\'Unknown\\\'|variable_revision_number:13|sh'..b'andard deviation\n+ # of deviations:2.0\n+ Thresholding method:Otsu\n+\n+IdentifyTertiaryObjects:[module_num:9|svn_version:\\\'Unknown\\\'|variable_revision_number:3|show_window:True|notes:\\x5B\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n+ Select the larger identified objects:Cells\n+ Select the smaller identified objects:Nuclei\n+ Name the tertiary objects to be identified:Cytoplasm\n+ Shrink smaller object prior to subtraction?:Yes\n+\n+MeasureObjectIntensity:[module_num:10|svn_version:\\\'Unknown\\\'|variable_revision_number:3|show_window:True|notes:\\x5B\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n+ Hidden:2\n+ Select an image to measure:DNA\n+ Select an image to measure:PH3\n+ Select objects to measure:Nuclei\n+ Select objects to measure:Cells\n+ Select objects to measure:Cytoplasm\n+\n+MeasureObjectSizeShape:[module_num:11|svn_version:\\\'Unknown\\\'|variable_revision_number:1|show_window:True|notes:\\x5B\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n+ Select objects to measure:Nuclei\n+ Select objects to measure:Cells\n+ Select objects to measure:Cytoplasm\n+ Calculate the Zernike features?:Yes\n+\n+OverlayOutlines:[module_num:12|svn_version:\\\'Unknown\\\'|variable_revision_number:4|show_window:True|notes:\\x5B\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n+ Display outlines on a blank image?:No\n+ Select image on which to display outlines:DNA\n+ Name the output image:OrigOverlay\n+ Outline display mode:Color\n+ Select method to determine brightness of outlines:Max of image\n+ How to outline:Thick\n+ Select outline color:#0080FF\n+ Select objects to display:Cells\n+ Select outline color:blue\n+ Select objects to display:Nuclei\n+ Select outline color:yellow\n+ Select objects to display:PH3\n+\n+SaveImages:[module_num:13|svn_version:\\\'Unknown\\\'|variable_revision_number:13|show_window:True|notes:\\x5B\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n+ Select the type of image to save:Image\n+ Select the image to save:OrigOverlay\n+ Select method for constructing file names:From image filename\n+ Select image name for file prefix:DNA\n+ Enter single file name:OrigBlue\n+ Number of digits:4\n+ Append a suffix to the image file name?:Yes\n+ Text to append to the image name:_Overlay\n+ Saved file format:png\n+ Output file location:Default Output Folder\\x7C\n+ Image bit depth:8-bit integer\n+ Overwrite existing files without warning?:Yes\n+ When to save:Every cycle\n+ Record the file and path information to the saved image?:Yes\n+ Create subfolders in the output folder?:No\n+ Base image folder:Elsewhere...\\x7C\n+\n+ExportToSpreadsheet:[module_num:14|svn_version:\\\'Unknown\\\'|variable_revision_number:12|show_window:True|notes:\\x5B\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n+ Select the column delimiter:Comma (",")\n+ Add image metadata columns to your object data file?:No\n+ Select the measurements to export:No\n+ Calculate the per-image mean values for object measurements?:No\n+ Calculate the per-image median values for object measurements?:No\n+ Calculate the per-image standard deviation values for object measurements?:No\n+ Output file location:Default Output Folder\\x7C\n+ Create a GenePattern GCT file?:No\n+ Select source of sample row name:Metadata\n+ Select the image to use as the identifier:None\n+ Select the metadata to use as the identifier:None\n+ Export all measurement types?:Yes\n+ Press button to select measurements:\n+ Representation of Nan/Inf:NaN\n+ Add a prefix to file names?:No\n+ Filename prefix:MyExpt_\n+ Overwrite existing files without warning?:Yes\n+ Data to export:Do not use\n+ Combine these object measurements with those of the previous object?:No\n+ File name:DATA.csv\n+ Use the object name for the file name?:Yes\n' |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/common.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/common.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,53 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:4 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/convert_objects_to_image.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/convert_objects_to_image.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,59 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +ConvertObjectsToImage:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:1|show_window:True|notes:\x5B\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Select the input objects:Nuclei + Name the output image:MaskNuclei + Select the color format:Binary (black & white) + Select the colormap:Default |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/display_data_on_image.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/display_data_on_image.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,70 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +DisplayDataOnImage:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:6|show_window:False|notes:\x5B\'Add nuclei id as label\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Display object or image measurements?:Object + Select the input objects:Nuclei + Measurement to display:Number_Object_Number + Select the image on which to display the measurements:DNA + Text color:#ff0000 + Name the output image that has the measurements displayed:ImageDisplay + Font size (points):11 + Number of decimals:0 + Image elements to save:Image + Annotation offset (in pixels):0 + Display mode:Text + Color map:Default + Display background image?:Yes + Color map scale:Use this image's measurement range + Color map range:0.0,1.0 |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/enhance_or_suppress_features.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/enhance_or_suppress_features.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,66 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +EnhanceOrSuppressFeatures:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:6|show_window:False|notes:\x5B\'Identify nucleoli\', \'PARAMS\x3A Range of hole sizes'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Select the input image:DNA + Name the output image:DNAdarkholes + Select the operation:Enhance + Feature size:10 + Feature type:Dark holes + Range of hole sizes:1,15 + Smoothing scale:2.0 + Shear angle:0.0 + Decay:0.95 + Enhancement method:Tubeness + Speed and accuracy:Fast |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/export_to_spreadsheet.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/export_to_spreadsheet.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,76 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +ExportToSpreadsheet:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:12|show_window:True|notes:\x5B\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Select the column delimiter:Tab + Add image metadata columns to your object data file?:Yes + Select the measurements to export:No + Calculate the per-image mean values for object measurements?:Yes + Calculate the per-image median values for object measurements?:Yes + Calculate the per-image standard deviation values for object measurements?:Yes + Output file location:Default Output Folder\x7C + Create a GenePattern GCT file?:No + Select source of sample row name:Metadata + Select the image to use as the identifier:None + Select the metadata to use as the identifier:None + Export all measurement types?:Yes + Press button to select measurements: + Representation of Nan/Inf:NaN + Add a prefix to file names?:No + Filename prefix:MyPrefix_ + Overwrite existing files without warning?:Yes + Data to export:Do not use + Combine these object measurements with those of the previous object?:No + File name:DATA.csv + Use the object name for the file name?:Yes |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/gray_to_color.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/gray_to_color.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,75 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +GrayToColor:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:3|show_window:False|notes:\x5B\'Combine masks nuclei + nucleoli with colors\'\x5D|batch_state:array(\x5B], dtype=uint8)|enabled:True|wants_pause:False] + Select a color scheme:RGB + Select the image to be colored red:MaskNucleoli + Select the image to be colored green:Leave this black + Select the image to be colored blue:MaskNuclei + Name the output image:CombinedMask + Relative weight for the red image:0.8 + Relative weight for the green image:1.0 + Relative weight for the blue image:0.5 + Select the image to be colored cyan:Leave this black + Select the image to be colored magenta:Leave this black + Select the image to be colored yellow:Leave this black + Select the image that determines brightness:Leave this black + Relative weight for the cyan image:1.0 + Relative weight for the magenta image:1.0 + Relative weight for the yellow image:1.0 + Relative weight for the brightness image:1.0 + Hidden:1 + Image name:None + Color:#FF0000 + Weight:1.0 |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/identify_primary_objects.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/identify_primary_objects.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,88 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +IdentifyPrimaryObjects:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:13|show_window:True|notes:\x5B\'Identify the nuclei from the DNA channel.\', \'PARAMS\x3A\', \'- Typical diameter of objects (Min,Max)\', \'- Method to distinguish clumped objects\x3A Shape/None. With Shape, the distance between the 2 centers can be changed.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Select the input image:DNA + Name the primary objects to be identified:Nuclei + Typical diameter of objects, in pixel units (Min,Max):15,200 + Discard objects outside the diameter range?:Yes + Discard objects touching the border of the image?:Yes + Method to distinguish clumped objects:Shape + Method to draw dividing lines between clumped objects:Shape + Size of smoothing filter:0 + Suppress local maxima that are closer than this minimum allowed distance:7 + Speed up by using lower-resolution image to find local maxima?:Yes + Fill holes in identified objects?:After both thresholding and declumping + Automatically calculate size of smoothing filter for declumping?:Yes + Automatically calculate minimum allowed distance between local maxima?:Yes + Handling of objects if excessive number of objects identified:Continue + Maximum number of objects:500 + Use advanced settings?:Yes + Threshold settings version:10 + Threshold strategy:Global + Thresholding method:Otsu + Threshold smoothing scale:1.3488 + Threshold correction factor:0.9 + Lower and upper bounds on threshold:0.0,1.0 + Manual threshold:0 + Select the measurement to threshold with:None + Two-class or three-class thresholding?:Two classes + Assign pixels in the middle intensity class to the foreground or the background?:Foreground + Size of adaptive window:500 + Lower outlier fraction:0.05 + Upper outlier fraction:0.05 + Averaging method:Mean + Variance method:Standard deviation + # of deviations:2.0 + Thresholding method:Otsu |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/images/AS_09125_050116030001_D03f00d0.tif |
b |
Binary file test-data/images/AS_09125_050116030001_D03f00d0.tif has changed |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/images/AS_09125_050116030001_D03f00d1.tif |
b |
Binary file test-data/images/AS_09125_050116030001_D03f00d1.tif has changed |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/images/AS_09125_050116030001_D03f00d2.tif |
b |
Binary file test-data/images/AS_09125_050116030001_D03f00d2.tif has changed |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/mask_image.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/mask_image.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,61 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +MaskImage:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:3|show_window:False|notes:\x5B'Keep only nucleoli inside the nuclei\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Select the input image:DNAdarkholes + Name the output image:MaskDNAdarkholes + Use objects or an image as a mask?:Objects + Select object for mask:Nuclei + Select image for mask:None + Invert the mask?:No |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/measure_granularity.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/measure_granularity.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,62 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +MeasureGranularity:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:3|show_window:False|notes:\x5B\'PARAMS\x3A\', \'- Radius\', '- Range\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Image count:1 + Object count:0 + Select an image to measure:DNA + Subsampling factor for granularity measurements:0.25 + Subsampling factor for background reduction:0.25 + Radius of structuring element:10 + Range of the granular spectrum:16 |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/measure_image_area_occupied.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/measure_image_area_occupied.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,62 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +MeasureImageAreaOccupied:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Hidden:2 + Measure the area occupied in a binary image, or in objects?:Objects + Select objects to measure:Nuclei + Select a binary image to measure:None + Measure the area occupied in a binary image, or in objects?:Objects + Select objects to measure:Nucleoli + Select a binary image to measure:None |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/measure_image_intensity.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/measure_image_intensity.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,61 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +MeasureImageIntensity:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Select the image to measure:DNA + Measure the intensity only from areas enclosed by objects?:No + Select the input objects:None + Select the image to measure:DNA + Measure the intensity only from areas enclosed by objects?:Yes + Select the input objects:Nuclei |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/measure_image_quality.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/measure_image_quality.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,72 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +MeasureImageQuality:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:5|show_window:False|notes:\x5B\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Calculate metrics for which images?:All loaded images + Image count:1 + Scale count:1 + Threshold count:1 + Select the images to measure: + Include the image rescaling value?:Yes + Calculate blur metrics?:Yes + Spatial scale for blur measurements:20 + Calculate saturation metrics?:Yes + Calculate intensity metrics?:Yes + Calculate thresholds?:Yes + Use all thresholding methods?:No + Select a thresholding method:Otsu + Typical fraction of the image covered by objects:0.1 + Two-class or three-class thresholding?:Two classes + Minimize the weighted variance or the entropy:Weighted variance + Assign pixels in the middle intensity class to the foreground or the background?:Foreground |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/measure_object_intensity.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/measure_object_intensity.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,58 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +MeasureObjectIntensity:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:3|show_window:False|notes:\x5B\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Hidden:1 + Select an image to measure:DNA + Select objects to measure:Nuclei |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/measure_object_size_shape.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/measure_object_size_shape.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,58 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +MeasureObjectSizeShape:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:1|show_window:False|notes:\x5B\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Select objects to measure:Nuclei + Select objects to measure:Nucleoli + Calculate the Zernike features?:Yes |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/measure_texture.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/measure_texture.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,62 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +MeasureTexture:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:5|show_window:False|notes:\x5B\'PARAMS\x3A\', \'- Texture scale']|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Hidden:1 + Hidden:1 + Hidden:1 + Select an image to measure:DNA + Select objects to measure:Nuclei + Texture scale to measure:3 + Measure images or objects?:Objects |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/relate_objects.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/relate_objects.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,62 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +RelateObjects:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:5|show_window:False|notes:\x5B\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Parent objects:Nuclei + Child objects:Nucleoli + Calculate child-parent distances?:Both + Calculate per-parent means for all child measurements?:Yes + Calculate distances to other parents?:No + Do you want to save the children with parents as a new object set?:Yes + Name the output object:RelateObjects |
b |
diff -r 000000000000 -r 29188f9c4ca8 test-data/save_images.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/save_images.txt Thu Mar 26 17:43:59 2020 -0400 |
[ |
@@ -0,0 +1,71 @@ +CellProfiler Pipeline: http://www.cellprofiler.org +Version:3 +DateRevision:319 +GitHash: +ModuleCount:5 +HasImagePlaneDetails:False + +Images:[module_num:1|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + : + Filter images?:Images only + Select the rule criteria:and (extension does isimage) (directory doesnot startwith ".") + +Metadata:[module_num:2|svn_version:\'Unknown\'|variable_revision_number:4|show_window:False|notes:\x5B\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False] + Extract metadata?:Yes + Metadata data type:Text + Metadata types:{} + Extraction method count:1 + Metadata extraction method:Extract from file/folder names + Metadata source:File name + Regular expression to extract from file name:(?P<field1>.*)_(?P<field2>[a-zA-Z0-9]+)_(?P<field3>[a-zA-Z0-9]+)_(?P<field4>[a-zA-Z0-9]+) + Regular expression to extract from folder name:(?P<Date>[0-9]{4}_[0-9]{2}_[0-9]{2})$ + Extract metadata from:All images + Select the filtering criteria:and (file does contain "") + Metadata file location: + Match file and image metadata:[] + Use case insensitive matching?:No + +NamesAndTypes:[module_num:3|svn_version:\'Unknown\'|variable_revision_number:8|show_window:False|notes:\x5B\'The NamesAndTypes module allows you to assign a meaningful name to each image by which other modules will refer to it.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Assign a name to:Images matching rules + Select the image type:Grayscale image + Name to assign these images:DNA + Match metadata:[] + Image set matching method:Order + Set intensity range from:Image metadata + Assignments count:1 + Single images count:0 + Maximum intensity:255.0 + Process as 3D?:No + Relative pixel spacing in X:1.0 + Relative pixel spacing in Y:1.0 + Relative pixel spacing in Z:1.0 + Select the rule criteria:and (file does startwith "im") + Name to assign these images:DNA + Name to assign these objects:Cell + Select the image type:Grayscale image + Set intensity range from:Image metadata + Select the image type:Grayscale image + Maximum intensity:255.0 + +Groups:[module_num:4|svn_version:\'Unknown\'|variable_revision_number:2|show_window:False|notes:\x5B\'The Groups module optionally allows you to split your list of images into image subsets (groups) which will be processed independently of each other. Examples of groupings include screening batches, microtiter plates, time-lapse movies, etc.\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Do you want to group your images?:Yes + grouping metadata count:1 + Metadata category:Screen + +SaveImages:[module_num:5|svn_version:\'Unknown\'|variable_revision_number:13|show_window:False|notes:\x5B\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False] + Select the type of image to save:Image + Select the image to save:ImageDisplay + Select method for constructing file names:From image filename + Select image name for file prefix:DNA + Enter single file name:OrigBlue + Number of digits:4 + Append a suffix to the image file name?:Yes + Text to append to the image name:_nucleiNumbers + Saved file format:tiff + Output file location:Default Output Folder\x7Coutput + Image bit depth:8-bit integer + Overwrite existing files without warning?:Yes + When to save:Every cycle + Record the file and path information to the saved image?:No + Create subfolders in the output folder?:No + Base image folder:Elsewhere... |