<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>k-Wave User Forum &#187; Topic: Using a colored image and assigning different tissue properties to each color</title>
		<link>http://www.k-wave.org/forum/topic/using-a-colored-image-and-assigning-different-tissue-properties-to-each-color</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 22:25:40 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/using-a-colored-image-and-assigning-different-tissue-properties-to-each-color" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Using a colored image and assigning different tissue properties to each color"</title>
			<link>http://www.k-wave.org/forum/topic/using-a-colored-image-and-assigning-different-tissue-properties-to-each-color#post-7815</link>
			<pubDate>Fri, 11 Sep 2020 13:35:42 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">7815@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;In addition, the function &#60;code&#62;loadImage&#60;/code&#62; uses the MATLAB function &#60;code&#62;imread&#60;/code&#62;. If you want to keep the information from the colour channels, you could just call this directly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Tristan2 on "Using a colored image and assigning different tissue properties to each color"</title>
			<link>http://www.k-wave.org/forum/topic/using-a-colored-image-and-assigning-different-tissue-properties-to-each-color#post-7798</link>
			<pubDate>Thu, 10 Sep 2020 14:59:14 +0000</pubDate>
			<dc:creator>Tristan2</dc:creator>
			<guid isPermaLink="false">7798@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;you need to resize the image to your simulation domain size. As far as i know you have to build the medium property arrays yourself. For example you can binary mask the image for every color, multiply by its respective density etc. and add the results. You have to do that for every material property. Then you assign the result to medium.density etc. just like in the Heterogeneous Propagation Medium Example. &#60;/p&#62;
&#60;p&#62;Best regards,&#60;br /&#62;
Tristan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>milksoup on "Using a colored image and assigning different tissue properties to each color"</title>
			<link>http://www.k-wave.org/forum/topic/using-a-colored-image-and-assigning-different-tissue-properties-to-each-color#post-7793</link>
			<pubDate>Tue, 08 Sep 2020 17:10:15 +0000</pubDate>
			<dc:creator>milksoup</dc:creator>
			<guid isPermaLink="false">7793@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello all, &#60;/p&#62;
&#60;p&#62;I'm creating a model with the follwoing characteristics:&#60;/p&#62;
&#60;p&#62;1. It will use a focused ultrasound transducer&#60;br /&#62;
2. The ultrasound beam will pass through skin, fat, muscle, bone and brain tissue in order, so tissue properties must be discretely assigned to each layer.&#60;/p&#62;
&#60;p&#62;In order to do this I have taken a saggital MRI scan and colored in all the different tissues.&#60;/p&#62;
&#60;p&#62;I planned on loading this image onto kwave and assigining each bitmap color value distinct tisue properties. &#60;/p&#62;
&#60;p&#62;I used loadimage (from the loading external image maps example) but what it did was sum up the colors. I tured commenting otu that part of the code but it resulted in an error regarding resolution mismatch. &#60;/p&#62;
&#60;p&#62;I've looked at the homogenous and heterogenous medium examples but its really unclear to me that what I'm attempting to do is even possible in k-wave. &#60;/p&#62;
&#60;p&#62;I can offer more info if needed. &#60;/p&#62;
&#60;p&#62;Any help is appreciated!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
