{"action":"created","issue":{"url":"https://api.github.com/repos/chop-dbhi/dicom-anon/issues/3","labels_url":"https://api.github.com/repos/chop-dbhi/dicom-anon/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/chop-dbhi/dicom-anon/issues/3/comments","events_url":"https://api.github.com/repos/chop-dbhi/dicom-anon/issues/3/events","html_url":"https://github.com/chop-dbhi/dicom-anon/issues/3","id":59565941,"number":3,"title":"Support Pixel Anonimizers","user":{"login":"cancan101","id":51059,"avatar_url":"https://avatars.githubusercontent.com/u/51059?v=3","gravatar_id":"","url":"https://api.github.com/users/cancan101","html_url":"https://github.com/cancan101","followers_url":"https://api.github.com/users/cancan101/followers","following_url":"https://api.github.com/users/cancan101/following{/other_user}","gists_url":"https://api.github.com/users/cancan101/gists{/gist_id}","starred_url":"https://api.github.com/users/cancan101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cancan101/subscriptions","organizations_url":"https://api.github.com/users/cancan101/orgs","repos_url":"https://api.github.com/users/cancan101/repos","events_url":"https://api.github.com/users/cancan101/events{/privacy}","received_events_url":"https://api.github.com/users/cancan101/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-02T22:57:51Z","updated_at":"2015-03-10T17:26:41Z","closed_at":null,"body":"Allow plugging in a pixel anonymizer that blacks our the burned in annotations. \r\nIdeally it would plug in [here](https://github.com/chop-dbhi/dicom-anon/blob/4a6f06887459e72fb07ba17c28ad2fa4747c74e0/dicom_anon.py#L714) and look something like: https://github.com/johnperry/CTP/blob/master/source/files/scripts/DicomPixelAnonymizer.script"},"comment":{"url":"https://api.github.com/repos/chop-dbhi/dicom-anon/issues/comments/78103811","html_url":"https://github.com/chop-dbhi/dicom-anon/issues/3#issuecomment-78103811","issue_url":"https://api.github.com/repos/chop-dbhi/dicom-anon/issues/3","id":78103811,"user":{"login":"cancan101","id":51059,"avatar_url":"https://avatars.githubusercontent.com/u/51059?v=3","gravatar_id":"","url":"https://api.github.com/users/cancan101","html_url":"https://github.com/cancan101","followers_url":"https://api.github.com/users/cancan101/followers","following_url":"https://api.github.com/users/cancan101/following{/other_user}","gists_url":"https://api.github.com/users/cancan101/gists{/gist_id}","starred_url":"https://api.github.com/users/cancan101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cancan101/subscriptions","organizations_url":"https://api.github.com/users/cancan101/orgs","repos_url":"https://api.github.com/users/cancan101/repos","events_url":"https://api.github.com/users/cancan101/events{/privacy}","received_events_url":"https://api.github.com/users/cancan101/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T17:26:41Z","updated_at":"2015-03-10T17:26:41Z","body":"I'm not sure I follow what you are saying.\r\n\r\nIt looks like the `VR` string as see by pydicom may be: `'OB or OW'`, `'OB'` or `'OW'`.\r\n\r\nI have dealt with the issue for now:\r\n```python\r\ndef vr_handler(ds, e):\r\n    if (e.VR in ['PN', 'CS', 'UI', 'DA', 'DT', 'LT', 'UN', 'UT', 'ST', 'AE', 'LO', 'TM', 'SH', 'AS', 'OB', 'OW'] and\r\n        e.tag != PIXEL_DATA):\r\n        del ds[e.tag]\r\n        return True\r\n    return False\r\n```\r\n"}}