Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

also removes the macro image from aperio slides #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

koltenpearson
Copy link

At times the macro could include a snippet of the label

@jetic83
Copy link

jetic83 commented Jun 8, 2018

Thank you, @koltenpearson , for that commit, I was also looking for deleting the macro, since it sometimes has scanned parts of PHI on it.

But while the label file is just a white image after deletion, the macro image is a wired distorted black white image (example attached). Do you, or @bgilbert know why?

The deletion of the label uses a expected_prefix (LZW_CLEARCODE), but the deletion of the macro uses None expected_prefix. Maybe that is a reason?

image

@koltenpearson
Copy link
Author

I tried leaving in the LZW_CLEARCODE at first, but it would not work when I did so. It seemed like the expected_prefix was something to check for before performing the delete. Unfortunately I do not have a complete understanding of how the file format works, so maybe @bgilbert could give a better explanation of what is going on. After running the script I was unable to see either the label or the macro in the associated_images map using openslides (python bindings) so I assumed it was gone. The image you show makes me worry that something might be recoverable after all

@AndrewNorgan
Copy link

@bgilbert Removing the Macro (in addition to the Label) would be very helpful for anonymizing. Is this the right approach?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants