comparison Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp @ 2008:37d6805b80ee deep-learning

integration mainline->deep-learning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 18 Nov 2022 00:37:00 +0100
parents 963f28eb40cb c818be7cb940
children 04148de691a7
comparison
equal deleted inserted replaced
2003:963f28eb40cb 2008:37d6805b80ee
4100 printf("Initializing Stone\n"); 4100 printf("Initializing Stone\n");
4101 Orthanc::InitializeFramework("", true); 4101 Orthanc::InitializeFramework("", true);
4102 Orthanc::Logging::EnableInfoLevel(true); 4102 Orthanc::Logging::EnableInfoLevel(true);
4103 //Orthanc::Logging::EnableTraceLevel(true); 4103 //Orthanc::Logging::EnableTraceLevel(true);
4104 4104
4105 LOG(INFO) << "Using DCMTK version: " << DCMTK_VERSION_NUMBER;
4106
4105 context_.reset(new OrthancStone::WebAssemblyLoadersContext(1, 4, 1)); 4107 context_.reset(new OrthancStone::WebAssemblyLoadersContext(1, 4, 1));
4106 context_->SetDicomCacheSize(128 * 1024 * 1024); // 128MB 4108 context_->SetDicomCacheSize(128 * 1024 * 1024); // 128MB
4107 4109
4108 framesCache_.reset(new FramesCache); 4110 framesCache_.reset(new FramesCache);
4109 osiriXAnnotations_.reset(new OrthancStone::OsiriX::CollectionOfAnnotations); 4111 osiriXAnnotations_.reset(new OrthancStone::OsiriX::CollectionOfAnnotations);