Click here to Skip to main content
16,017,606 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: [Message Deleted] Pin
Pallab_GT21-Mar-08 0:09
Pallab_GT21-Mar-08 0:09 
GeneralRe: [Message Deleted] Pin
James R. Twine24-Mar-08 7:22
James R. Twine24-Mar-08 7:22 
QuestionCan linked list be sorted in O(n) time? Pin
doubtfire4000816-Mar-08 23:24
doubtfire4000816-Mar-08 23:24 
AnswerRe: Can linked list be sorted in O(n) time? Pin
Alan Balkany17-Mar-08 3:24
Alan Balkany17-Mar-08 3:24 
GeneralRe: Can linked list be sorted in O(n) time? Pin
Luc Pattyn17-Mar-08 4:08
sitebuilderLuc Pattyn17-Mar-08 4:08 
AnswerRe: Can linked list be sorted in O(n) time? Pin
Jörgen Sigvardsson14-Jun-08 11:47
Jörgen Sigvardsson14-Jun-08 11:47 
QuestionRotate Images for automatic alignment - suggestions for an algorithm please? Pin
justaudio12-Mar-08 11:53
justaudio12-Mar-08 11:53 
AnswerRe: Rotate Images for automatic alignment - suggestions for an algorithm please? Pin
Skippums13-Mar-08 5:24
Skippums13-Mar-08 5:24 
Are the discs some solid color otherwise? Perhaps you could try drawing parallel lines through the image at ~15 degree increments from 0 to 165 degrees. Then compare the number of color changes along those lines. The fewer color changes, the more aligned your image. You could also try finding the center of the disc, then draw circles beginning from the outside. Once you hit something of a different color on opposite sides of the disk, you can compute the angle between them and rotate according to that. You may also want to try bluring the image to begin with, to make any lettering make a stripe of some color on the disk. Perhaps another idea is to pick a common rotationally asymmetric letter, such as 'e' since you know the language on the CD's, and try to find it on the disk. Compare the rotation of the letter to what you expect, and rotate the disk accordingly. These are just some of the approaches that I thought of sitting here, but I have never personally done much image processing. Good luck,

Sounds like somebody's got a case of the Mondays

-Jeff

GeneralRe: Rotate Images for automatic alignment - suggestions for an algorithm please? Pin
justaudio13-Mar-08 9:48
justaudio13-Mar-08 9:48 
AnswerRe: Rotate Images for automatic alignment - suggestions for an algorithm please? Pin
Alan Balkany13-Mar-08 5:24
Alan Balkany13-Mar-08 5:24 
GeneralComputing Binary File Changes Pin
Skippums12-Mar-08 10:24
Skippums12-Mar-08 10:24 
GeneralRe: Computing Binary File Changes Pin
Member 419459326-Mar-08 8:43
Member 419459326-Mar-08 8:43 
QuestionRe: Computing Binary File Changes Pin
Skippums29-Mar-08 17:38
Skippums29-Mar-08 17:38 
GeneralRe: Computing Binary File Changes Pin
Member 419459329-Mar-08 18:27
Member 419459329-Mar-08 18:27 
GeneralRe: Computing Binary File Changes Pin
Member 419459330-Mar-08 6:48
Member 419459330-Mar-08 6:48 
QuestionRe: Computing Binary File Changes Pin
Skippums30-Mar-08 10:37
Skippums30-Mar-08 10:37 
GeneralRe: Computing Binary File Changes Pin
Member 419459330-Mar-08 12:38
Member 419459330-Mar-08 12:38 
GeneralRe: Computing Binary File Changes Pin
Member 419459316-Apr-08 16:19
Member 419459316-Apr-08 16:19 
GeneralRe: Computing Binary File Changes Pin
Skippums16-Apr-08 17:39
Skippums16-Apr-08 17:39 
GeneralRe: Computing Binary File Changes Pin
Member 419459316-Apr-08 18:50
Member 419459316-Apr-08 18:50 
GeneralRe: Computing Binary File Changes Pin
Skippums18-Apr-08 6:38
Skippums18-Apr-08 6:38 
GeneralRe: Computing Binary File Changes Pin
Member 419459327-Apr-08 8:25
Member 419459327-Apr-08 8:25 
GeneralRe: Computing Binary File Changes Pin
Skippums27-Apr-08 22:17
Skippums27-Apr-08 22:17 
GeneralRe: Computing Binary File Changes Pin
Member 419459328-Apr-08 15:34
Member 419459328-Apr-08 15:34 
GeneralSegment selected region from the video frames Pin
ptr_Electron12-Mar-08 3:17
ptr_Electron12-Mar-08 3:17 

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.