📄 anonymizer__define.html
字号:
<NOBR>in</NOBR><BR>
<NOBR>any</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
.
</TD>
</TR>
</TABLE>
<P>
<TABLE CELLPADDING="3" CELLSPACING="0" CLASS="parameters">
<TR CLASS="parameter_title">
<TD COLSPAN=2>Keywords</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::check_vr_value_keyword_byte_val"/>
<FONT CLASS="param_name">byte_val</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>out</NOBR><BR>
<NOBR>variable</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Returns byte representation of VAL.
</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::check_vr_value_keyword_double_val"/>
<FONT CLASS="param_name">double_val</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>out</NOBR><BR>
<NOBR>variable</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Returns double representation
of VAL
</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::check_vr_value_keyword_float_val"/>
<FONT CLASS="param_name">float_val</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>out</NOBR><BR>
<NOBR>variable</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Returns float represenations of
VAL
</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::check_vr_value_keyword_int_val"/>
<FONT CLASS="param_name">int_val</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>out</NOBR><BR>
<NOBR>variable</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Returns integer represenations
of VAL
</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::check_vr_value_keyword_long_val"/>
<FONT CLASS="param_name">long_val</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>out</NOBR><BR>
<NOBR>variable</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Returns long integer
represenations of VAL
</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::check_vr_value_keyword_string_val"/>
<FONT CLASS="param_name">string_val</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>out</NOBR><BR>
<NOBR>variable</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Returns string represenations
of VAL
</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::check_vr_value_keyword_uint_val"/>
<FONT CLASS="param_name">uint_val</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>out</NOBR><BR>
<NOBR>variable</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Returns integer
represenations of VAL
</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::check_vr_value_keyword_ulong_val"/>
<FONT CLASS="param_name">ulong_val</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>out</NOBR><BR>
<NOBR>variable</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Returns unsigned
long integer represenations of VAL
</TD>
</TR>
</TABLE>
<P>
<A NAME="_anonymizer::cleanup"/>
<TABLE CLASS="routine_listing">
<TR><TD>
<SPAN CLASS="routine">
anonymizer::cleanup
</SPAN>
</TD><TD ALIGN="right">
</TD></TR></TABLE>
<TABLE CELLSPACING="2" CELLPADDING="0" BORDER="0" WIDTH="100%"><TR><TD ALIGN="left" VALIGN="top"><P CLASS="code_header">procedure anonymizer::cleanup</P></TD></TR></TABLE>
<P>
Free any memory used by this object.
<P>
<P>
<P>
<A NAME="_anonymizer::define_tags"/>
<TABLE CLASS="routine_listing">
<TR><TD>
<SPAN CLASS="routine">
anonymizer::define_tags
</SPAN>
</TD><TD ALIGN="right">
</TD></TR></TABLE>
<TABLE CELLSPACING="2" CELLPADDING="0" BORDER="0" WIDTH="100%"><TR><TD ALIGN="left" VALIGN="top"><P CLASS="code_header">procedure anonymizer::define_tags, <A HREF=#_anonymizer::define_tags_param_tags>tags</A>, /<A HREF=#_anonymizer::define_tags_keyword_remove>remove</A>, /<A HREF=#_anonymizer::define_tags_keyword_no_wizard_update>no_wizard_update</A></P></TD></TR></TABLE>
<P>
Used to add/remove tags from the list of attribute tags to be anonymized.
<P>
<TABLE CELLPADDING="3" CELLSPACING="0" CLASS="parameters">
<TR CLASS="parameter_title">
<TD COLSPAN=2>Parameters</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::define_tags_param_tags"/>
<FONT CLASS="param_name">tags</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>in</NOBR><BR>
<NOBR>string</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Tags to be added/removed from the
anonymizer.
</TD>
</TR>
</TABLE>
<P>
<TABLE CELLPADDING="3" CELLSPACING="0" CLASS="parameters">
<TR CLASS="parameter_title">
<TD COLSPAN=2>Keywords</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::define_tags_keyword_remove"/>
<FONT CLASS="param_name">remove</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>in</NOBR><BR>
<NOBR>boolean</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Set to True (1) to remove TAGS from
the list to be anonymized. Set to False (0) to add TAGS
to the list of tags to be anonymized.
</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::define_tags_keyword_no_wizard_update"/>
<FONT CLASS="param_name">no_wizard_update</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>in</NOBR><BR>
<NOBR>boolean</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
If this keyword is set,
the wizard will not update according to the changes made
by this method.
</TD>
</TR>
</TABLE>
<P>
<A NAME="_anonymizer::get_default_vr_value"/>
<TABLE CLASS="routine_listing">
<TR><TD>
<SPAN CLASS="routine">
anonymizer::get_default_vr_value
</SPAN>
</TD><TD ALIGN="right">
</TD></TR></TABLE>
<TABLE CELLSPACING="2" CELLPADDING="0" BORDER="0" WIDTH="100%"><TR><TD ALIGN="left" VALIGN="top"><P CLASS="code_header">function anonymizer::get_default_vr_value(<A HREF=#_anonymizer::get_default_vr_value_param_tag>tag</A>)</P></TD></TR></TABLE>
<P>
Retrieves the default value for a specified value representation
<P>
<DL>
<DT CLASS="attribute">Returns
<DD CLASS="attribute_item">
The current default value for a specific tag.
</DD></DT>
</DL>
<P>
<TABLE CELLPADDING="3" CELLSPACING="0" CLASS="parameters">
<TR CLASS="parameter_title">
<TD COLSPAN=2>Parameters</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::get_default_vr_value_param_tag"/>
<FONT CLASS="param_name">tag</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>in</NOBR><BR>
<NOBR>string</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
A string of the form "gggg,eeee",
where gggg and eeee represent the group and element
number respectively, for the attribute for which the
default is being returned.
</TD>
</TR>
</TABLE>
<P>
<P>
<A NAME="_anonymizer::get_dicom_value_string"/>
<TABLE CLASS="routine_listing">
<TR><TD>
<SPAN CLASS="routine">
anonymizer::get_dicom_value_string
</SPAN>
</TD><TD ALIGN="right">
</TD></TR></TABLE>
<TABLE CELLSPACING="2" CELLPADDING="0" BORDER="0" WIDTH="100%"><TR><TD ALIGN="left" VALIGN="top"><P CLASS="code_header">function anonymizer::get_dicom_value_string(<A HREF=#_anonymizer::get_dicom_value_string_param_tag>tag</A>)</P></TD></TR></TABLE>
<P>
Retrieves the value for a specified tag in the current
DICOM file. If this tag is not defined in the file, ''
is returned.
<P>
<DL>
<DT CLASS="attribute">Returns
<DD CLASS="attribute_item">
A string containing the value for a specified tag
in the DICOM file. Returns '' otherwise.
</DD></DT>
</DL>
<P>
<TABLE CELLPADDING="3" CELLSPACING="0" CLASS="parameters">
<TR CLASS="parameter_title">
<TD COLSPAN=2>Parameters</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::get_dicom_value_string_param_tag"/>
<FONT CLASS="param_name">tag</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>in</NOBR><BR>
<NOBR>string</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
A scalar string of the form
"gggg,eeee", where gggg and eeee represent the group
and element number respectively, for the attribute
for which the value is being returned.
</TD>
</TR>
</TABLE>
<P>
<P>
<A NAME="_anonymizer::getproperty"/>
<TABLE CLASS="routine_listing">
<TR><TD>
<SPAN CLASS="routine">
anonymizer::getproperty
</SPAN>
</TD><TD ALIGN="right">
</TD></TR></TABLE>
<TABLE CELLSPACING="2" CELLPADDING="0" BORDER="0" WIDTH="100%"><TR><TD ALIGN="left" VALIGN="top"><P CLASS="code_header">procedure anonymizer::getproperty, <A HREF=#_anonymizer::getproperty_keyword_dynamic_tags>dynamic_tags</A>=<EM>variable</EM>, <A HREF=#_anonymizer::getproperty_keyword_static_tags>static_tags</A>=<EM>variable</EM>, <A HREF=#_anonymizer::getproperty_keyword_attribute_values>attribute_values</A>=<EM>variable</EM>, <A HREF=#_anonymizer::getproperty_keyword_outdir>outdir</A>=<EM>variable</EM>, <A HREF=#_anonymizer::getproperty_keyword_outfile_extension>outfile_extension</A>=<EM>variable</EM>, <A HREF=#_anonymizer::getproperty_keyword_outfile_prefix>outfile_prefix</A>=<EM>variable</EM>, <A HREF=#_anonymizer::getproperty_keyword_value_only>value_only</A>=<EM>variable</EM></P></TD></TR></TABLE>
<P>
Returns the current value of an object property.
<P>
<P>
<TABLE CELLPADDING="3" CELLSPACING="0" CLASS="parameters">
<TR CLASS="parameter_title">
<TD COLSPAN=2>Keywords</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::getproperty_keyword_dynamic_tags"/>
<FONT CLASS="param_name">dynamic_tags</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>out</NOBR><BR>
<NOBR>variable</NOBR>
</FONT>
</TD>
<TD VALIGN="top">
Dynamic tags to be anonymized.
</TD>
</TR>
<TR CLASS="parameters">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<A NAME="_anonymizer::getproperty_keyword_static_tags"/>
<FONT CLASS="param_name">static_tags</FONT><BR>
<FONT CLASS="param_attrib">
<NOBR>out</NOBR><BR>
<NOBR>variable</NOBR>
</FONT>
</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -