<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote
cite="mid:AANLkTi=LZ5mG03z6Qa788DLJSOW7WD9ggyhbJFxx2YFE@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Nicholas,
<div><br>
</div>
<div>At a first glance, it appears that you could try doing the
following changes:</div>
<div><br>
</div>
<div><span class="Apple-style-span"
style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(80, 0, 80);"> import->SetImportVoidPointer(pm);<br>
import->SetWholeExtent(0,Nxp-1,0,Nyp-1,0,0);<br>
import->SetDataExtent(0,Nxp-1,0,Nyp-1,0,0);</span></div>
<div><font class="Apple-style-span" color="#500050"
face="arial, sans-serif"><span class="Apple-style-span"
style="border-collapse: collapse;"><br>
</span></font></div>
<div><font class="Apple-style-span" color="#500050"
face="arial, sans-serif"><span class="Apple-style-span"
style="border-collapse: collapse;"><font class="Apple-style-span"
color="#000000">Also, your lookupTable does not appear to be connected
to the imageActor.</font></span></font></div>
<div><font class="Apple-style-span" color="#500050"
face="arial, sans-serif"><span class="Apple-style-span"
style="border-collapse: collapse;"><font class="Apple-style-span"
color="#000000"><br>
</font></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span
class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span
class="Apple-style-span" style="border-collapse: collapse;">Prathamesh</span></font></div>
<div><br>
<br>
</div>
</div>
</blockquote>
<br>
Hello Prathamesh,<br>
<br>
Once again, thank you very much for your response! I tried changing
the code:<br>
<br>
import->SetImportVoidPointer(pm);<br>
import->SetWholeExtent(0,Nxp-1,0,Nyp-1,0,0);<br>
import->SetDataExtent(0,Nxp-1,0,Nyp-1,0,0)<br>
<br>
However, the image is still not displayed properly. However, as you
suggest, the lookupTable is not connected to the imageActor, and this
might be the reason why things are not working properly.<br>
<br>
How would I connect the lookupTable to the imageActor?<br>
<br>
Nicholas<br>
</body>
</html>