NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 1044 - Cannot add more than 3495 Icosphere on a Image3DUniverse
Cannot add more than 3495 Icosphere on a Image3DUniverse
Status: NEW
Product: Fiji
Classification: Unclassified
Component: 3D Viewer
unspecified
PC Windows
: P5 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2015-04-01 03:59 CDT by Benjamin.Pavie
Modified: 2015-04-01 03:59 CDT
0 users

See Also:

Description Benjamin.Pavie 2015-04-01 03:59:01 CDT
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('http://fiji.sc/samples/first-instar-brain.zip')
#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