<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot add more than 3495 Icosphere on a Image3DUniverse"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=1044">1044</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot add more than 3495 Icosphere on a Image3DUniverse
</td>
</tr>
<tr>
<th>Product</th>
<td>Fiji
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>3D Viewer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>imagej-bugs@imagej.net
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Benjamin.Pavie@cme.vib-kuleuven.be
</td>
</tr></table>
<p>
<div>
<pre>I looked at the Jython script published in Nature Method
(doi:10.1038/nmeth.2019) on the figure 2 (Scripting and ImgLib ) and tried to
do the same on some dataset.
The DoGPeaks output 4584 peaks that I later try to plot on a Image3DUniverse.
I did several test and realized I was not able to plot more than 3495 points,
mo matter what diameter is used to plot the icosphere.
# diameter in microns
cell=4.0
# diameter Cell visualization
cellIcosophere=3.0
# Show the peaks as spheres in 3D, along with orthoslice
minPeak=40
# The minimum intensity for a peak to be considered
#imp=IJ.openImage('<a href="http://fiji.sc/samples/first-instar-brain.zip">http://fiji.sc/samples/first-instar-brain.zip</a>')
#16 bits (Do not work with 32 bit)
imp = IJ.openImage(pathStack16Bits)
imp8Bits = IJ.openImage(pathStack8Bits)
cal=imp.getCalibration()
sigmaLarge=[cell/cal.pixelWidth,cell/cal.pixelHeight,cell/cal.pixelDepth]
sigmaSmall=[a/2 for a in sigmaLarge]
#Difference of Gaussians
peaks=DoGPeaks(ImgLib.wrap(imp),sigmaLarge,sigmaSmall,minPeak,1)
univ=Image3DUniverse(712,712)
#Plot first 3499 points, looks to not plot over 3499 points
univ.addIcospheres(points[0:3495],Color3f(1,0,0),2,cellIcosophere/2,
'Cells').setLocked(True)
#Add the orthoslice of the stack
univ.addOrthoslice(imp8Bits).setLocked(True)
univ.show()
So if I try to plot more than 3495 (e.g. points[0:3496]), the plot is not done.
There is no error on the output</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>