<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C46DDC.0EDE2A10">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="time"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="date"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:PunctuationKerning/>
<w:DrawingGridVerticalSpacing>7,8 pt</w:DrawingGridVerticalSpacing>
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
<w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
<w:Compatibility>
<w:SpaceForUL/>
<w:BalanceSingleByteDoubleByteWidth/>
<w:DoNotLeaveBackslashAlone/>
<w:ULTrailSpace/>
<w:DoNotExpandShiftReturn/>
<w:AdjustLineHeightInTable/>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:ApplyBreakingRules/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-alt:\5B8B\4F53;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:536871559 0 0 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        mso-pagination:none;
        font-size:10.5pt;
        mso-bidi-font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:SimSun;
        mso-font-kerning:1.0pt;
        mso-ansi-language:EN-GB;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailFormatvorlage17
        {mso-style-type:personal;
        mso-style-noshow:yes;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-fareast-font-family:SimSun;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.EmailFormatvorlage18
        {mso-style-type:personal;
        mso-style-noshow:yes;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-fareast-font-family:SimSun;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.EmailFormatvorlage19
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-fareast-font-family:SimSun;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
/* Page Definitions */
@page
        {mso-page-border-surround-header:no;
        mso-page-border-surround-footer:no;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:42.55pt;
        mso-footer-margin:49.6pt;
        mso-paper-source:0;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Normale Tabelle";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=ZH-CN link=blue vlink=purple style='tab-interval:21.0pt;text-justify-trim:
punctuation'>
<div class=Section1 style='layout-grid:15.6pt'>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=2 face=Tahoma><span
lang=DE style='font-size:10.0pt;font-family:Tahoma;mso-font-kerning:0pt;
mso-ansi-language:DE'>-----Ursprüngliche Nachricht-----<br>
<b><span style='font-weight:bold'>Von:</span></b> Jiang
[mailto:jiang@ti.uni-trier.de] <br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Montag, 19. Juli 2004
22:02<br>
<b><span style='font-weight:bold'>An:</span></b> 'Miller, James V (Research)'<br>
<b><span style='font-weight:bold'>Betreff:</span></b> AW: [Insight-users] Copy
one pointer's content to another pointer</span></font></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span lang=EN-GB><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'>Many
thanks for your reply.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'>I
use your first method to copy image, since I’m familiar with it. For
second method, I tried it, but failed.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'>I
don’t know how to set the other parameters for ShiftScaleImageFilter. It
is not easy to find example from<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'>the
documentation.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=DE
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy;
mso-ansi-language:DE'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'>Anyway
your answer helps me to solve this problem<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=DE
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy;
mso-ansi-language:DE'>Best regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=DE
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy;
mso-ansi-language:DE'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=DE
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy;
mso-ansi-language:DE'>Jiang<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left'><font size=2 face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;mso-font-kerning:0pt'>-----Ursprüngliche
Nachricht-----<br>
<b><span style='font-weight:bold'>Von:</span></b> Miller, James V (Rese</span></font><font
size=2 face=Tahoma><span lang=DE style='font-size:10.0pt;font-family:Tahoma;
mso-font-kerning:0pt;mso-ansi-language:DE'>arch) [mailto:millerjv@crd.ge.com] <br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Montag, 19. Juli 2004
15:48<br>
<b><span style='font-weight:bold'>An:</span></b> 'Jiang'; </span></font><st1:PersonName><font
size=2 face=Tahoma><span lang=DE style='font-size:10.0pt;font-family:Tahoma;
mso-font-kerning:0pt;mso-ansi-language:DE'>ITK</span></font></st1:PersonName><font
size=2 face=Tahoma><span lang=DE style='font-size:10.0pt;font-family:Tahoma;
mso-font-kerning:0pt;mso-ansi-language:DE'><br>
<b><span style='font-weight:bold'>Betreff:</span></b> RE: [Insight-users] Copy
one pointer's content to another pointer</span></font><span lang=EN-GB><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><font
size=2 face="Times New Roman"><span lang=EN-GB style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=2 color=blue
face=Verdana><span lang=EN-US style='font-size:10.0pt;font-family:Verdana;
color:blue;mso-font-kerning:0pt;mso-ansi-language:EN-US'>The line</span></font><font
size=3><span lang=EN-US style='font-size:12.0pt;mso-font-kerning:0pt;
mso-ansi-language:EN-US'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;mso-font-kerning:
0pt;mso-ansi-language:EN-US'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=2 color=blue
face=Verdana><span lang=EN-US style='font-size:10.0pt;font-family:Verdana;
color:blue;mso-font-kerning:0pt;mso-ansi-language:EN-US'>tmp->SetPixelContainer(pointer1->GetPixelContainer());</span></font><font
size=3><span lang=EN-US style='font-size:12.0pt;mso-font-kerning:0pt;
mso-ansi-language:EN-US'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;mso-font-kerning:
0pt;mso-ansi-language:EN-US'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=2 color=blue
face=Verdana><span lang=EN-US style='font-size:10.0pt;font-family:Verdana;
color:blue;mso-font-kerning:0pt;mso-ansi-language:EN-US'>copies a reference
(pointer) from pointer1 to tmp. This is a shallow copy of the pixel
data. So any changes you make to the pixel data in tmp is actually
modifying the same pixel data from pointer1.</span></font><font size=3><span
lang=EN-US style='font-size:12.0pt;mso-font-kerning:0pt;mso-ansi-language:EN-US'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;mso-font-kerning:
0pt;mso-ansi-language:EN-US'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=2 color=blue
face=Verdana><span lang=EN-US style='font-size:10.0pt;font-family:Verdana;
color:blue;mso-font-kerning:0pt;mso-ansi-language:EN-US'>Instead of copying the
pixel container, you'll need to call Allocate() on tmp and then use iterators
to copy the data from pointer1 to tmp.</span></font><font size=3><span
lang=EN-US style='font-size:12.0pt;mso-font-kerning:0pt;mso-ansi-language:EN-US'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;mso-font-kerning:
0pt;mso-ansi-language:EN-US'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=2 color=blue
face=Verdana><span lang=EN-US style='font-size:10.0pt;font-family:Verdana;
color:blue;mso-font-kerning:0pt;mso-ansi-language:EN-US'>Another option is to
run you image through a filter, setting the parameters of the filter to do
nothing. For instance, you could use the ShiftScaleImageFilter and set
the Shift to zero and the Scale to one. This is not the most efficient
way to copy an image (since some trivial math is done) but is a simple way to
create a copy of an image.</span></font><font size=3><span lang=EN-US
style='font-size:12.0pt;mso-font-kerning:0pt;mso-ansi-language:EN-US'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;mso-font-kerning:
0pt;mso-ansi-language:EN-US'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=2 color=blue
face=Verdana><span lang=EN-US style='font-size:10.0pt;font-family:Verdana;
color:blue;mso-font-kerning:0pt;mso-ansi-language:EN-US'>Jim</span></font><font
size=3><span lang=EN-US style='font-size:12.0pt;mso-font-kerning:0pt;
mso-ansi-language:EN-US'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;mso-font-kerning:
0pt;mso-ansi-language:EN-US'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left;mso-pagination:widow-orphan'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;mso-font-kerning:
0pt;mso-ansi-language:EN-US'> <o:p></o:p></span></font></p>
</div>
<blockquote style='margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>
<p class=MsoNormal align=left style='mso-margin-top-alt:0cm;margin-right:0cm;
margin-bottom:12.0pt;margin-left:21.0pt;mso-margin-top-alt:0cm;mso-para-margin-right:
0cm;mso-para-margin-bottom:12.0pt;mso-para-margin-left:2.0gd;text-align:left;
mso-pagination:widow-orphan'><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;mso-font-kerning:0pt;mso-ansi-language:
EN-US'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Jiang
[mailto:jiang@TI.Uni-Trier.DE]<br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><st1:date
Month="7" Day="19" Year="2004"><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;mso-font-kerning:0pt;mso-ansi-language:
EN-US'>Monday, July 19, 2004</span></font></st1:date><font size=2 face=Tahoma><span
lang=EN-US style='font-size:10.0pt;font-family:Tahoma;mso-font-kerning:0pt;
mso-ansi-language:EN-US'> </span></font><st1:time Hour="9" Minute="27"><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma;
mso-font-kerning:0pt;mso-ansi-language:EN-US'>9:27 AM</span></font></st1:time><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma;
mso-font-kerning:0pt;mso-ansi-language:EN-US'><br>
<b><span style='font-weight:bold'>To:</span></b> ITK<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Insight-users] Copy one
pointer's content to another pointer</span></font><font size=3><span
lang=EN-US style='font-size:12.0pt;mso-font-kerning:0pt;mso-ansi-language:EN-US'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>Hi </span></font><st1:PersonName><font
size=1 face=Arial><span lang=EN-GB style='font-size:9.0pt;mso-bidi-font-size:
10.0pt;font-family:Arial'>ITK</span></font></st1:PersonName><font size=1
face=Arial><span lang=EN-GB style='font-size:9.0pt;mso-bidi-font-size:10.0pt;
font-family:Arial'> users,<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>I want to
copy one </span></font><st1:PersonName><font size=1 face=Arial><span
lang=EN-GB style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>ITK</span></font></st1:PersonName><font
size=1 face=Arial><span lang=EN-GB style='font-size:9.0pt;mso-bidi-font-size:
10.0pt;font-family:Arial'> pointer’s content to another </span></font><st1:PersonName><font
size=1 face=Arial><span lang=EN-GB style='font-size:9.0pt;mso-bidi-font-size:
10.0pt;font-family:Arial'>ITK</span></font></st1:PersonName><font size=1
face=Arial><span lang=EN-GB style='font-size:9.0pt;mso-bidi-font-size:10.0pt;
font-family:Arial'> pointer, so that the operation <o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>performed
on the second pointer will not influence the first pointer.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>I do it as
follow:<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=DE style='font-size:
9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;mso-ansi-language:DE'><span
style='mso-tab-count:1'> </span></span></font><font size=1 face=Arial><span
lang=EN-GB style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>WriteImageType::Pointer
pointer1 already exists and has some content<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><span
style='mso-tab-count:1'> </span>WriteImageType::Pointer tmp =
WriteImageType::New();//copy pointer1’s content to tmp<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><span
style='mso-spacerun:yes'> </span>tmp->SetRequestedRegion(
pointer1->GetRequestedRegion() );<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><span
style='mso-spacerun:yes'> </span>tmp->SetBufferedRegion(
pointer1->GetBufferedRegion() );<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><span
style='mso-spacerun:yes'> </span>tmp->SetLargestPossibleRegion( pointer ->GetLargestPossibleRegion()
);<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><span
style='mso-spacerun:yes'>
</span>tmp->SetPixelContainer(pointer1->GetPixelContainer() );<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><span
style='mso-spacerun:yes'> </span>tmp->CopyInformation( pointer1 );<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>Now I can
operate the tmp’s content. However it still affect pointer1. It seems
that all operations <o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>performed
on tmp are same as performed on pointer1.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>How can I
copy one pointer totally to another one?<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>Thanks!<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd;
layout-grid-mode:char'><font size=1 face=Arial><span lang=EN-GB
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial'>Jiang<o:p></o:p></span></font></p>
</blockquote>
</div>
</body>
</html>