mirror of
https://gitlab.ethz.ch/gfattori/glocalize.git
synced 2026-05-03 21:54:23 +02:00
adding service worker structure for dicomscan skullremoval and volumepreparation
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "VolumePrepService.h"
|
||||
|
||||
#include <vtkImageData.h>
|
||||
|
||||
vtkImageData* VolumePrepService::prepare(vtkImageData* input)
|
||||
{
|
||||
if (!input) return nullptr;
|
||||
vtkImageData* out = vtkImageData::New();
|
||||
out->DeepCopy(input);
|
||||
out->Modified();
|
||||
return out;
|
||||
}
|
||||
Reference in New Issue
Block a user