diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/Cubic m-3 (Th).tiff b/Data/IPF_Legend/Cubic m-3 (Th)/Cubic m-3 (Th).tiff index 8595318..41a2d59 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/Cubic m-3 (Th).tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/Cubic m-3 (Th).tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/Cubic m-3 (Th)_FULL.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/Cubic m-3 (Th)_FULL.tiff index e5e5665..53daa64 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/Cubic m-3 (Th)_FULL.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/Cubic m-3 (Th)_FULL.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/[001]_pole_figure.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/[001]_pole_figure.tiff index ffb3260..962cbb5 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/[001]_pole_figure.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/[001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/[011]_pole_figure.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/[011]_pole_figure.tiff index 42a8477..11ed794 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/[011]_pole_figure.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/[011]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/[111]_pole_figure.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/[111]_pole_figure.tiff index 56a27cf..49e8d55 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/[111]_pole_figure.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/[111]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_0_1_Red.tiff index 4186e4c..5690ea1 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_1_1_Blue.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_1_1_Blue.tiff index 4bb46d6..42f6d3c 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_1_1_Blue.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_1_1_Blue.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_1_2_Pink.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_1_2_Pink.tiff index c2fb250..6460477 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_1_2_Pink.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_0_1_2_Pink.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_0_1_Green.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_0_1_Green.tiff index 136c9f4..840994d 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_0_1_Green.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_0_1_Green.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_0_2_Yellow.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_0_2_Yellow.tiff index 8c60e60..a255ad7 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_0_2_Yellow.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_0_2_Yellow.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_1_1_Aqua.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_1_1_Aqua.tiff index 608c978..e73c7ef 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_1_1_Aqua.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_1_1_Aqua.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_1_2_Flesh.tiff b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_1_2_Flesh.tiff index 50670dd..02a8f3d 100644 Binary files a/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_1_2_Flesh.tiff and b/Data/IPF_Legend/Cubic m-3 (Th)/ipf_test_image_1_1_2_Flesh.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/Cubic m-3m (Oh).tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/Cubic m-3m (Oh).tiff index 14f8756..6c65915 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/Cubic m-3m (Oh).tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/Cubic m-3m (Oh).tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/Cubic m-3m (Oh)_FULL.tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/Cubic m-3m (Oh)_FULL.tiff index 1169d55..06da3cb 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/Cubic m-3m (Oh)_FULL.tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/Cubic m-3m (Oh)_FULL.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/[001]_pole_figure.tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/[001]_pole_figure.tiff index ffb3260..962cbb5 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/[001]_pole_figure.tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/[001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/[011]_pole_figure.tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/[011]_pole_figure.tiff index 3e4a80d..8a37547 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/[011]_pole_figure.tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/[011]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/[111]_pole_figure.tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/[111]_pole_figure.tiff index 56a27cf..49e8d55 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/[111]_pole_figure.tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/[111]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_0_1_Red.tiff index 481c5b4..8c0b051 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_1_1_Green.tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_1_1_Green.tiff index 3efb215..621e780 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_1_1_Green.tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_1_1_Green.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_2_1_Yellow.tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_2_1_Yellow.tiff index 1086da7..e37e13a 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_2_1_Yellow.tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_0_2_1_Yellow.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_1_1_Blue.tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_1_1_Blue.tiff index eb5a916..c48061a 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_1_1_Blue.tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_1_1_Blue.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_1_2_Pink.tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_1_2_Pink.tiff index f7d2084..bb0d91e 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_1_2_Pink.tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_1_2_Pink.tiff differ diff --git a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_2_2_Aqua.tiff b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_2_2_Aqua.tiff index d247c19..09c408d 100644 Binary files a/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_2_2_Aqua.tiff and b/Data/IPF_Legend/Cubic m-3m (Oh)/ipf_test_image_1_2_2_Aqua.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/Hexagonal 6_m (C6h).tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/Hexagonal 6_m (C6h).tiff index 7fac180..2547bdb 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/Hexagonal 6_m (C6h).tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/Hexagonal 6_m (C6h).tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/Hexagonal 6_m (C6h)_FULL.tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/Hexagonal 6_m (C6h)_FULL.tiff index 60ad0a3..8948566 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/Hexagonal 6_m (C6h)_FULL.tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/Hexagonal 6_m (C6h)_FULL.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/[0001]_pole_figure.tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/[0001]_pole_figure.tiff index d55bf76..b76072d 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/[0001]_pole_figure.tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/[0001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/[11-20]_pole_figure.tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/[11-20]_pole_figure.tiff index b16b99d..fe04d08 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/[11-20]_pole_figure.tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/[11-20]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/[2-1-10]_pole_figure.tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/[2-1-10]_pole_figure.tiff index 765cbce..9157e70 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/[2-1-10]_pole_figure.tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/[2-1-10]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_0_0_1_Red.tiff index 92d009e..13424c9 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_0_0_Green.tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_0_0_Green.tiff index 548d87d..b99895b 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_0_0_Green.tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_0_0_Green.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_0_1_Yellow.tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_0_1_Yellow.tiff index 59719b7..d1b4a3b 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_0_1_Yellow.tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_0_1_Yellow.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_1_0_Blue.tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_1_0_Blue.tiff index 2337842..e4a2f1e 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_1_0_Blue.tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_1_1_0_Blue.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_2_1_0_Aqua.tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_2_1_0_Aqua.tiff index 986d224..dbd18a5 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_2_1_0_Aqua.tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_2_1_0_Aqua.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_2_1_2_Flesh.tiff b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_2_1_2_Flesh.tiff index 20db5e7..313a612 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_2_1_2_Flesh.tiff and b/Data/IPF_Legend/Hexagonal 6_m (C6h)/ipf_test_image_2_1_2_Flesh.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/Hexagonal 6_mmm (D6h).tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/Hexagonal 6_mmm (D6h).tiff index 1c5441e..faa878d 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/Hexagonal 6_mmm (D6h).tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/Hexagonal 6_mmm (D6h).tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/Hexagonal 6_mmm (D6h)_FULL.tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/Hexagonal 6_mmm (D6h)_FULL.tiff index f4170c8..607fbd9 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/Hexagonal 6_mmm (D6h)_FULL.tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/Hexagonal 6_mmm (D6h)_FULL.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[0001]_pole_figure.tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[0001]_pole_figure.tiff index d55bf76..b76072d 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[0001]_pole_figure.tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[0001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[10-10]_pole_figure.tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[10-10]_pole_figure.tiff index 0d989f7..29f6d03 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[10-10]_pole_figure.tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[10-10]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[2-1-10]_pole_figure.tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[2-1-10]_pole_figure.tiff index 0497413..6b0d7a2 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[2-1-10]_pole_figure.tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/[2-1-10]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_0_0_1_Red.tiff index 5557a6a..2d02e41 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_1_0_0_Green.tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_1_0_0_Green.tiff index 0dc95d7..33f89ce 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_1_0_0_Green.tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_1_0_0_Green.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_1_0_1_Yellow.tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_1_0_1_Yellow.tiff index 38924dd..915d268 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_1_0_1_Yellow.tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_1_0_1_Yellow.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_2_1_0_Blue.tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_2_1_0_Blue.tiff index 3c957ab..4fab8ab 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_2_1_0_Blue.tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_2_1_0_Blue.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_2_1_2_Pink.tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_2_1_2_Pink.tiff index 1949eea..2c955db 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_2_1_2_Pink.tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_2_1_2_Pink.tiff differ diff --git a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_4_1_0_Aqua.tiff b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_4_1_0_Aqua.tiff index ed2aa86..73df11e 100644 Binary files a/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_4_1_0_Aqua.tiff and b/Data/IPF_Legend/Hexagonal 6_mmm (D6h)/ipf_test_image_4_1_0_Aqua.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/Monoclinic 2_m (C2h).tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/Monoclinic 2_m (C2h).tiff index d13fc1b..3758f4f 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/Monoclinic 2_m (C2h).tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/Monoclinic 2_m (C2h).tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/Monoclinic 2_m (C2h)_FULL.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/Monoclinic 2_m (C2h)_FULL.tiff index 563c470..ad34391 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/Monoclinic 2_m (C2h)_FULL.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/Monoclinic 2_m (C2h)_FULL.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/[001]_pole_figure.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/[001]_pole_figure.tiff index 2d82c98..235ce32 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/[001]_pole_figure.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/[001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/[010]_pole_figure.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/[010]_pole_figure.tiff index 5578a6c..df20b70 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/[010]_pole_figure.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/[010]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/[100]_pole_figure.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/[100]_pole_figure.tiff index bcfe80e..0318dfe 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/[100]_pole_figure.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/[100]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_-1_-1_1_Pink.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_-1_-1_1_Pink.tiff index d137409..bac24e7 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_-1_-1_1_Pink.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_-1_-1_1_Pink.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_-1_0_0_Blue.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_-1_0_0_Blue.tiff index 282c6c0..f5c4708 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_-1_0_0_Blue.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_-1_0_0_Blue.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_-1_0_Aqua.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_-1_0_Aqua.tiff index 6d247d5..14ac9f9 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_-1_0_Aqua.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_-1_0_Aqua.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_0_1_Red.tiff index b315bcd..b0376cf 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_1_0_Aqua.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_1_0_Aqua.tiff index 6d247d5..14ac9f9 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_1_0_Aqua.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_0_1_0_Aqua.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_1_0_0_Green.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_1_0_0_Green.tiff index 282c6c0..f5c4708 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_1_0_0_Green.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_1_0_0_Green.tiff differ diff --git a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_1_1_1_Yellow.tiff b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_1_1_1_Yellow.tiff index 64e222b..0dabd1c 100644 Binary files a/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_1_1_1_Yellow.tiff and b/Data/IPF_Legend/Monoclinic 2_m (C2h)/ipf_test_image_1_1_1_Yellow.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/Orthorhombic mmm (D2h).tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/Orthorhombic mmm (D2h).tiff index d15284d..08ca042 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/Orthorhombic mmm (D2h).tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/Orthorhombic mmm (D2h).tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/Orthorhombic mmm (D2h)_FULL.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/Orthorhombic mmm (D2h)_FULL.tiff index f50e976..42ffc85 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/Orthorhombic mmm (D2h)_FULL.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/Orthorhombic mmm (D2h)_FULL.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/[001]_pole_figure.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/[001]_pole_figure.tiff index 2d82c98..235ce32 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/[001]_pole_figure.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/[001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/[010]_pole_figure.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/[010]_pole_figure.tiff index 5578a6c..df20b70 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/[010]_pole_figure.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/[010]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/[100]_pole_figure.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/[100]_pole_figure.tiff index bcfe80e..0318dfe 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/[100]_pole_figure.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/[100]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_0_1_Red.tiff index e7acebf..6c7f80b 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_1_0_Blue.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_1_0_Blue.tiff index a91e1c1..3de8bd5 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_1_0_Blue.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_1_0_Blue.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_1_1_Pink.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_1_1_Pink.tiff index 84f898b..16a5d7b 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_1_1_Pink.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_0_1_1_Pink.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_0_0_Green.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_0_0_Green.tiff index 7896fd0..d7a2780 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_0_0_Green.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_0_0_Green.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_0_1_Yellow.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_0_1_Yellow.tiff index aca6c1d..8755add 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_0_1_Yellow.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_0_1_Yellow.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_1_0_Aqua.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_1_0_Aqua.tiff index 07c3891..c8df047 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_1_0_Aqua.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_1_0_Aqua.tiff differ diff --git a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_1_1_Flesh.tiff b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_1_1_Flesh.tiff index 3aed3a9..8998ea8 100644 Binary files a/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_1_1_Flesh.tiff and b/Data/IPF_Legend/Orthorhombic mmm (D2h)/ipf_test_image_1_1_1_Flesh.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/Tetragonal 4_m (C4h).tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/Tetragonal 4_m (C4h).tiff index 08aa724..8c18965 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/Tetragonal 4_m (C4h).tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/Tetragonal 4_m (C4h).tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/Tetragonal 4_m (C4h)_FULL.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/Tetragonal 4_m (C4h)_FULL.tiff index 01bed52..0c5efb6 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/Tetragonal 4_m (C4h)_FULL.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/Tetragonal 4_m (C4h)_FULL.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/[001]_pole_figure.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/[001]_pole_figure.tiff index 2d82c98..235ce32 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/[001]_pole_figure.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/[001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/[010]_pole_figure.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/[010]_pole_figure.tiff index 5578a6c..df20b70 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/[010]_pole_figure.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/[010]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/[100]_pole_figure.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/[100]_pole_figure.tiff index bcfe80e..0318dfe 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/[100]_pole_figure.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/[100]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_0_1_Red.tiff index 37b8ef2..8afcafb 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_1_0_Blue.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_1_0_Blue.tiff index 06ca239..086ba7d 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_1_0_Blue.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_1_0_Blue.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_1_1_Yellow.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_1_1_Yellow.tiff index b00454f..51ef6d8 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_1_1_Yellow.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_0_1_1_Yellow.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_0_0_Green.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_0_0_Green.tiff index 9ee2dd9..f3630d1 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_0_0_Green.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_0_0_Green.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_0_1_Pink.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_0_1_Pink.tiff index e850fc4..b846f2b 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_0_1_Pink.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_0_1_Pink.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_1_0_Aqua.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_1_0_Aqua.tiff index 07c3891..c8df047 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_1_0_Aqua.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_1_0_Aqua.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_1_1_Flesh.tiff b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_1_1_Flesh.tiff index 3aed3a9..8998ea8 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_1_1_Flesh.tiff and b/Data/IPF_Legend/Tetragonal 4_m (C4h)/ipf_test_image_1_1_1_Flesh.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/Tetragonal 4_mmm (D4h).tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/Tetragonal 4_mmm (D4h).tiff index 1af5995..5277083 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/Tetragonal 4_mmm (D4h).tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/Tetragonal 4_mmm (D4h).tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/Tetragonal 4_mmm (D4h)_FULL.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/Tetragonal 4_mmm (D4h)_FULL.tiff index 6383f66..1a80e92 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/Tetragonal 4_mmm (D4h)_FULL.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/Tetragonal 4_mmm (D4h)_FULL.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[001]_pole_figure.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[001]_pole_figure.tiff index 2d82c98..235ce32 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[001]_pole_figure.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[100]_pole_figure.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[100]_pole_figure.tiff index 63d1583..f0c218e 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[100]_pole_figure.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[100]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[110]_pole_figure.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[110]_pole_figure.tiff index e180bc0..45a560d 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[110]_pole_figure.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/[110]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_0_0_1_Red.tiff index 6957ae2..4a2124a 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_0_0_Green.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_0_0_Green.tiff index c78bec6..73e9237 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_0_0_Green.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_0_0_Green.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_0_1_Yellow.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_0_1_Yellow.tiff index 9ad081a..da96bf5 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_0_1_Yellow.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_0_1_Yellow.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_1_0_Blue.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_1_0_Blue.tiff index e66b555..158096b 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_1_0_Blue.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_1_0_Blue.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_1_1_Pink.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_1_1_Pink.tiff index a9bdada..a5d73e7 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_1_1_Pink.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_1_1_Pink.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_2_3_Flesh.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_2_3_Flesh.tiff index 82f3aaa..08a7538 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_2_3_Flesh.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_1_2_3_Flesh.tiff differ diff --git a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_2_1_0_Aqua.tiff b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_2_1_0_Aqua.tiff index 4f73477..9734c93 100644 Binary files a/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_2_1_0_Aqua.tiff and b/Data/IPF_Legend/Tetragonal 4_mmm (D4h)/ipf_test_image_2_1_0_Aqua.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/Triclinic -1 (Ci).tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/Triclinic -1 (Ci).tiff index a9140a4..081d95b 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/Triclinic -1 (Ci).tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/Triclinic -1 (Ci).tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/Triclinic -1 (Ci)_FULL.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/Triclinic -1 (Ci)_FULL.tiff index d4ddde9..ab3d729 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/Triclinic -1 (Ci)_FULL.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/Triclinic -1 (Ci)_FULL.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/[001]_pole_figure.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/[001]_pole_figure.tiff index 2d82c98..235ce32 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/[001]_pole_figure.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/[001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/[010]_pole_figure.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/[010]_pole_figure.tiff index 5578a6c..df20b70 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/[010]_pole_figure.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/[010]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/[100]_pole_figure.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/[100]_pole_figure.tiff index bcfe80e..0318dfe 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/[100]_pole_figure.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/[100]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_-1_-1_1_Pink.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_-1_-1_1_Pink.tiff index d137409..bac24e7 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_-1_-1_1_Pink.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_-1_-1_1_Pink.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_-1_0_0_Blue.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_-1_0_0_Blue.tiff index 282c6c0..f5c4708 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_-1_0_0_Blue.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_-1_0_0_Blue.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_0_1_Red.tiff index b315bcd..b0376cf 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_1_0_Aqua.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_1_0_Aqua.tiff index 6d247d5..14ac9f9 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_1_0_Aqua.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_1_0_Aqua.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_1_1_Flesh.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_1_1_Flesh.tiff index 6f4983a..40a1cc1 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_1_1_Flesh.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_0_1_1_Flesh.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_1_0_0_Green.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_1_0_0_Green.tiff index 282c6c0..f5c4708 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_1_0_0_Green.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_1_0_0_Green.tiff differ diff --git a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_1_1_1_Yellow.tiff b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_1_1_1_Yellow.tiff index 64e222b..0dabd1c 100644 Binary files a/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_1_1_1_Yellow.tiff and b/Data/IPF_Legend/Triclinic -1 (Ci)/ipf_test_image_1_1_1_Yellow.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/Trigonal -3 (C3i).tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/Trigonal -3 (C3i).tiff index 43236ae..1a565c9 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/Trigonal -3 (C3i).tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/Trigonal -3 (C3i).tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/Trigonal -3 (C3i)_FULL.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/Trigonal -3 (C3i)_FULL.tiff index 040cba9..1a7d450 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/Trigonal -3 (C3i)_FULL.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/Trigonal -3 (C3i)_FULL.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/[-1-120]_pole_figure.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/[-1-120]_pole_figure.tiff index 48fe01a..c8b1fcb 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/[-1-120]_pole_figure.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/[-1-120]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/[0001]_pole_figure.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/[0001]_pole_figure.tiff index 2d82c98..235ce32 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/[0001]_pole_figure.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/[0001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/[2-1-10]_pole_figure.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/[2-1-10]_pole_figure.tiff index bcfe80e..0318dfe 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/[2-1-10]_pole_figure.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/[2-1-10]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_-1_-1_0_Green.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_-1_-1_0_Green.tiff index 2c97adf..37248bc 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_-1_-1_0_Green.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_-1_-1_0_Green.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_0_-1_1_Yellow.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_0_-1_1_Yellow.tiff index b6929cc..236face 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_0_-1_1_Yellow.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_0_-1_1_Yellow.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_0_0_1_Red.tiff index 93ef5db..b8c84fd 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_-2_0_Aqua.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_-2_0_Aqua.tiff index 165e045..12f4a33 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_-2_0_Aqua.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_-2_0_Aqua.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_-2_2_Flesh.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_-2_2_Flesh.tiff index f1eca77..cbaac7d 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_-2_2_Flesh.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_-2_2_Flesh.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_0_0_Blue.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_0_0_Blue.tiff index 9a448f9..2af313f 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_0_0_Blue.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_1_0_0_Blue.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_2_-1_2_Pink.tiff b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_2_-1_2_Pink.tiff index faa0509..f6cbb9f 100644 Binary files a/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_2_-1_2_Pink.tiff and b/Data/IPF_Legend/Trigonal -3 (C3i)/ipf_test_image_2_-1_2_Pink.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/Trigonal -3m (D3d).tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/Trigonal -3m (D3d).tiff index 053834f..fe344c9 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/Trigonal -3m (D3d).tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/Trigonal -3m (D3d).tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/Trigonal -3m (D3d)_FULL.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/Trigonal -3m (D3d)_FULL.tiff index b54fc1d..48a5f06 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/Trigonal -3m (D3d)_FULL.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/Trigonal -3m (D3d)_FULL.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/[0-110]_pole_figure.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/[0-110]_pole_figure.tiff index b0571e7..cac4988 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/[0-110]_pole_figure.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/[0-110]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/[0001]_pole_figure.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/[0001]_pole_figure.tiff index d55bf76..b76072d 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/[0001]_pole_figure.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/[0001]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/[1-100]_pole_figure.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/[1-100]_pole_figure.tiff index d55b1fa..66e7514 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/[1-100]_pole_figure.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/[1-100]_pole_figure.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_0_0_Aqua.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_0_0_Aqua.tiff index ff31877..6650312 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_0_0_Aqua.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_0_0_Aqua.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_0_1_Red.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_0_1_Red.tiff index f4383fb..2408006 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_0_1_Red.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_0_1_Red.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_1_-1_Yellow.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_1_-1_Yellow.tiff index d3f6cb7..cf4e221 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_1_-1_Yellow.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_1_-1_Yellow.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_1_0_Green.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_1_0_Green.tiff index f160a85..1583c23 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_1_0_Green.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_0_1_0_Green.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_1_-1_1_Pink.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_1_-1_1_Pink.tiff index 6fa34c9..8c7ace8 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_1_-1_1_Pink.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_1_-1_1_Pink.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_1_0_1_Flesh.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_1_0_1_Flesh.tiff index 025e971..8f6f4e4 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_1_0_1_Flesh.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_1_0_1_Flesh.tiff differ diff --git a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_2_1_0_Blue.tiff b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_2_1_0_Blue.tiff index 89ab77e..ba06f5f 100644 Binary files a/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_2_1_0_Blue.tiff and b/Data/IPF_Legend/Trigonal -3m (D3d)/ipf_test_image_2_1_0_Blue.tiff differ diff --git a/Source/Apps/generate_ipf_legends.cpp b/Source/Apps/generate_ipf_legends.cpp index 88be27d..91b0970 100644 --- a/Source/Apps/generate_ipf_legends.cpp +++ b/Source/Apps/generate_ipf_legends.cpp @@ -339,6 +339,39 @@ int main(int argc, char* argv[]) std::stringstream ss; int imageDim = 512; + { + TrigonalOps ops; + auto legend = ops.generateIPFTriangleLegend(imageDim, true); + ss.str(""); + ss << k_Output_Dir << "/" << EbsdStringUtils::replace(ops.getSymmetryName(), "/", "_") << "/" << EbsdStringUtils::replace(ops.getSymmetryName(), "/", "_") << "_FULL.tiff"; + auto result = TiffWriter::WriteColorImage(ss.str(), imageDim, imageDim, 3, legend->getPointer(0)); + std::cout << ops.getSymmetryName() << " Result: " << result.first << ": " << result.second << std::endl; + + legend = ops.generateIPFTriangleLegend(imageDim, false); + int xStart = imageDim * 0.05F; + int yStart = 0; + int numCols = imageDim * 0.75F; + int numRows = imageDim * 0.65F; + legend = EbsdLib::CropRGBImage(legend, imageDim, imageDim, xStart, yStart, numCols, numRows); + ss.str(""); + ss << k_Output_Dir << "/" << EbsdStringUtils::replace(ops.getSymmetryName(), "/", "_") << "/" << EbsdStringUtils::replace(ops.getSymmetryName(), "/", "_") << ".tiff"; + result = TiffWriter::WriteColorImage(ss.str(), numCols, numRows, 3, legend->getPointer(0)); + std::cout << ops.getSymmetryName() << " Result: " << result.first << ": " << result.second << std::endl; + + std::vector referenceDirections = { + {0.0F, 0.0F, 1.0F}, // Red DONE + {0.0F, 1.0F, 0.0F}, // Green + {-0.5F, std::sqrt(3.0F) / 2.0F, 0.0F}, // Aqua + {2.0F, 1.0F, 0.0F}, // Blue + {0.0F, 1.0F, -1.0F}, // Yellow DONE + {1.0F, -1.0F, 1.0F}, // Pink DONE + {1.0F, 0.0F, 1.0F}, // Flesh + }; + std::vector colorNames{"Red", "Green", "Aqua", "Blue", "Yellow", "Pink", "Flesh"}; + GenerateTestIPFImages(referenceDirections, colorNames, 10); + // Generate Pole Figures for the Input Test Orientations + GeneratePoleFigures(ops, 2); + } { TriclinicOps ops; @@ -630,40 +663,6 @@ int main(int argc, char* argv[]) GeneratePoleFigures(ops, 2); } - { - TrigonalOps ops; - auto legend = ops.generateIPFTriangleLegend(imageDim, true); - ss.str(""); - ss << k_Output_Dir << "/" << EbsdStringUtils::replace(ops.getSymmetryName(), "/", "_") << "/" << EbsdStringUtils::replace(ops.getSymmetryName(), "/", "_") << "_FULL.tiff"; - auto result = TiffWriter::WriteColorImage(ss.str(), imageDim, imageDim, 3, legend->getPointer(0)); - std::cout << ops.getSymmetryName() << " Result: " << result.first << ": " << result.second << std::endl; - - legend = ops.generateIPFTriangleLegend(imageDim, false); - int xStart = imageDim * 0.05F; - int yStart = 0; - int numCols = imageDim * 0.75F; - int numRows = imageDim * 0.65F; - legend = EbsdLib::CropRGBImage(legend, imageDim, imageDim, xStart, yStart, numCols, numRows); - ss.str(""); - ss << k_Output_Dir << "/" << EbsdStringUtils::replace(ops.getSymmetryName(), "/", "_") << "/" << EbsdStringUtils::replace(ops.getSymmetryName(), "/", "_") << ".tiff"; - result = TiffWriter::WriteColorImage(ss.str(), numCols, numRows, 3, legend->getPointer(0)); - std::cout << ops.getSymmetryName() << " Result: " << result.first << ": " << result.second << std::endl; - - std::vector referenceDirections = { - {0.0F, 0.0F, 1.0F}, // Red DONE - {0.0F, 1.0F, 0.0F}, // Green - {-0.5F, std::sqrt(3.0F) / 2.0F, 0.0F}, // Aqua - {2.0F, 1.0F, 0.0F}, // Blue - {0.0F, 1.0F, -1.0F}, // Yellow DONE - {1.0F, -1.0F, 1.0F}, // Pink DONE - {1.0F, 0.0F, 1.0F}, // Flesh - }; - std::vector colorNames{"Red", "Green", "Aqua", "Blue", "Yellow", "Pink", "Flesh"}; - GenerateTestIPFImages(referenceDirections, colorNames, 10); - // Generate Pole Figures for the Input Test Orientations - GeneratePoleFigures(ops, 2); - } - { TrigonalLowOps ops; auto legend = ops.generateIPFTriangleLegend(imageDim, true); diff --git a/Source/EbsdLib/Core/Quaternion.hpp b/Source/EbsdLib/Core/Quaternion.hpp index 4efa5de..e6ce1ae 100644 --- a/Source/EbsdLib/Core/Quaternion.hpp +++ b/Source/EbsdLib/Core/Quaternion.hpp @@ -397,7 +397,7 @@ class Quaternion /** * @brief Conjugate Converts quaternion q into its conjugate - * @return new quaternioin that is the conjugate of the current quaternion + * @return new quaternion that is the conjugate of the current quaternion */ Quaternion conjugate() const { diff --git a/Source/EbsdLib/LaueOps/LaueOps.cpp b/Source/EbsdLib/LaueOps/LaueOps.cpp index 04a6277..5a1cfc1 100644 --- a/Source/EbsdLib/LaueOps/LaueOps.cpp +++ b/Source/EbsdLib/LaueOps/LaueOps.cpp @@ -187,6 +187,7 @@ OrientationD LaueOps::calculateMisorientationInternal(const std::vector& QuatD qc; QuatD qr = q1 * (q2.conjugate()); size_t numsym = quatsym.size(); + // Loop through all the symmetry operators and find the Axis Angle with the smallest angular part. for(size_t i = 0; i < numsym; i++) { qc = quatsym[i] * qr; @@ -211,15 +212,19 @@ OrientationD LaueOps::calculateMisorientationInternal(const std::vector& } } double denom = sqrt((axisAngleMin[0] * axisAngleMin[0] + axisAngleMin[1] * axisAngleMin[1] + axisAngleMin[2] * axisAngleMin[2])); - axisAngleMin[0] = axisAngleMin[0] / denom; - axisAngleMin[1] = axisAngleMin[1] / denom; - axisAngleMin[2] = axisAngleMin[2] / denom; + if(denom == 0.0 || axisAngleMin[3] == 0.0) { axisAngleMin[0] = 0.0; axisAngleMin[1] = 0.0; axisAngleMin[2] = 1.0; } + else + { + axisAngleMin[0] = axisAngleMin[0] / denom; + axisAngleMin[1] = axisAngleMin[1] / denom; + axisAngleMin[2] = axisAngleMin[2] / denom; + } return axisAngleMin; } diff --git a/Source/EbsdLib/LaueOps/LaueOps.h b/Source/EbsdLib/LaueOps/LaueOps.h index 1ed0d3b..c6f8007 100644 --- a/Source/EbsdLib/LaueOps/LaueOps.h +++ b/Source/EbsdLib/LaueOps/LaueOps.h @@ -204,7 +204,7 @@ class EbsdLib_EXPORT LaueOps virtual QuatF getNearestQuat(const QuatF& q1f, const QuatF& q2f) const = 0; /** - * @brief getFZQuat Returns a Quaternioni that lies in the Fundemental Zone (FZ) + * @brief getFZQuat Returns a Quaternion that lies in the Fundamental Zone (FZ) * @param qr Input Quaternion * @return */ diff --git a/Source/EbsdLib/Utilities/TiffWriter.cpp b/Source/EbsdLib/Utilities/TiffWriter.cpp index 9d51c7d..9a62f38 100644 --- a/Source/EbsdLib/Utilities/TiffWriter.cpp +++ b/Source/EbsdLib/Utilities/TiffWriter.cpp @@ -70,27 +70,29 @@ std::pair TiffWriter::WriteColorImage(const std::string& f // Generate the offset into the Image File Directory (ifd) which we are going to write first constexpr uint32_t ifd_Offset = 8; outputFile.write(reinterpret_cast(&ifd_Offset), sizeof(ifd_Offset)); - + const int k_NumTags = 12; std::vector tags; - tags.push_back(TIFTAG{0x00FE, 0x0004, 1, 0x00000000}); // NewSubfileType - tags.push_back(TIFTAG{0x0100, 0x0004, 1, width}); // ImageWidth - tags.push_back(TIFTAG{0x0101, 0x0004, 1, height}); // ImageLength - tags.push_back(TIFTAG{0x0102, 0x0003, 1, 8 * sizeof(char)}); // BitsPerSample - tags.push_back(TIFTAG{0x0103, 0x0003, 1, 0x0001}); // Compression - tags.push_back(TIFTAG{0x0106, 0x0003, 1, PHOTOMETRIC_RGB}); // PhotometricInterpretation // For SamplesPerPixel = 3 or 4 (RGB or RGBA) + tags.push_back(TIFTAG{0x00FE, 0x0004, 1, 0x00000000}); // NewSubfileType + tags.push_back(TIFTAG{0x0100, 0x0004, 1, width}); // ImageWidth + tags.push_back(TIFTAG{0x0101, 0x0004, 1, height}); // ImageLength + tags.push_back(TIFTAG{0x0102, 0x0003, 1, 8 * sizeof(char)}); // BitsPerSample + tags.push_back(TIFTAG{0x0103, 0x0003, 1, 0x0001}); // Compression + tags.push_back(TIFTAG{0x0106, 0x0003, 1, PHOTOMETRIC_RGB}); // PhotometricInterpretation // For SamplesPerPixel = 3 or 4 (RGB or RGBA) + // Now compute the offset to the image data so that we can put that into the tag. + // The math on this ONLY Works if we have 11 total Tags. + // IF YOU ADD MORE TAGS, YOU NEED TO ADJUST THE NEXT LINE OF CODE + int32_t imageDataOffset = static_cast(8 + (k_NumTags * 12) + 6); // Header + tags + IDF Tag entry count and Next IFD Offset + tags.push_back(TIFTAG{0x0111, 0x0004, 1, imageDataOffset}); // StripOffsets + tags.push_back(TIFTAG{0x0112, 0x0003, 1, 1}); // Orientation tags.push_back(TIFTAG{0x0115, 0x0003, 1, samplesPerPixel}); // SamplesPerPixel tags.push_back(TIFTAG{0x0116, 0x0004, 1, height}); // RowsPerStrip tags.push_back(TIFTAG{0x0117, 0x0004, 1, width * height * samplesPerPixel}); // StripByteCounts + // TIFTAG XResolution; // TIFTAG YResolution; // TIFTAG ResolutionUnit; - tags.push_back(TIFTAG{0x011c, 0x0003, 1, 0x0001}); // PlanarConfiguration - - // Now compute the offset to the image data so that we can put that into the tag. - // THESE NEXT 2 LINES MUST BE THE LAST TAG TO BE PUSHED BACK INTO THE VECTOR OR THE MATH WILL BE WRONG - int32_t imageDataOffset = static_cast(8 + ((tags.size() + 1) * 12) + 6); // Header + tags + IDF Tag entry count and Next IFD Offset - tags.push_back(TIFTAG{0x0111, 0x0004, 1, imageDataOffset}); // StripOffsets + tags.push_back(TIFTAG{0x011c, 0x0003, 1, 0x0001}); // PlanarConfiguration // 284 // Write the number of tags to the IFD section uint16_t numEntries = static_cast(tags.size());