Click here to Skip to main content
       

Algorithms

 
QuestionChecking the network Pinmemberen41115-Sep-12 8:24 
AnswerlinkRe: Checking the network PinmemberYvesDaoust21-Sep-12 1:11 
Questionan optimal elevator-use algorithm PinmemberBillWoodruff13-Sep-12 4:38 
AnswerRe: an optimal elevator-use algorithm PinmemberAlan Balkany13-Sep-12 5:41 
GeneralRe: an optimal elevator-use algorithm PinmemberBillWoodruff19-Sep-12 5:35 
QuestionPlease, poke holes in my cryptographic function... [modified] PinmemberSixOfTheClock13-Sep-12 1:52 
QuestionWhat kind of checksum can this be? [modified] PinmemberGrooverFromHolland9-Sep-12 10:18 
AnswerRe: What kind of checksum can this be? PinmemberAlan N9-Sep-12 12:55 
GeneralRe: What kind of checksum can this be? PinmemberGrooverFromHolland9-Sep-12 23:15 
QuestionLinear Regression Most Efficient algorithm calc Line of Best Fit PinmemberA*****4-Sep-12 20:24 
AnswerRe: Linear Regression Most Efficient algorithm calc Line of Best Fit [modified] PinmemberPeter_in_27804-Sep-12 21:17 
QuestionRunning out of Memory - Maths Check PinmemberMike-MadBadger3-Sep-12 8:52 
AnswerRe: Running out of Memory - Maths Check [modified] PinmemberAndrei Straut3-Sep-12 10:03 
GeneralRe: Running out of Memory - Maths Check PinmemberMike-MadBadger3-Sep-12 11:11 
Pixel position, it's converted to a complex number which is then stuffed into the iterative equation and that results in a long (or short) list of complex numbers, Z0 to Zn, n could be anywhere from 0 to the limiting number - 10k in the example I gave, but could be much much lower (50) or much much higher.
 
The problem arises since the way I'm going through this 'rite of passage' (doing Mandelbrot images) is to try and create a pluggable set of classes that could be used to implement any fractal set (mandelbrot, julia, newton etc.) and use any of the many colourising methods (escape time, distance estimators etc.). Adding a new set (e.g. Burning Ship, Phoenix) or a new colourising method (e.g. escape angle) therefore simply entails creating a new class that does that specific job and implements the relevant interface.
 
The consequence of this is that the key class which manages and calls the FractalSet iterators and then calls the colouriser to get a colour for the complex number (pixel) under investigation has no way of knowing what data that colouriser needs, the classic escape time needs only the actual number of iterations, the distance estimators need things like the last 2 (or more) results of the iteration.
 
So the above question came from my first idea which was to store them all whilst the entire image was iterated pixel by pixel - bad idea!
 
I think my way of doing this will be to change the colouriser interface and have a method that takes the complete result set of results for a single iteration, processes it as appropriate (turning potentially thousands of complex numbers into something much smaller) and builds the data set it needs, plus a method to to manipulate them once all iterations have been completed and finally a method that spits out the image.
 
Thanks for the confirmation.
 
Mike
GeneralRe: Running out of Memory - Maths Check PinmemberAndrei Straut3-Sep-12 11:56 
GeneralRe: Running out of Memory - Maths Check PinmemberMike-MadBadger3-Sep-12 12:18 
GeneralRe: Running out of Memory - Maths Check Pinmemberharold aptroot3-Sep-12 22:54 
GeneralRe: Running out of Memory - Maths Check PinmemberMike-MadBadger4-Sep-12 1:26 
AnswerRe: News Page PinmemberMike-MadBadger3-Sep-12 22:12 
AnswerRe: Running out of Memory - Maths Check PinmemberYvesDaoust4-Sep-12 0:21 
GeneralRe: Running out of Memory - Maths Check PinmemberMike-MadBadger4-Sep-12 1:29 
AnswerRe: Running out of Memory - Maths Check PinmemberMember 91314964-Sep-12 2:56 
GeneralRe: Running out of Memory - Maths Check PinmemberMike-MadBadger4-Sep-12 10:29 
GeneralRe: Running out of Memory - Maths Check PinmemberMember 91314965-Sep-12 3:00 
SuggestionRe: Running out of Memory - Maths Check PinmemberJeremy David Thomson5-Sep-12 2:36 
GeneralRe: Running out of Memory - Maths Check PinmemberMike-MadBadger5-Sep-12 6:54 
AnswerRe: Running out of Memory - Maths Check PinmemberMember 31409626-Sep-12 21:36 
GeneralRe: Running out of Memory - Maths Check PinmemberStefan_Lang7-Sep-12 5:29 
AnswerRe: Running out of Memory - Maths Check PinmemberStefan_Lang7-Sep-12 5:49 
GeneralRe: Running out of Memory - Maths Check PinmemberMike-MadBadger7-Sep-12 22:23 
GeneralRe: Running out of Memory - Maths Check PinmemberStefan_Lang10-Sep-12 1:53 
GeneralRe: Running out of Memory - Maths Check PinmemberMike-MadBadger10-Sep-12 21:50 
GeneralRe: Running out of Memory - Maths Check PinmemberMike-MadBadger11-Sep-12 22:29 
GeneralRe: Running out of Memory - Maths Check PinmemberStefan_Lang11-Sep-12 23:46 
AnswerRe: Running out of Memory - Maths Check PinmemberEdward Giles26-Jun-13 20:35 
QuestionPDF417 generator and reader supports Arabic Pinmemberdinadido28-Aug-12 9:19 
AnswerCross post. PinmemberSoMad28-Aug-12 12:10 
QuestionA Modelling Question PinmemberRoger Wright21-Aug-12 14:01 
AnswerRe: A Modelling Question PinmemberPeter_in_278021-Aug-12 14:25 
GeneralRe: A Modelling Question PinmemberRoger Wright21-Aug-12 16:38 
GeneralRe: A Modelling Question PinmemberPeter_in_278021-Aug-12 17:08 
GeneralRe: A Modelling Question PinmemberRoger Wright21-Aug-12 17:51 
QuestionC# XNA 4 AI for path PinmemberTechXSoftware19-Aug-12 19:39 
AnswerRe: C# XNA 4 AI for path Pinmemberjk chan19-Aug-12 22:44 
GeneralRe: C# XNA 4 AI for path PinmemberTechXSoftware19-Aug-12 23:05 
GeneralRe: C# XNA 4 AI for path Pinmemberjk chan19-Aug-12 23:08 
GeneralRe: C# XNA 4 AI for path PinmemberArthur F Souza4-Sep-12 9:59 
QuestionExtract Circle Features From Image PinmemberKarl Sanford19-Jul-12 10:42 
AnswerRe: Extract Circle Features From Image PinmvpLuc Pattyn19-Jul-12 10:58 
GeneralRe: Extract Circle Features From Image PinmemberKarl Sanford19-Jul-12 11:06 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 13 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid