How can I change planes in NifTI images? - nifti

So I am trying to mix two different NifTI datasets, but when I view them in 2D they both have different planes, one of them is inverted also.
my question is:
1) How to change plane in NifTI?
2) Also how do I rotate the plane ?
thankyou in advance.

Related

how to moder in fusion 350 a cylinder that has a circle in one end and a square in the other

I need an organic shape that morphs from a polygon in one end to a circle/ellipse in the other. I've seen that done in fusion but cannot figure out how.
I'm creating a short of a base, with more structure in the middle, but this is the basic shape I need.
Is this possible ?
As far as I understand your question you can do it with two sketches on two parallel planes. One sketch draw polygon on the other circle. Connect shapes with loft tool.

How do I add a caffe slice layer to crop images?

For example instead of inferring a batch of 64 28x28 images and adding 64 results together why can I add a layer to the network and crop out these 64 images from a 224x224 input image? It seems this would be more elegant and faster.
gif of different lighting
How do you do this? I find it odd I can’t find slice examples like this and I am guess I must be using the wrong terms or someone asking the question wrong.
I tried the slice layer but it keep wanting to slice the 8 bit gray. For example to create four 224x224 2bit images.
Any Ideas?
By the way my application is really cool! I am doing unsupervised grouping of 3D objects using many different lighting angles. This eliminates manual labeling of classes!
https://github.com/GemHunt/lighting-augmentation
Thanks Much! Paul Krush
This was answered for now on the Caffe Google Group:
https://groups.google.com/forum/#!topic/caffe-users/_uii8kTMOdM
One or more of these answers will work for me:
1.) Python pre and post processing is better
2.) Check out windowing
3.) Try the reshape layer (1,1,224,224)->(1,64,28,28)

Draw isometric map based on heightmap

I am not able to get my head arround my problem triyng for two days now. The highly rated answer on stackoverflow did not help me. I am remaking an game which uses an isometric view. I generated a 2D heightmap matrix that i now want to draw using different tiles. Should the numbers in the array represent the edges or tiles? How to i iterate over my array? I am stuck.
These are the tiles to simulate height, they have different sizes.

Create a Graph from points in a Grid that contains holes

I've got a continuous plane (2-D) containing polygonal obstacles. I am uniformly sampling the plane at discrete positions to create a uniform grid of points. The grid does not have points where obstacles lie (i.e. holes where ever an obstacle is) as shown in the image below.
(Please view the image at http://i48.tinypic.com/2efnblg.png for a clear idea of what I'm attempting to accomplish. I couldn't embed it.)
Can anyone point me to some good implementations with optimal worst-case time-complexity?
Solved the problem using recursion.

Can I make Flash CS4's 3D functionality work with 3D glasses?

I know it can be done in papevision -> http://codejockeyscorner.blogspot.com/2009/04/papervision3d-anaglyph-scene.html but I'd like to be able to do it just using Flash's 3D functionality. I'm aware that its more 2.5D but was wondering if anybody knew how to create a situation so you can view it with 3D glasses (red and blue)
Stereoscopic images can be made with a simple camera so the choice of a 3d engine shouldn't make a difference : )
Very basically : you have to do is to duplicate the scene (one blue/ onered) and change slightly the PerspectiveProjection for each. The viewpoints need to be placed at a distance proportional to the one you have between your two eyes.