Lost Password?

Go Back   CodeCall Programming Forum > Software Development > C# Programming

C# Programming C# (pronounced C-sharp) is a new object oriented language from Microsoft and is derived from C and C++. It also borrows a lot of concepts from Java too including garbage collection.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-26-2008, 03:28 PM
bananamilk bananamilk is offline
Newbie
 
Join Date: Jun 2008
Posts: 2
Rep Power: 0
bananamilk is on a distinguished road
Default BSP Tree Problem

This is going to be used strictly in 2D (on images to be specific) not 3D. I need to be able to divide the image until an end criteria is met using linear lines in any orientation (360 degree range). The internal nodes store the dividing lines, while the leaf nodes contain the average intensity of the region that the node is referring to.

My problem is that I dont know how to store a line segment that is on a specific place. Of course, i need to store the line as well as its location. The leaf nodes just contain a value that will be used to "color" in the region by a BSP tree decoder, but the problem is to store the dividing lines. Would the lines be stored as functions? if so how?

Some background info on BSP tree ftp://ftp.sgi.com/other/bspfaq/faq/bspfaq.html#6.txt
The binary tree that I'm using: Part 3: Binary Trees and BSTs
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
B+ Tree C Implementation makkx9 C and C++ 1 05-17-2008 05:12 PM
Peculiar UI Problem Needs Tackling adriyel C# Programming 2 04-06-2008 07:46 AM
Problem read pwd protected Access2K dbase - CR9 & VB6 mrbar Visual Basic Programming 2 03-10-2008 04:50 AM
How to tackle a programming problem? TcM General Programming 10 01-07-2008 11:29 AM
need help with simple C++ TicTacToe game with AI flupke1 C and C++ 11 08-14-2007 10:27 AM


All times are GMT -5. The time now is 11:15 PM.

Contest Stats

John ........ 223.00000
dargueta ........ 168.00000
Xav ........ 164.00000
LogicKills ........ 20.00000
sam ........ 20.00000
gaylo565 ........ 18.00000
|pH| ........ 15.00000
WingedPanther ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 67%

Ads