Leadtools.Dicom.Common

Anonymize(String,String,String,Boolean,ImageSettings) Method

Show in webframe





The search directory to look for DICOM files.
The pattern to search for.
The output directory for the anonymized files.
true search all directories; otherwise, only the top level directory will be searched.
The image settings to apply when changing the image in the anonymized dataset.
Anonymizes the specified directory searching for files with the specified pattern.
Syntax
public virtual void Anonymize( 
   string searchDirectory,
   string pattern,
   string outputDir,
   bool allDirectories,
   ImageSettings settings
)
'Declaration
 
Public Overloads Overridable Sub Anonymize( _
   ByVal searchDirectory As String, _
   ByVal pattern As String, _
   ByVal outputDir As String, _
   ByVal allDirectories As Boolean, _
   ByVal settings As ImageSettings _
) 
'Usage
 
Dim instance As Anonymizer
Dim searchDirectory As String
Dim pattern As String
Dim outputDir As String
Dim allDirectories As Boolean
Dim settings As ImageSettings
 
instance.Anonymize(searchDirectory, pattern, outputDir, allDirectories, settings)

            

            
public:
virtual void Anonymize( 
   String^ searchDirectory,
   String^ pattern,
   String^ outputDir,
   bool allDirectories,
   ImageSettings^ settings
) 

Parameters

searchDirectory
The search directory to look for DICOM files.
pattern
The pattern to search for.
outputDir
The output directory for the anonymized files.
allDirectories
true search all directories; otherwise, only the top level directory will be searched.
settings
The image settings to apply when changing the image in the anonymized dataset.
Remarks
This method will return patient id, study instance uid, and series instance uid for matching files in the searched directories. The settings are only valid if you apply BlackoutRects to the anonymized images. Doing this will require that the image be re-inserted into the anonymized dataset.
Requirements

Target Platforms

See Also

Reference

Anonymizer Class
Anonymizer Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features