Diff of /3B_remove evidence.py [000000] .. [f84ece]

Switch to side-by-side view

--- a
+++ b/3B_remove evidence.py
@@ -0,0 +1,18 @@
+from procedures.attack_pipeline import *
+
+print('Removing Evidence...')
+
+# Init pipeline
+remover = scan_manipulator()
+
+# Load target scan (provide path to dcm or mhd file)
+remover.load_target_scan('path_to_target_scan')
+
+# Inject at two locations (this version does not implement auto candidate location selection)
+vox_coord1 = np.array([53,213,400]) #z, y , x (x-y should be flipped if the coordinates were obtained from an image viewer such as RadiAnt)
+vox_coord2 = np.array([33,313,200])
+remover.tamper(vox_coord1, action='remove', isVox=True) #can supply realworld coord too
+remover.tamper(vox_coord2, action='remove', isVox=True)
+
+# Save scan
+remover.save_tampered_scan('path_to_save_scan',output_type='dicom') #output can be dicom or numpy