Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Art & Imaging in Linux
Reload this Page math problem: compute 3d volume (image-based)
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Art & Imaging in Linux Stuff made with The GIMP and/or others

Reply
 
Thread Tools Display Modes
Old 01-17-2008   #1 (permalink)
nephritiri
Just Joined!
 
Join Date: Jan 2008
Location: Philippines
Posts: 10
Send a message via Yahoo to nephritiri
math problem: compute 3d volume (image-based)

i came here to hear your opinions and suggestions and for your help.
owww... im nver good in math...

this may be more mathematical than ubuntu-ish... i need your help.

im currently developing a program to render a volume from a sequence of binary 2D images. i use C++ and a class library we use in school for computer graphics.

what im doing in 3d rendering is voxel-based.i use space carving algo. i am now able to render the volume but one of my main goals is this: compute the volume of the original object through those 2D input images.

iv researched about the calibration in this kind of processing but im all tangled up. i admit that im nver good in math.

the idea is, if 1 voxel is 1cm^3, and if the total of voxels are 500, that means the 3d object ive rendered is 500cm^3.

but it was just based on the images and the volume iv rendered, how will i transform that to the real world? (true volume)

one more thing,the orig dimensions of the imgs are 640x480. but coz i only hav limited comp. resources (single-core,512mb ram),i scaled them down to 267x200. with the same ratio of 1.35.

so, iv scaled the images down... 1 voxel in 267x200 is how many voxels in 640x480? is it 2.4? (640/267, 480/200)

so, if i hav 500 voxels in 267x200, is it equivalent to 1200 voxels in 640x480?

then... if it is (if it is...), i have 1200 voxels...1200cm^3
what if i precomputed the real world object and it has a dimension of(in cm) w=16, h=11, d=31...a volume of 5,456 cm^3... then what? how can i transform computation from those voxels to real world? how will i know that im right?

will it be right to set 1 voxel to 1 cm^3? and so, if it is, i have a ratio of 4.55 (5456/1200)--ratio of real world and images?

oh no... am i making any sense?pls..help me.
__________________
queen nefertiti
nephritiri is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Asking good questions (2) jasonlambert Linux Newbie 5 12-13-2004 09:22 PM
Problem with pxes-0.9-1PB image it05995 Linux Desktop / X-Windows 0 11-13-2004 05:46 PM
How to create image using PQDI boot disk? (rhel v2.1) namgor Linux Newbie 9 06-28-2004 08:40 PM
Konqueror image link problem! Khumba Linux Desktop / X-Windows 2 04-02-2004 01:50 PM
Problem in Creating image in Linux Run Level-3 ksiddiqui Linux Desktop / X-Windows 1 03-27-2004 11:43 PM


All times are GMT. The time now is 07:33 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0