Skip to content

Commit

Permalink
ENH: Add proper sample and crystal reference frame rotations to these…
Browse files Browse the repository at this point in the history
… pipelines

Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson committed Oct 6, 2023
1 parent 7f66507 commit 96c55ac
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 10 deletions.
95 changes: 91 additions & 4 deletions src/Plugins/OrientationAnalysis/pipelines/ReadAng.d3dpipeline
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"isDisabled": false,
"name": "ReadAng.d3dpipeline",
"pinnedParams": [],
"name": "Untitled Pipeline",
"pipeline": [
{
"args": {
Expand All @@ -10,12 +9,99 @@
"data_container_name": "DataContainer",
"input_file": "Data/Small_IN100/Slice_1.ang"
},
"comments": "",
"filter": {
"name": "complex::ReadAngDataFilter",
"uuid": "5b062816-79ac-47ce-93cb-e7966896bcbd"
},
"isDisabled": false
},
{
"args": {
"cell_euler_angles_array_path": "DataContainer/Cell Data/EulerAngles",
"rotation_axis": [
0.0,
0.0,
1.0,
90.0
]
},
"comments": "",
"filter": {
"name": "complex::RotateEulerRefFrameFilter",
"uuid": "0458edcd-3655-4465-adc8-b036d76138b5"
},
"isDisabled": false
},
{
"args": {
"created_image_geometry": "DataContainer",
"remove_original_geometry": true,
"rotate_slice_by_slice": false,
"rotation_axis": [
0.0,
1.0,
0.0,
180.0
],
"rotation_matrix": [
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
]
],
"rotation_representation": 0,
"selected_image_geometry": "DataContainer"
},
"comments": "",
"filter": {
"name": "complex::RotateSampleRefFrameFilter",
"uuid": "d2451dc1-a5a1-4ac2-a64d-7991669dcffc"
},
"isDisabled": false
},
{
"args": {
"array_thresholds": {
"inverted": false,
"thresholds": [
{
"array_path": "DataContainer/Cell Data/Confidence Index",
"comparison": 1,
"inverted": false,
"type": "array",
"union": 0,
"value": 0.1
}
],
"type": "collection",
"union": 0
},
"created_data_path": "Mask",
"created_mask_type": 10,
"custom_false_value": 0.0,
"custom_true_value": 1.0,
"use_custom_false_value": false,
"use_custom_true_value": false
},
"comments": "",
"filter": {
"name": "complex::MultiThresholdObjects",
"uuid": "4246245e-1011-4add-8436-0af6bed19228"
},
"isDisabled": false
},
{
"args": {
"cell_euler_angles_array_path": "DataContainer/Cell Data/EulerAngles",
Expand All @@ -30,12 +116,13 @@
],
"use_good_voxels": false
},
"comments": "",
"filter": {
"name": "complex::GenerateIPFColorsFilter",
"uuid": "64cb4f27-6e5e-4dd2-8a03-0c448cb8f5e6"
},
"isDisabled": false
}
],
"workflowParams": []
}
"version": 1
}
91 changes: 85 additions & 6 deletions src/Plugins/OrientationAnalysis/pipelines/ReadCTF.d3dpipeline
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"isDisabled": false,
"name": "ReadCTF.d3dpipeline",
"pinnedParams": [],
"name": "Untitled Pipeline",
"pipeline": [
{
"args": {
Expand All @@ -12,32 +11,112 @@
"edax_hexagonal_alignment": false,
"input_file": "Data/T12-MAI-2010/fw-ar-IF1-aptr12-corr.ctf"
},
"comments": "",
"filter": {
"name": "complex::ReadCtfDataFilter",
"uuid": "7751923c-afb9-4032-8372-8078325c69a4"
},
"isDisabled": false
},
{
"args": {
"created_image_geometry": "",
"remove_original_geometry": true,
"rotate_slice_by_slice": false,
"rotation_axis": [
0.0,
1.0,
0.0,
180.0
],
"rotation_matrix": [
[
1.0,
0.0,
0.0,
0.0
],
[
0.0,
1.0,
0.0,
0.0
],
[
0.0,
0.0,
1.0,
0.0
],
[
0.0,
0.0,
0.0,
1.0
]
],
"rotation_representation": 0,
"selected_image_geometry": "DataContainer"
},
"comments": "",
"filter": {
"name": "complex::RotateSampleRefFrameFilter",
"uuid": "d2451dc1-a5a1-4ac2-a64d-7991669dcffc"
},
"isDisabled": false
},
{
"args": {
"array_thresholds": {
"inverted": false,
"thresholds": [
{
"array_path": "DataContainer/Cell Data/Error",
"comparison": 2,
"inverted": false,
"type": "array",
"union": 0,
"value": 0.0
}
],
"type": "collection",
"union": 0
},
"created_data_path": "Mask",
"created_mask_type": 10,
"custom_false_value": 0.0,
"custom_true_value": 1.0,
"use_custom_false_value": false,
"use_custom_true_value": false
},
"comments": "",
"filter": {
"name": "complex::MultiThresholdObjects",
"uuid": "4246245e-1011-4add-8436-0af6bed19228"
},
"isDisabled": false
},
{
"args": {
"cell_euler_angles_array_path": "DataContainer/Cell Data/EulerAngles",
"cell_ipf_colors_array_name": "IPFColors",
"cell_phases_array_path": "DataContainer/Cell Data/Phases",
"crystal_structures_array_path": "DataContainer/CellEnsembleData/CrystalStructures",
"good_voxels_array_path": "",
"good_voxels_array_path": "DataContainer/Cell Data/Mask",
"reference_dir": [
0.0,
0.0,
1.0
],
"use_good_voxels": false
"use_good_voxels": true
},
"comments": "",
"filter": {
"name": "complex::GenerateIPFColorsFilter",
"uuid": "64cb4f27-6e5e-4dd2-8a03-0c448cb8f5e6"
},
"isDisabled": false
}
],
"workflowParams": []
}
"version": 1
}

0 comments on commit 96c55ac

Please sign in to comment.