Frenemies of TalkRational: |
Nontheist Nexus | Rants'n'Raves | Secular Cafe | Council of Ex-Muslims | The Skeptical Zone | rationalia | Rational Skepticism | Atheists Today | |
|
Mathematics constants, variables and stuff |
|
Thread Tools | Display Modes |
08-13-2015, 02:42 PM | #2543041 / #1 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
Someone solve this problem for me
I want to approximate a sphere with voxels.
My voxels are 8mm x 8mm x 8mm. If I assume that my centre is in the centre of a voxel, what size symmetrical "spheres" can I get, at different radii? For instance, if I go to a max radius of 12 voxels, I could presumably get a seven voxel cluster. How many voxels in the next size up and so on?
__________________
Join me at The Skeptical Zone |
08-13-2015, 10:42 PM | #2543558 / #3 | |
Senior Member
: Mar 2008
: 5,528
|
:
4 pi/3 * R^3 / L^3 voxels. Intuitively, I think the following is a lower bound (reduce the radius by the length of the diagonal in a voxel): 4 pi/3 * (R - sqrt(3) L)^3 / L^3. |
|
08-13-2015, 10:46 PM | #2543561 / #6 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
It's OK, I solved it. Well, I didn't exactly solve it, but I figured that I should drop the requirement that the centre be in the center of the central voxel.
I've ended up with some weird "spheres" though. The voxels are just a bit big for the diameter "sphere" we want. Like trying to build golf balls out of lego.
__________________
Join me at The Skeptical Zone |
08-13-2015, 10:48 PM | #2543563 / #8 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
Pixel = little pic tures
Voxel = little vo lumes Just as you represent a 2D picture in little coloured pixels, you can represent a 3D brain, say, as a set of little coloured (or not) voxels.
__________________
Join me at The Skeptical Zone |
08-13-2015, 10:49 PM | #2543566 / #9 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
__________________
Join me at The Skeptical Zone |
08-14-2015, 10:35 AM | #2544048 / #11 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
You do
__________________
Join me at The Skeptical Zone |
08-17-2015, 10:24 AM | #2546115 / #13 |
teh r3t4rd
teh pplz champi0n
: Feb 2010
: 13,784
|
Im guessing 3d giant penis0rz
__________________
el guapo: gandalf, you are god's gift to mafia; i can be a little aspie rmacfarl: Febble you should listen to Gandalf DeanM: Yes I acknowledge you were right. laughing dog: gandalf has it right rednoise: gandalf is right. AwfulCrawler: I don't blame you for being a complete, utter retard gandalf. You were probably born that way. Mattshizzle: Advice # 1 - post in English instead of Retarded. Schneibster: Do you have any idea how many people have arrogantly told me I was full of shit on the Internet? |
08-17-2015, 02:45 PM | #2546207 / #14 | |
Superior Member
: Sep 2011
: 2,727
|
:
Do you use mango? |
|
08-18-2015, 09:43 AM | #2546724 / #15 | ||
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
I want to specify a small spherical region of brain centered on a set (xyz) of coordinates in millimeters.
:
The issue is that I have a location-of-interest derived from fMRI, on a series of scan using a 3mm grid (i.e. 3 x 3 x 3 mm voxels). Usually, if you want to define a spherical region (a "Region Of Interest" ROI) with radius, say 10mm, of a specific voxel, you just include all voxels within 10mm (Euclidian distance) of the coordinates and you get a set of sphericalish looking things of approximately the same size i.e. same number of voxels. But I am going to an image that is much more grainy - the voxels are 8mm. So I wanted to standardise my "sphere" so I have the same shape and size ROI for each coordinate. But for a small "sphere" there's a lot of variance in shape and size. It's a bit like trying to copy a Lego design in Duplo. Interestingly, for a 10mm radius, most come out as 8 voxels, one as 12 - because the location I'm interested in is not dead centre of any 8mm voxel, so instead of finding a nice symmetrical 7 voxel object, it finds a lumpy thing. But they are OK. And probably better than finding symmetrical "spheres" with a centre in the in the wrong place. :
__________________
Join me at The Skeptical Zone |
||
08-18-2015, 11:15 AM | #2546742 / #16 | |
Senior Member
: Nov 2011
: Minnesota
: 1,209
|
modeling a sphere out of voxels is a challenge
making the voxels as small as possible would be best at a 10mm rad 5mm voxels = 33 will be rounder +/-10mm 1 voxel +/-5mm = 9 voxels 3x3 +0mm = 13 voxels 3x3+4, 1 in the center of each side total = 33
__________________
Quote:
|
|
08-18-2015, 11:18 AM | #2546744 / #17 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
Yabbut the size of the voxels is a given.
If it wasn't, I wouldn't have a problem. They are quite big.
__________________
Join me at The Skeptical Zone |
08-18-2015, 12:13 PM | #2546785 / #18 | ||
Senior Member
: Mar 2008
: Florida
: 11,478
|
:
Although you say that the cartesian grid is "fixed" (i.e. the voxel construct of the brain in question) and the coordinate of interest is variable? |
||
08-18-2015, 04:35 PM | #2547018 / #19 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
Yes. I have a set of coordinates referring to voxels on a 3mm grid. I want spheres around them, but for an 8mm grid, same origin.
__________________
Join me at The Skeptical Zone |
08-18-2015, 07:39 PM | #2547220 / #21 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
Well, it's kind of suck it and see. I wanted it small enough so that close ones don't overlap, but big enough so that you've a chance of hitting the signal of interest.
We'll probably take the first principle component from the voxels of each sphere, and you need a decent number of spheres to be reasonably confident that the first principle component is capturing the relevant variance.
__________________
Join me at The Skeptical Zone |
08-18-2015, 07:41 PM | #2547222 / #22 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
The data is from a magnetoencephalography (MEG) scan.
__________________
Join me at The Skeptical Zone Last edited by Pingu; 08-18-2015 at 09:23 PM. : missed a vowel |
08-18-2015, 09:28 PM | #2547293 / #24 | |
Senior Member
: Mar 2008
: Florida
: 11,478
|
:
Transpose your cartesian coordinates by 2-2/3rds in each direction to hit the boundries of your new voxel frames, then use a radius to define your new sphere and you should be able to define the boundry edges of each new 8x8x8 block from the new coordinate boundries radiating from the sample center ± radius on each axis. Since your estimating a cube instead of a sphere you'll end up with almost double the number of unit cells gathered (volume of sphere vs. volume of cube). But the transpose math should be easier. Do you need to transpose each 3x3x3 voxel into some 8x8x8 sphere? |
|
08-18-2015, 10:16 PM | #2547349 / #25 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
No, I have 13 locations on a 3x3x3 grid, i.e. 13 sets of 3D coordinates.
I just want spheres round them, which wouldn't normally be a problem (and I only want spheres because I want a uniformish distance from the point-of-interest), because I'm usually dealing with the same grain of grid. But the MEG spatial resolution is quite coarse, and a bit dodgy so I want a reasonable stab at finding a reproducible signal, across lots of subjects. I think I'm going to have to go with my lumpy duplo "spheres".
__________________
Join me at The Skeptical Zone |
X vBulletin 3.8.6 Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|