Mercurial > hg > orthanc
changeset 6484:46462739f6d2 pixel-anon
removed TODO-PIXEL-ANON
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Tue, 25 Nov 2025 14:15:51 +0100 |
| parents | 42ef092375fd |
| children | f44c708caf25 4d360f94a3fc |
| files | OrthancFramework/Sources/DicomParsing/DicomModification.cpp OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h |
| diffstat | 2 files changed, 0 insertions(+), 30 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/DicomModification.cpp Tue Nov 25 14:08:09 2025 +0100 +++ b/OrthancFramework/Sources/DicomParsing/DicomModification.cpp Tue Nov 25 14:15:51 2025 +0100 @@ -1336,14 +1336,6 @@ privateCreator_ = SerializationToolbox::ReadString(request, "PrivateCreator"); } - // TODO-PIXEL-ANON: remove - // // New in Orthanc 1.X.X - // if (request.isMember("MaskPixelData") && request["MaskPixelData"].isObject()) - // { - // pixelMasker_.reset(new DicomPixelMasker()); - // pixelMasker_->ParseRequest(request); - // } - if (!force) { /** @@ -1463,14 +1455,6 @@ { privateCreator_ = SerializationToolbox::ReadString(request, "PrivateCreator"); } - - // TODO-PIXEL-ANON: remove - // // New in Orthanc 1.X.X - // if (request.isMember("MaskPixelData") && request["MaskPixelData"].isObject()) - // { - // pixelMasker_.reset(new DicomPixelMasker()); - // pixelMasker_->ParseRequest(request); - // } } void DicomModification::SetDicomIdentifierGenerator(DicomModification::IDicomIdentifierGenerator* generator)
--- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Tue Nov 25 14:08:09 2025 +0100 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Tue Nov 25 14:15:51 2025 +0100 @@ -10710,20 +10710,6 @@ return context->InvokeService(context, _OrthancPluginService_RegisterAuditLogHandler, ¶ms); } - // TODO-PIXEL-ANON: cleanup (or implement ;-) ) - // ORTHANC_PLUGIN_INLINE OrthancPluginErrorCode OrthancPluginRegisterCustomModifier( - // OrthancPluginContext* context, - // OrthancPluginCustomModifierFactory factory, // signature like CreateCustomModifier(void* output, - // // const void* request, uint64_t requestSize // the full json request or only the "CustomModifier part" ? - // // const char* resourceId, ResourceLevel .. // that would allow the plugin e.g. to detect the areas to clear by e.g: detecting the patient face ... - // // ) - // // Creates a CustomModifier from: - // // - either a request payload - // // - or, from a serialized modification job (the job would serialize its creation request. This way, we don't need to implement serialize/unserialize in the CustomModifier) - // OrthancPluginApplyCustomModifier apply, // signature like OrthancPluginDicomInstance* ApplyCustomModifier(void* modifier, OrthancPluginDicomInstance* source) - // OrthancPluginFreeCustomModifier free, // signature like void FreeCustomModifier(void* modifier) - // ) - typedef struct {
