Click here to Skip to main content
15,902,909 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: Simple way to learn directx Pin
KaldaP17-Oct-08 9:29
KaldaP17-Oct-08 9:29 
GeneralRe: Simple way to learn directx Pin
ripsware17-Oct-08 9:39
ripsware17-Oct-08 9:39 
GeneralRe: Simple way to learn directx Pin
Mark Salsbery18-Oct-08 9:20
Mark Salsbery18-Oct-08 9:20 
AnswerRe: Simple way to learn directx Pin
quakeboy29-Oct-08 0:04
quakeboy29-Oct-08 0:04 
Questiondrawing a room Pin
guyadika15-Oct-08 10:19
guyadika15-Oct-08 10:19 
AnswerRe: drawing a room Pin
guyadika15-Oct-08 10:20
guyadika15-Oct-08 10:20 
AnswerRe: drawing a room Pin
Alan Balkany16-Oct-08 3:45
Alan Balkany16-Oct-08 3:45 
QuestionExtrapolating lines to fill in missing sections Pin
Keith (MapMan)15-Oct-08 6:09
Keith (MapMan)15-Oct-08 6:09 
I am trying to write some code to reconstruct a small irregular shaped "hole" in an image where the image data has been lost. My hope is that by analysing the surrounding image I can make an intelligent guesses as to what the missing part might look like.

Using standard edge recognition techniques I have managed to identify strong contrast edges in the surrounding image. The next step is to identify which of these edge lines cross the hole and to extrapolate them across.

The image at http://www.bracknellbridge.com/images/Thinned1.bmp[] shows where I'm at. The dark surround represents part of the image for which data is intact and the light grey centre is the area I am trying to reconstruct. The white line segment above and below the light grey area represents a high contrast edge. To the human eye it looks like this line probably crosses the light grey area. What I need is a general algorithm to recognise this situation and extrapolate the line across the hole.

It has been suggested that the Hough transform might be the way to go but I'm struggling with how to apply this in a practical sense. Is the idea to consider every possible pair of points and calculate the parametric equation of the line passing through them, then see which values are most common?

It sounds simple in theory but I can think of practical problems. If points A and B are on line 1 which is very close, but not identical, to line 2 which joins C and D how can I ensure they are interpreted as 2 votes for "nearly" the same line? How close is close enough?

If anyone has some practical advice or ideas I should be very interested. A practical code example of the Hough transform would be especially useful.

Keith
AnswerRe: Extrapolating lines to fill in missing sections Pin
Alan Balkany16-Oct-08 3:59
Alan Balkany16-Oct-08 3:59 
GeneralRe: Extrapolating lines to fill in missing sections Pin
Keith (MapMan)16-Oct-08 23:07
Keith (MapMan)16-Oct-08 23:07 
GeneralRe: Extrapolating lines to fill in missing sections Pin
Alan Balkany17-Oct-08 3:34
Alan Balkany17-Oct-08 3:34 
QuestionDVD Event Handling Pin
KaldaP14-Oct-08 8:49
KaldaP14-Oct-08 8:49 
AnswerRe: DVD Event Handling Pin
Jim Crafton14-Oct-08 9:26
Jim Crafton14-Oct-08 9:26 
GeneralRe: DVD Event Handling Pin
KaldaP15-Oct-08 6:12
KaldaP15-Oct-08 6:12 
GeneralRe: DVD Event Handling Pin
Jim Crafton15-Oct-08 6:19
Jim Crafton15-Oct-08 6:19 
QuestionToolbar icons Pin
pacoxl14-Oct-08 6:27
pacoxl14-Oct-08 6:27 
QuestionHow to intersect GraphicsPaths? Pin
CherezZaboro14-Oct-08 2:19
CherezZaboro14-Oct-08 2:19 
QuestionLarge images and memory issue Pin
riobui13-Oct-08 22:03
riobui13-Oct-08 22:03 
QuestionForm not shown completely in output window - winCE .net Pin
sayana_here9-Oct-08 21:44
sayana_here9-Oct-08 21:44 
QuestionQuestion about the project template. Pin
Jack_Dracon8-Oct-08 6:37
Jack_Dracon8-Oct-08 6:37 
QuestionCopy partial Image from another image. VB .net 3.5 Pin
CAN Coder7-Oct-08 7:44
CAN Coder7-Oct-08 7:44 
AnswerRe: Copy partial Image from another image. VB .net 3.5 Pin
Mark Salsbery7-Oct-08 8:11
Mark Salsbery7-Oct-08 8:11 
QuestionRect flickrs outside of the the app area Pin
gabbana7-Oct-08 4:16
gabbana7-Oct-08 4:16 
AnswerRe: Rect flickrs outside of the the app area Pin
gabbana7-Oct-08 5:25
gabbana7-Oct-08 5:25 
QuestionGraphics how to start ???? Pin
Larsfrom4-Oct-08 9:19
Larsfrom4-Oct-08 9:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.