Download presentation
Presentation is loading. Please wait.
Published byImogene Hood Modified over 8 years ago
1
Visualization of Multidimensional Functions Team Members: Mrinmayee Kulkarni Reenal Mahajan Priya Shastri
2
Motivation Difficulty in visualizing functions of higher dimensions. Inspiration from Sanjini’s work.
3
Our Approach Focal point rays (n-1) dimensional hypercube +X -X-Z -Y+Y +Z +X +Y +Z Terms used: Rays, Focal Point, Range Range of x,y and z = 40 (-20 to 20) Radius = 400
4
Approach in detail. Function to screen mapping Steps involved Step 1 Calculate the number of slices using the formula No. of Slices(n)=2*Dimensions Step 2 Angle of each slice(theta) = 360/No.of slices Step 3 No. of rays(r) = 400*2Pi/2n
5
Step 4 Each (n-1) dimensional face of the hypercube is divided into smaller cubes using the formula 40^(n-1)= r * x^(n-1) where “x” is the dimension of each hypercube. Step 5 Order the hypercubes row-wise and later layer-wise. Step 6 Divide the line joining the center of the hypercube and the focal point into 400 points and compute the function values for each. Step 7 Plot the function points on the screen with intensity computed using the formula intensity = function value * 255/maxvalue of function
6
Stage 1 First line drawn All 400 points.
7
Stage 2 +X Surface Co-ordinates 400,400 Angle theta
8
Stage 3 + X Surface White portion which was due to out of range color values
9
Stage 4 Background Changed To Black for Better effect. Out of range color values removed
10
Current stage
11
Some interesting Functions
15
Screen to function mapping Step 1 Store the intensity values calculated for each point (a,b) plotted in 2 arrays green[800][800] and red[800][800] Step 2 Get screen co-ordinates (a,b) on mouse click Step 3 Search in green,red arrays and find intensity at (a,b) Step 4 Shift coordinate axis to focal point [Here (400,400) ] Step 4 Shift coordinate axis to focal point [Here (400,400) ]
16
Step 5 Find angle and quadrant of shifted coordinates;hence find surface which they map to in hypercube Step 6 Substitute known values in the intensity function and get the value of function Step 7 Sign of function is obtained from plotted color (red- negative; green – positive)
17
Green[576][264]=intensity value Function > =0 Value= 16.941 Red[576][264]=0
18
Pros and Cons Pros Visualization of functions of higher dimensions. Ability to scale up to 20 dimensions. Ordering of cubes can be altered to accommodate more rays. Easier to classify the type of function (symmetric, asymmetric). Cons More processing time. Aggregation of function points. Limited interaction.
19
Future Work Addition of mouse interactions. Enable the user to change focal point. Display function values at different points. Change the range of display of function values. Use of a different method to order the rays on the face of cube. Make a generalized module to extend to n- dimensions.( part of the work going on).
20
Acknowledgements Thanks to Dr. North & Sanjini for their help Questions???
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.