Hi,In a 3D 8-bit stack (comes from tomography experiment), I would like to have for each point the histogram of the grey scale value of the surrounding voxels contained in a sphere (of 5 voxel radius for example) centered on the point.Any help is warmly welcome.Thank you
Milan _________________________________________________________________ Découvrez la nouvelle génération des servives de Windows Live http://download.live.com |
On Saturday 21 February 2009, m000an ZH wrote:
> Hi,In a 3D 8-bit stack (comes from tomography experiment), I would like to > have for each point the histogram of the grey scale value of the > surrounding voxels contained in a sphere (of 5 voxel radius for example) > centered on the point.Any help is warmly welcome.Thank you Milan And how do you expect to visualise that? G |
for each point, the coordinates (x, y, z) with its histogram, as text data.I know that could be quite heavy...
Milan > Date: Sat, 21 Feb 2009 11:31:16 +0000 > From: [hidden email] > Subject: Re: histogram of a surrounding sphere > To: [hidden email] > > On Saturday 21 February 2009, m000an ZH wrote: >> Hi,In a 3D 8-bit stack (comes from tomography experiment), I would like to >> have for each point the histogram of the grey scale value of the >> surrounding voxels contained in a sphere (of 5 voxel radius for example) >> centered on the point.Any help is warmly welcome.Thank you Milan > > And how do you expect to visualise that? > > G _________________________________________________________________ Découvrez toutes les possibilités de communication avec vos proches http://download.live.com |
In reply to this post by m000an ZH
On Saturday 21 February 2009, m000an ZH wrote:
> Hi,In a 3D 8-bit stack (comes from tomography experiment), I would like > to have for each point the histogram of the grey scale value of the > surrounding voxels contained in a sphere (of 5 voxel radius for example) > centered on the point.Any help is warmly welcome.Thank you > Milan That looks like a (non-trivial) modification of the Hough transform for circles. There's a plugin for that in http://rsbweb.nih.gov/ij/plugins/hough-circles.html However, that's only for 2D binary images, so it might only be useful as a guide. I hope that's useful, Pablo |
In reply to this post by m000an ZH
Hi,
You can use my ij3d API, here a simple plugin to do that (beware a lot of text !!) : compile it using -cp ij.jar and ij3d-bin.jar http://imagejdocu.tudor.lu/doku.php?id=plugin:morphology:3d_binary_morphological_filters:start Hope this helps, tell me if you need more explanations. Thomas import ij.*; import ij.gui.*; import ij.measure.*; import ij.plugin.*; import ij.plugin.filter.*; import ij.process.*; import ij3d.image3d.*; import ij3d.utils.*; import java.awt.*; import java.awt.event.ItemEvent; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.text.*; import java.util.Enumeration; import java.util.Vector; /** * Histogram for each pixel in 3D * *@author Thomas BOUDIER *@created avril 2003 */ public class HistoPixel3D_ implements PlugInFilter { ImagePlus imp; float rad; /** * Main processing method for the Median3D_ object * *@param ip Description of the Parameter */ public void run(ImageProcessor ip) { rad = 5; if (Dialogue()) { TabUtil tab; IntImage3D col = new IntImage3D(imp.getStack()); IJ.resetEscape(); for (int k = 0; k < col.getSizez(); k++) { if (IJ.escapePressed()) { break; } IJ.showStatus("3D Histo Pixel : " + (int) (100 * k / col.getSizez()) + "%"); for (int j = 0; j < col.getSizey(); j++) { for (int i = 0; i < col.getSizex(); i++) { tab = col.getNeighborhoodSphere(i, j, k, rad, rad, rad); IJ.write("" + tab); } } } } } /** * Description of the Method * *@return Description of the Return Value */ private boolean Dialogue() { GenericDialog gd = new GenericDialog("3D Histo Pixel"); gd.addNumericField("Radius", rad, 0); gd.showDialog(); rad = (int) gd.getNextNumber(); return (!gd.wasCanceled()); } /** * Description of the Method * *@param arg Description of the Parameter *@param imp Description of the Parameter *@return Description of the Return Value */ public int setup(String arg, ImagePlus imp) { this.imp = imp; return DOES_8G + DOES_16 + NO_CHANGES; } } > Hi,In a 3D 8-bit stack (comes from tomography experiment), I would like to have for each point the histogram of the grey scale value of the surrounding voxels contained in a sphere (of 5 voxel radius for example) centered on the point.Any help is warmly welcome.Thank you > Milan > _________________________________________________________________ > Découvrez la nouvelle génération des servives de Windows Live > http://download.live.com > > -- /*****************************************************/ Thomas Boudier, MCU Université Pierre et Marie Curie UMR 7101 / IFR 83. Bat A 328, Campus Jussieu Tél : 01 44 27 35 78 Fax : 01 44 27 25 08 /*****************************************************/ |
Thomas,Thank you for your help! Unfortunately, being not a extremely confortable with java, I just can't compile the plugin (see below), although i use -cp ij.jar & ij3d-bin.jar
/Applications/ImageJ/plugins/My_Plugin.java:25: class HistoPixel3D_ is public, should be declared in a file named HistoPixel3D_.java public class HistoPixel3D_ implements PlugInFilter { Many thanksMilan > Date: Sat, 21 Feb 2009 18:31:09 +0100 > From: [hidden email] > Subject: Re: histogram of a surrounding sphere > To: [hidden email] > > Hi, > > You can use my ij3d API, here a simple plugin to do that (beware a lot > of text !!) : > > compile it using -cp ij.jar and ij3d-bin.jar > http://imagejdocu.tudor.lu/doku.php?id=plugin:morphology:3d_binary_morphological_filters:start > > Hope this helps, tell me if you need more explanations. > > Thomas > > > > import ij.*; > import ij.gui.*; > import ij.measure.*; > import ij.plugin.*; > import ij.plugin.filter.*; > import ij.process.*; > > import ij3d.image3d.*; > import ij3d.utils.*; > > import java.awt.*; > import java.awt.event.ItemEvent; > import java.io.BufferedWriter; > import java.io.FileWriter; > import java.io.IOException; > import java.text.*; > import java.util.Enumeration; > import java.util.Vector; > /** > * Histogram for each pixel in 3D > * > *@author Thomas BOUDIER > *@created avril 2003 > */ > public class HistoPixel3D_ implements PlugInFilter { > ImagePlus imp; > float rad; > > > /** > * Main processing method for the Median3D_ object > * > *@param ip Description of the Parameter > */ > public void run(ImageProcessor ip) { > rad = 5; > if (Dialogue()) { > TabUtil tab; > IntImage3D col = new IntImage3D(imp.getStack()); > IJ.resetEscape(); > for (int k = 0; k < col.getSizez(); k++) { > if (IJ.escapePressed()) { > break; > } > IJ.showStatus("3D Histo Pixel : " + (int) (100 * k / > col.getSizez()) + "%"); > for (int j = 0; j < col.getSizey(); j++) { > for (int i = 0; i < col.getSizex(); i++) { > tab = col.getNeighborhoodSphere(i, j, k, rad, > rad, rad); > IJ.write("" + tab); > } > } > } > > } > } > > > /** > * Description of the Method > * > *@return Description of the Return Value > */ > private boolean Dialogue() { > GenericDialog gd = new GenericDialog("3D Histo Pixel"); > gd.addNumericField("Radius", rad, 0); > gd.showDialog(); > rad = (int) gd.getNextNumber(); > return (!gd.wasCanceled()); > } > > > /** > * Description of the Method > * > *@param arg Description of the Parameter > *@param imp Description of the Parameter > *@return Description of the Return Value > */ > public int setup(String arg, ImagePlus imp) { > this.imp = imp; > return DOES_8G + DOES_16 + NO_CHANGES; > } > > } > > > >> Hi,In a 3D 8-bit stack (comes from tomography experiment), I would like to have for each point the histogram of the grey scale value of the surrounding voxels contained in a sphere (of 5 voxel radius for example) centered on the point.Any help is warmly welcome.Thank you >> Milan >> _________________________________________________________________ >> Découvrez la nouvelle génération des servives de Windows Live >> http://download.live.com >> >> > > > -- > /*****************************************************/ > Thomas Boudier, MCU Université Pierre et Marie Curie > UMR 7101 / IFR 83. Bat A 328, Campus Jussieu > Tél : 01 44 27 35 78 Fax : 01 44 27 25 08 > /*****************************************************/ > > > _________________________________________________________________ Découvrez la nouvelle génération des servives de Windows Live http://download.live.com |
Hi,
You need first to rename your file to the same name as the class : HistoPixel3D_.java let's assume ij.jar and ij3d-bin.jar and the HistoPixel3D_.java file are in the same folder : javac -cp ij.jar:ij3d-bin.jar HistoPixel_.java use ; instead of : with Windows Thomas > Thomas,Thank you for your help! Unfortunately, being not a extremely confortable with java, I just can't compile the plugin (see below), although i use -cp ij.jar & ij3d-bin.jar > /Applications/ImageJ/plugins/My_Plugin.java:25: class HistoPixel3D_ is public, should be declared in a file named HistoPixel3D_.java > public class HistoPixel3D_ implements PlugInFilter { > Many thanksMilan > > >> Date: Sat, 21 Feb 2009 18:31:09 +0100 >> From: [hidden email] >> Subject: Re: histogram of a surrounding sphere >> To: [hidden email] >> >> Hi, >> >> You can use my ij3d API, here a simple plugin to do that (beware a lot >> of text !!) : >> >> compile it using -cp ij.jar and ij3d-bin.jar >> http://imagejdocu.tudor.lu/doku.php?id=plugin:morphology:3d_binary_morphological_filters:start >> >> Hope this helps, tell me if you need more explanations. >> >> Thomas >> >> >> >> import ij.*; >> import ij.gui.*; >> import ij.measure.*; >> import ij.plugin.*; >> import ij.plugin.filter.*; >> import ij.process.*; >> >> import ij3d.image3d.*; >> import ij3d.utils.*; >> >> import java.awt.*; >> import java.awt.event.ItemEvent; >> import java.io.BufferedWriter; >> import java.io.FileWriter; >> import java.io.IOException; >> import java.text.*; >> import java.util.Enumeration; >> import java.util.Vector; >> /** >> * Histogram for each pixel in 3D >> * >> *@author Thomas BOUDIER >> *@created avril 2003 >> */ >> public class HistoPixel3D_ implements PlugInFilter { >> ImagePlus imp; >> float rad; >> >> >> /** >> * Main processing method for the Median3D_ object >> * >> *@param ip Description of the Parameter >> */ >> public void run(ImageProcessor ip) { >> rad = 5; >> if (Dialogue()) { >> TabUtil tab; >> IntImage3D col = new IntImage3D(imp.getStack()); >> IJ.resetEscape(); >> for (int k = 0; k < col.getSizez(); k++) { >> if (IJ.escapePressed()) { >> break; >> } >> IJ.showStatus("3D Histo Pixel : " + (int) (100 * k / >> col.getSizez()) + "%"); >> for (int j = 0; j < col.getSizey(); j++) { >> for (int i = 0; i < col.getSizex(); i++) { >> tab = col.getNeighborhoodSphere(i, j, k, rad, >> rad, rad); >> IJ.write("" + tab); >> } >> } >> } >> >> } >> } >> >> >> /** >> * Description of the Method >> * >> *@return Description of the Return Value >> */ >> private boolean Dialogue() { >> GenericDialog gd = new GenericDialog("3D Histo Pixel"); >> gd.addNumericField("Radius", rad, 0); >> gd.showDialog(); >> rad = (int) gd.getNextNumber(); >> return (!gd.wasCanceled()); >> } >> >> >> /** >> * Description of the Method >> * >> *@param arg Description of the Parameter >> *@param imp Description of the Parameter >> *@return Description of the Return Value >> */ >> public int setup(String arg, ImagePlus imp) { >> this.imp = imp; >> return DOES_8G + DOES_16 + NO_CHANGES; >> } >> >> } >> >> >> >> >>> Hi,In a 3D 8-bit stack (comes from tomography experiment), I would like to have for each point the histogram of the grey scale value of the surrounding voxels contained in a sphere (of 5 voxel radius for example) centered on the point.Any help is warmly welcome.Thank you >>> Milan >>> _________________________________________________________________ >>> Découvrez la nouvelle génération des servives de Windows Live >>> http://download.live.com >>> >>> >>> >> -- >> /*****************************************************/ >> Thomas Boudier, MCU Université Pierre et Marie Curie >> UMR 7101 / IFR 83. Bat A 328, Campus Jussieu >> Tél : 01 44 27 35 78 Fax : 01 44 27 25 08 >> /*****************************************************/ >> >> >> >> > > _________________________________________________________________ > Découvrez la nouvelle génération des servives de Windows Live > http://download.live.com > > -- /*****************************************************/ Thomas Boudier, MCU Université Pierre et Marie Curie UMR 7101 / IFR 83. Bat A 328, Campus Jussieu Tél : 01 44 27 35 78 Fax : 01 44 27 25 08 /*****************************************************/ |
So obvious... Thanks a lot, the plugin works perfectly!
Just a question: how getting the mean value directly instead of the full tab values? Milan > Date: Sun, 22 Feb 2009 12:04:35 +0100 > From: [hidden email] > Subject: Re: histogram of a surrounding sphere > To: [hidden email] > > Hi, > > You need first to rename your file to the same name as the class : > HistoPixel3D_.java > > let's assume ij.jar and ij3d-bin.jar and the HistoPixel3D_.java file are > in the same folder : > > javac -cp ij.jar:ij3d-bin.jar HistoPixel_.java > use ; instead of : with Windows > > Thomas > >> Thomas,Thank you for your help! Unfortunately, being not a extremely confortable with java, I just can't compile the plugin (see below), although i use -cp ij.jar & ij3d-bin.jar >> /Applications/ImageJ/plugins/My_Plugin.java:25: class HistoPixel3D_ is public, should be declared in a file named HistoPixel3D_.java >> public class HistoPixel3D_ implements PlugInFilter { >> Many thanksMilan >> >> >>> Date: Sat, 21 Feb 2009 18:31:09 +0100 >>> From: [hidden email] >>> Subject: Re: histogram of a surrounding sphere >>> To: [hidden email] >>> >>> Hi, >>> >>> You can use my ij3d API, here a simple plugin to do that (beware a lot >>> of text !!) : >>> >>> compile it using -cp ij.jar and ij3d-bin.jar >>> http://imagejdocu.tudor.lu/doku.php?id=plugin:morphology:3d_binary_morphological_filters:start >>> >>> Hope this helps, tell me if you need more explanations. >>> >>> Thomas >>> >>> >>> >>> import ij.*; >>> import ij.gui.*; >>> import ij.measure.*; >>> import ij.plugin.*; >>> import ij.plugin.filter.*; >>> import ij.process.*; >>> >>> import ij3d.image3d.*; >>> import ij3d.utils.*; >>> >>> import java.awt.*; >>> import java.awt.event.ItemEvent; >>> import java.io.BufferedWriter; >>> import java.io.FileWriter; >>> import java.io.IOException; >>> import java.text.*; >>> import java.util.Enumeration; >>> import java.util.Vector; >>> /** >>> * Histogram for each pixel in 3D >>> * >>> *@author Thomas BOUDIER >>> *@created avril 2003 >>> */ >>> public class HistoPixel3D_ implements PlugInFilter { >>> ImagePlus imp; >>> float rad; >>> >>> >>> /** >>> * Main processing method for the Median3D_ object >>> * >>> *@param ip Description of the Parameter >>> */ >>> public void run(ImageProcessor ip) { >>> rad = 5; >>> if (Dialogue()) { >>> TabUtil tab; >>> IntImage3D col = new IntImage3D(imp.getStack()); >>> IJ.resetEscape(); >>> for (int k = 0; k < col.getSizez(); k++) { >>> if (IJ.escapePressed()) { >>> break; >>> } >>> IJ.showStatus("3D Histo Pixel : " + (int) (100 * k / >>> col.getSizez()) + "%"); >>> for (int j = 0; j < col.getSizey(); j++) { >>> for (int i = 0; i < col.getSizex(); i++) { >>> tab = col.getNeighborhoodSphere(i, j, k, rad, >>> rad, rad); >>> IJ.write("" + tab); >>> } >>> } >>> } >>> >>> } >>> } >>> >>> >>> /** >>> * Description of the Method >>> * >>> *@return Description of the Return Value >>> */ >>> private boolean Dialogue() { >>> GenericDialog gd = new GenericDialog("3D Histo Pixel"); >>> gd.addNumericField("Radius", rad, 0); >>> gd.showDialog(); >>> rad = (int) gd.getNextNumber(); >>> return (!gd.wasCanceled()); >>> } >>> >>> >>> /** >>> * Description of the Method >>> * >>> *@param arg Description of the Parameter >>> *@param imp Description of the Parameter >>> *@return Description of the Return Value >>> */ >>> public int setup(String arg, ImagePlus imp) { >>> this.imp = imp; >>> return DOES_8G + DOES_16 + NO_CHANGES; >>> } >>> >>> } >>> >>> >>> >>> >>>> Hi,In a 3D 8-bit stack (comes from tomography experiment), I would like to have for each point the histogram of the grey scale value of the surrounding voxels contained in a sphere (of 5 voxel radius for example) centered on the point.Any help is warmly welcome.Thank you >>>> Milan >>>> _________________________________________________________________ >>>> Découvrez la nouvelle génération des servives de Windows Live >>>> http://download.live.com >>>> >>>> >>>> >>> -- >>> /*****************************************************/ >>> Thomas Boudier, MCU Université Pierre et Marie Curie >>> UMR 7101 / IFR 83. Bat A 328, Campus Jussieu >>> Tél : 01 44 27 35 78 Fax : 01 44 27 25 08 >>> /*****************************************************/ >>> >>> >>> >>> >> >> _________________________________________________________________ >> Découvrez la nouvelle génération des servives de Windows Live >> http://download.live.com >> >> > > > -- > /*****************************************************/ > Thomas Boudier, MCU Université Pierre et Marie Curie > UMR 7101 / IFR 83. Bat A 328, Campus Jussieu > Tél : 01 44 27 35 78 Fax : 01 44 27 25 08 > /*****************************************************/ > > > _________________________________________________________________ Découvrez la nouvelle génération des servives de Windows Live http://download.live.com |
In reply to this post by Thomas Boudier
On Feb 22, 2009, at 6:04 AM, Thomas Boudier wrote:
> Hi, > > You need first to rename your file to the same name as the class : > HistoPixel3D_.java > > let's assume ij.jar and ij3d-bin.jar and the HistoPixel3D_.java > file are in the same folder : > > javac -cp ij.jar:ij3d-bin.jar HistoPixel_.java > use ; instead of : with Windows The easy way to compile and run this plugin is to copy HistoPixel_.java and ij3d-bin.jar to the plugins folder and then use the Plugins>Compile and Run command. -wayne > > Thomas > >> Thomas,Thank you for your help! Unfortunately, being not a >> extremely confortable with java, I just can't compile the plugin >> (see below), although i use -cp ij.jar & ij3d-bin.jar >> /Applications/ImageJ/plugins/My_Plugin.java:25: class >> HistoPixel3D_ is public, should be declared in a file named >> HistoPixel3D_.java >> public class HistoPixel3D_ implements PlugInFilter { >> Many thanksMilan >> >> >>> Date: Sat, 21 Feb 2009 18:31:09 +0100 >>> From: [hidden email] >>> Subject: Re: histogram of a surrounding sphere >>> To: [hidden email] >>> >>> Hi, >>> >>> You can use my ij3d API, here a simple plugin to do that (beware >>> a lot of text !!) : >>> >>> compile it using -cp ij.jar and ij3d-bin.jar http:// >>> imagejdocu.tudor.lu/doku.php?id=plugin:morphology: >>> 3d_binary_morphological_filters:start >>> >>> Hope this helps, tell me if you need more explanations. >>> >>> Thomas >>> >>> >>> >>> import ij.*; >>> import ij.gui.*; >>> import ij.measure.*; >>> import ij.plugin.*; >>> import ij.plugin.filter.*; >>> import ij.process.*; >>> >>> import ij3d.image3d.*; >>> import ij3d.utils.*; >>> >>> import java.awt.*; >>> import java.awt.event.ItemEvent; >>> import java.io.BufferedWriter; >>> import java.io.FileWriter; >>> import java.io.IOException; >>> import java.text.*; >>> import java.util.Enumeration; >>> import java.util.Vector; >>> /** >>> * Histogram for each pixel in 3D >>> * >>> *@author Thomas BOUDIER >>> *@created avril 2003 >>> */ >>> public class HistoPixel3D_ implements PlugInFilter { >>> ImagePlus imp; >>> float rad; >>> >>> >>> /** >>> * Main processing method for the Median3D_ object >>> * >>> *@param ip Description of the Parameter >>> */ >>> public void run(ImageProcessor ip) { >>> rad = 5; >>> if (Dialogue()) { >>> TabUtil tab; >>> IntImage3D col = new IntImage3D(imp.getStack()); >>> IJ.resetEscape(); >>> for (int k = 0; k < col.getSizez(); k++) { >>> if (IJ.escapePressed()) { >>> break; >>> } >>> IJ.showStatus("3D Histo Pixel : " + (int) (100 * >>> k / col.getSizez()) + "%"); >>> for (int j = 0; j < col.getSizey(); j++) { >>> for (int i = 0; i < col.getSizex(); i++) { >>> tab = col.getNeighborhoodSphere(i, j, k, >>> rad, rad, rad); >>> IJ.write("" + tab); >>> } >>> } >>> } >>> >>> } >>> } >>> >>> >>> /** >>> * Description of the Method >>> * >>> *@return Description of the Return Value >>> */ >>> private boolean Dialogue() { >>> GenericDialog gd = new GenericDialog("3D Histo Pixel"); >>> gd.addNumericField("Radius", rad, 0); >>> gd.showDialog(); >>> rad = (int) gd.getNextNumber(); >>> return (!gd.wasCanceled()); >>> } >>> >>> >>> /** >>> * Description of the Method >>> * >>> *@param arg Description of the Parameter >>> *@param imp Description of the Parameter >>> *@return Description of the Return Value >>> */ >>> public int setup(String arg, ImagePlus imp) { >>> this.imp = imp; >>> return DOES_8G + DOES_16 + NO_CHANGES; >>> } >>> >>> } >>> >>> >>> >>>> Hi,In a 3D 8-bit stack (comes from tomography experiment), I >>>> would like to have for each point the histogram of the grey >>>> scale value of the surrounding voxels contained in a sphere (of >>>> 5 voxel radius for example) centered on the point.Any help is >>>> warmly welcome.Thank you >>>> Milan >>>> _________________________________________________________________ >>>> Découvrez la nouvelle génération des servives de Windows Live >>>> http://download.live.com >>>> >>>> >>> -- >>> /*****************************************************/ >>> Thomas Boudier, MCU Université Pierre et Marie Curie >>> UMR 7101 / IFR 83. Bat A 328, Campus Jussieu >>> Tél : 01 44 27 35 78 Fax : 01 44 27 25 08 >>> /*****************************************************/ >>> >>> >>> >> >> _________________________________________________________________ >> Découvrez la nouvelle génération des servives de Windows Live >> http://download.live.com >> >> > > > -- > /*****************************************************/ > Thomas Boudier, MCU Université Pierre et Marie Curie > UMR 7101 / IFR 83. Bat A 328, Campus Jussieu > Tél : 01 44 27 35 78 Fax : 01 44 27 25 08 > /*****************************************************/ > > |
In reply to this post by m000an ZH
On Sunday 22 February 2009, m000an ZH wrote:
> So obvious... Thanks a lot, the plugin works perfectly! > Just a question: how getting the mean value directly instead of the full > tab values? Milan Hm... isn't that the 3D mean filter? That is why I originally asked how you were going to visualise it. G. |
yes, it actually is! I didn't see it that way, thanks... but knowing how to perform the norm of "tab" would be interesting all the same
Milan > Date: Sun, 22 Feb 2009 18:37:41 +0000 > From: [hidden email] > Subject: Re: histogram of a surrounding sphere > To: [hidden email] > > On Sunday 22 February 2009, m000an ZH wrote: >> So obvious... Thanks a lot, the plugin works perfectly! >> Just a question: how getting the mean value directly instead of the full >> tab values? Milan > > Hm... isn't that the 3D mean filter? > That is why I originally asked how you were going to visualise it. > > G. _________________________________________________________________ Découvrez la nouvelle génération des servives de Windows Live http://download.live.com |
Hi,
Yes a 3D mean filter, you can use the jni3d filter for faster filtering : http://imagejdocu.tudor.lu/doku.php?id=plugin:filter:3d_filters_with_jni:start for the "tab" you just add : float mean=tab.getMean(); or getSigma ... look at the API Thomas m000an ZH a écrit : > yes, it actually is! I didn't see it that way, thanks... but knowing how to perform the norm of "tab" would be interesting all the same > Milan > >> Date: Sun, 22 Feb 2009 18:37:41 +0000 >> From: [hidden email] >> Subject: Re: histogram of a surrounding sphere >> To: [hidden email] >> >> On Sunday 22 February 2009, m000an ZH wrote: >>> So obvious... Thanks a lot, the plugin works perfectly! >>> Just a question: how getting the mean value directly instead of the full >>> tab values? Milan >> Hm... isn't that the 3D mean filter? >> That is why I originally asked how you were going to visualise it. >> >> G. > > _________________________________________________________________ > Découvrez la nouvelle génération des servives de Windows Live > http://download.live.com > -- /**********************************************************/ Thomas Boudier, MCU Université Pierre et Marie Curie, IFR 83. Bat B 7ème étage, porte 709, Jussieu. Tel : 01 44 27 20 11 Fax : 01 44 27 22 91 /*******************************************************/ |
Working perfectly, thanks a lot!
Otherwise, is there a way to apply this plugin only on points that are written in a textfile as x, y, z coordinates? x1 y1 z1 x2 y1 z1 .... Milan > Date: Mon, 23 Feb 2009 09:34:48 +0100 > From: [hidden email] > Subject: Re: histogram of a surrounding sphere > To: [hidden email] > > Hi, > > Yes a 3D mean filter, you can use the jni3d filter for faster filtering > : > http://imagejdocu.tudor.lu/doku.php?id=plugin:filter:3d_filters_with_jni:start > > for the "tab" you just add : > > float mean=tab.getMean(); > > or getSigma ... look at the API > > > Thomas > > > > m000an ZH a écrit : >> yes, it actually is! I didn't see it that way, thanks... but knowing how to perform the norm of "tab" would be interesting all the same >> Milan >> >>> Date: Sun, 22 Feb 2009 18:37:41 +0000 >>> From: [hidden email] >>> Subject: Re: histogram of a surrounding sphere >>> To: [hidden email] >>> >>> On Sunday 22 February 2009, m000an ZH wrote: >>>> So obvious... Thanks a lot, the plugin works perfectly! >>>> Just a question: how getting the mean value directly instead of the full >>>> tab values? Milan >>> Hm... isn't that the 3D mean filter? >>> That is why I originally asked how you were going to visualise it. >>> >>> G. >> >> _________________________________________________________________ >> Découvrez la nouvelle génération des servives de Windows Live >> http://download.live.com >> > > -- > /**********************************************************/ > Thomas Boudier, MCU Université Pierre et Marie Curie, > IFR 83. Bat B 7ème étage, porte 709, Jussieu. > Tel : 01 44 27 20 11 Fax : 01 44 27 22 91 > /*******************************************************/ _________________________________________________________________ Découvrez la nouvelle génération des servives de Windows Live http://download.live.com |
Hi,
You mean you want the average values in the 3D sphere for a series of points in a texfile ? Thomas m000an ZH a écrit : > Working perfectly, thanks a lot! > Otherwise, is there a way to apply this plugin only on points that are written in a textfile as x, y, z coordinates? > x1 y1 z1 > x2 y1 z1 > .... > > > Milan > > >> Date: Mon, 23 Feb 2009 09:34:48 +0100 >> From: [hidden email] >> Subject: Re: histogram of a surrounding sphere >> To: [hidden email] >> >> Hi, >> >> Yes a 3D mean filter, you can use the jni3d filter for faster filtering >> : >> http://imagejdocu.tudor.lu/doku.php?id=plugin:filter:3d_filters_with_jni:start >> >> for the "tab" you just add : >> >> float mean=tab.getMean(); >> >> or getSigma ... look at the API >> >> >> Thomas >> >> >> >> m000an ZH a écrit : >>> yes, it actually is! I didn't see it that way, thanks... but knowing how to perform the norm of "tab" would be interesting all the same >>> Milan >>> >>>> Date: Sun, 22 Feb 2009 18:37:41 +0000 >>>> From: [hidden email] >>>> Subject: Re: histogram of a surrounding sphere >>>> To: [hidden email] >>>> >>>> On Sunday 22 February 2009, m000an ZH wrote: >>>>> So obvious... Thanks a lot, the plugin works perfectly! >>>>> Just a question: how getting the mean value directly instead of the full >>>>> tab values? Milan >>>> Hm... isn't that the 3D mean filter? >>>> That is why I originally asked how you were going to visualise it. >>>> >>>> G. >>> _________________________________________________________________ >>> Découvrez la nouvelle génération des servives de Windows Live >>> http://download.live.com >>> >> -- >> /**********************************************************/ >> Thomas Boudier, MCU Université Pierre et Marie Curie, >> IFR 83. Bat B 7ème étage, porte 709, Jussieu. >> Tel : 01 44 27 20 11 Fax : 01 44 27 22 91 >> /*******************************************************/ > > _________________________________________________________________ > Découvrez la nouvelle génération des servives de Windows Live > http://download.live.com > -- /**********************************************************/ Thomas Boudier, MCU Université Pierre et Marie Curie, IFR 83. Bat B 7ème étage, porte 709, Jussieu. Tel : 01 44 27 20 11 Fax : 01 44 27 22 91 /*******************************************************/ |
Yes exactly, the average values in the 3D sphere for a series of points given in a seperate textfile ?
Milan > Date: Wed, 25 Feb 2009 18:29:39 +0100 > From: [hidden email] > Subject: Re: histogram of a surrounding sphere > To: [hidden email] > > Hi, > > You mean you want the average values in the 3D sphere for a series of > points in a texfile ? > > Thomas > > > m000an ZH a écrit : >> Working perfectly, thanks a lot! >> Otherwise, is there a way to apply this plugin only on points that are written in a textfile as x, y, z coordinates? >> x1 y1 z1 >> x2 y1 z1 >> .... >> >> >> Milan >> >> >>> Date: Mon, 23 Feb 2009 09:34:48 +0100 >>> From: [hidden email] >>> Subject: Re: histogram of a surrounding sphere >>> To: [hidden email] >>> >>> Hi, >>> >>> Yes a 3D mean filter, you can use the jni3d filter for faster filtering >>> : >>> http://imagejdocu.tudor.lu/doku.php?id=plugin:filter:3d_filters_with_jni:start >>> >>> for the "tab" you just add : >>> >>> float mean=tab.getMean(); >>> >>> or getSigma ... look at the API >>> >>> >>> Thomas >>> >>> >>> >>> m000an ZH a écrit : >>>> yes, it actually is! I didn't see it that way, thanks... but knowing how to perform the norm of "tab" would be interesting all the same >>>> Milan >>>> >>>>> Date: Sun, 22 Feb 2009 18:37:41 +0000 >>>>> From: [hidden email] >>>>> Subject: Re: histogram of a surrounding sphere >>>>> To: [hidden email] >>>>> >>>>> On Sunday 22 February 2009, m000an ZH wrote: >>>>>> So obvious... Thanks a lot, the plugin works perfectly! >>>>>> Just a question: how getting the mean value directly instead of the full >>>>>> tab values? Milan >>>>> Hm... isn't that the 3D mean filter? >>>>> That is why I originally asked how you were going to visualise it. >>>>> >>>>> G. >>>> _________________________________________________________________ >>>> Découvrez la nouvelle génération des servives de Windows Live >>>> http://download.live.com >>>> >>> -- >>> /**********************************************************/ >>> Thomas Boudier, MCU Université Pierre et Marie Curie, >>> IFR 83. Bat B 7ème étage, porte 709, Jussieu. >>> Tel : 01 44 27 20 11 Fax : 01 44 27 22 91 >>> /*******************************************************/ >> >> _________________________________________________________________ >> Découvrez la nouvelle génération des servives de Windows Live >> http://download.live.com >> > > -- > /**********************************************************/ > Thomas Boudier, MCU Université Pierre et Marie Curie, > IFR 83. Bat B 7ème étage, porte 709, Jussieu. > Tel : 01 44 27 20 11 Fax : 01 44 27 22 91 > /*******************************************************/ _________________________________________________________________ Découvrez toutes les possibilités de communication avec vos proches http://download.live.com |
Free forum by Nabble | Edit this page |