<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?action=history&amp;feed=atom&amp;title=lmrc3Dto2D%28API%29</id>
		<title>lmrc3Dto2D(API) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?action=history&amp;feed=atom&amp;title=lmrc3Dto2D%28API%29"/>
		<link rel="alternate" type="text/html" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=lmrc3Dto2D(API)&amp;action=history"/>
		<updated>2026-05-14T10:42:44Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.6</generator>

	<entry>
		<id>http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=lmrc3Dto2D(API)&amp;diff=3865&amp;oldid=prev</id>
		<title>Kinoshita: /* with Angle Information of reference file */</title>
		<link rel="alternate" type="text/html" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=lmrc3Dto2D(API)&amp;diff=3865&amp;oldid=prev"/>
				<updated>2014-09-05T02:37:20Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;with Angle Information of reference file&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 02:37, 5 September 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 115:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 115:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===with Angle Information of reference file===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===with Angle Information of reference file===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;参照Projection像refのテイラと同じ角度Informationで2DProjectionを行います&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Perform 2D Projection with same Angle Information as tailer of Reference Projection image('''ref''')&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; extern void lmrcImage3Dto2DFollowingTailer(mrcImage* out, mrcImage* in, mrcImage* ref, lmrc3Dto2DInfo* linfo, int mode);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; extern void lmrcImage3Dto2DFollowingTailer(mrcImage* out, mrcImage* in, mrcImage* ref, lmrc3Dto2DInfo* linfo, int mode);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;繰り返し(&lt;/del&gt;[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SIRT&lt;/del&gt;]]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;)で&lt;/del&gt;[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;3D Reconstruction&lt;/del&gt;]]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;を行うときなどに使用します&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;It is used when perform &lt;/ins&gt;[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;3D Reconstruction&lt;/ins&gt;]] &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;by repeat(&lt;/ins&gt;[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SIRT&lt;/ins&gt;]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kinoshita</name></author>	</entry>

	<entry>
		<id>http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=lmrc3Dto2D(API)&amp;diff=3863&amp;oldid=prev</id>
		<title>Kinoshita: Created page with &quot;DataManip/transform/src/'''lmrc3Dto2D''' is API to create projection image from 3D to 2D. Mainly, it is used by mrc3Dto2D.  == constant == It is used as value of AreaMode...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=lmrc3Dto2D(API)&amp;diff=3863&amp;oldid=prev"/>
				<updated>2014-09-05T02:30:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;DataManip/transform/src/&amp;#039;&amp;#039;&amp;#039;lmrc3Dto2D&amp;#039;&amp;#039;&amp;#039; is API to create projection image from 3D to 2D. Mainly, it is used by &lt;a href=&quot;/Eos/index.php/mrc3Dto2D&quot; title=&quot;mrc3Dto2D&quot;&gt;mrc3Dto2D&lt;/a&gt;.  == constant == It is used as value of AreaMode...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;DataManip/transform/src/'''lmrc3Dto2D''' is API to create projection image from 3D to 2D. Mainly, it is used by [[mrc3Dto2D]].&lt;br /&gt;
&lt;br /&gt;
== constant ==&lt;br /&gt;
It is used as value of AreaMode (lmrc3Dto2DInfo's member).&lt;br /&gt;
 typedef enum lmrc3Dto2DObjectAreaMode {&lt;br /&gt;
 	lmrc3D2DObjectAreaModeCubic=0,&lt;br /&gt;
 	lmrc3D2DObjectAreaModeGlobular=1&lt;br /&gt;
 } lmrc3Dto2DObjectAreaMode;&lt;br /&gt;
&lt;br /&gt;
== struct ==&lt;br /&gt;
Setting data for these API.&lt;br /&gt;
 typedef struct lmrc3Dto2DInfo {&lt;br /&gt;
 	/* Rot1 */&lt;br /&gt;
 	double Rot1Start;&lt;br /&gt;
 	double Rot1End;&lt;br /&gt;
 	double Rot1Delta;&lt;br /&gt;
 	int    nRot1;&lt;br /&gt;
 &lt;br /&gt;
 	/* Rot2 */&lt;br /&gt;
 	double Rot2Start;&lt;br /&gt;
 	double Rot2End;&lt;br /&gt;
 	double Rot2Delta;&lt;br /&gt;
 	int    nRot2;&lt;br /&gt;
 &lt;br /&gt;
 	/* Rot3 */&lt;br /&gt;
 	double Rot3Start;&lt;br /&gt;
 	double Rot3End;&lt;br /&gt;
 	double Rot3Delta;&lt;br /&gt;
 	int    nRot3;&lt;br /&gt;
 &lt;br /&gt;
 	/* EulerAngleMode*/&lt;br /&gt;
 	char   EulerAngleMode[5];&lt;br /&gt;
 &lt;br /&gt;
 	/* InterpolationMode */&lt;br /&gt;
 	int InterpolationMode;&lt;br /&gt;
 &lt;br /&gt;
 	/* */&lt;br /&gt;
 	lmrc3Dto2DObjectAreaMode AreaMode; &lt;br /&gt;
 &lt;br /&gt;
 	/* PVM */&lt;br /&gt;
 	int flagPVM;	&lt;br /&gt;
 &lt;br /&gt;
 	/* fileListInformation */&lt;br /&gt;
 	int flagFileList;&lt;br /&gt;
 	char* filenamePrefix;&lt;br /&gt;
 	char* filenameSuffix;&lt;br /&gt;
 	char* filenameNumberFormat; &lt;br /&gt;
 } lmrc3Dto2DInfo;&lt;br /&gt;
&lt;br /&gt;
It is used as setting data about single plane for lmrcImage3Dto2DSingle.&lt;br /&gt;
 typedef struct lmrc3Dto2DSingleInfo {&lt;br /&gt;
 	/* Section */&lt;br /&gt;
 	int section;&lt;br /&gt;
 	/* Init */&lt;br /&gt;
 	int flagInit;&lt;br /&gt;
 } lmrc3Dto2DSingleInfo;&lt;br /&gt;
&lt;br /&gt;
== API ==&lt;br /&gt;
===Projection from 3D to 2D stack===&lt;br /&gt;
Perform projection from 3D image(in) to 2D stack image(out).&lt;br /&gt;
 extern void lmrcImage3Dto2D(mrcImage* out, mrcImage* in, lmrc3Dto2DInfo* linfo, int mode);&lt;br /&gt;
It uses lmrcImage3Dto2DSingle with Single Thread of Multi Thread([[eosPThread(API)]]).&amp;lt;br&amp;gt;&lt;br /&gt;
Select Projection method by setting of lmrc3Dto2DInfo.&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;tr&amp;gt; &lt;br /&gt;
		&amp;lt;th&amp;gt;member&amp;lt;/th&amp;gt; &lt;br /&gt;
		&amp;lt;th&amp;gt;Setting details&amp;lt;/th&amp;gt; &lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
	&amp;lt;tr&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;Rot...&amp;lt;br&amp;gt;&lt;br /&gt;
			EulerAngleMode&amp;lt;/td&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;[[Euler Angle]] of Projection&amp;lt;/td&amp;gt; &lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
	&amp;lt;tr&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;InterpolationMode&amp;lt;/td&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;[[Interpolation]] method of Projection&amp;lt;/td&amp;gt; &lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
	&amp;lt;tr&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;AreaMode&amp;lt;/td&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;Area mode of Projection&amp;lt;/td&amp;gt; &lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
	&amp;lt;tr&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;PVM&amp;lt;/td&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;Using PVM&amp;lt;/td&amp;gt; &lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Projection from 3D to 2D===&lt;br /&gt;
Perform projection from 3D image(in) to 2D plane image(out).&lt;br /&gt;
 extern void lmrcImage3Dto2DSingle(mrcImage* out, mrcImage* in, &lt;br /&gt;
 	char Mat[4], &lt;br /&gt;
 	double Rot1, &lt;br /&gt;
 	double Rot2,&lt;br /&gt;
 	double Rot3, &lt;br /&gt;
 	lmrc3Dto2DInfo* linfo, &lt;br /&gt;
 	lmrc3Dto2DSingleInfo* llinfo, &lt;br /&gt;
 	int mode);&lt;br /&gt;
Select how to write out output by setting llinfo.&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;tr&amp;gt; &lt;br /&gt;
		&amp;lt;th&amp;gt;member&amp;lt;/th&amp;gt; &lt;br /&gt;
		&amp;lt;th&amp;gt;Setting details&amp;lt;/th&amp;gt; &lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
	&amp;lt;tr&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;section&amp;lt;/td&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;Section that written out 2D projection data([Equivalent to z-component of [[mrcImage]])&amp;lt;/td&amp;gt; &lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
	&amp;lt;tr&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;flagInit&amp;lt;/td&amp;gt; &lt;br /&gt;
		&amp;lt;td&amp;gt;Flag of initialization processing&amp;lt;/td&amp;gt; &lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===with Angle Information of reference file===&lt;br /&gt;
参照Projection像refのテイラと同じ角度Informationで2DProjectionを行います.&lt;br /&gt;
 extern void lmrcImage3Dto2DFollowingTailer(mrcImage* out, mrcImage* in, mrcImage* ref, lmrc3Dto2DInfo* linfo, int mode);&lt;br /&gt;
繰り返し([[SIRT]])で[[3D Reconstruction]]を行うときなどに使用します.&lt;/div&gt;</summary>
		<author><name>Kinoshita</name></author>	</entry>

	</feed>