Talk:Hough transform: Difference between revisions

 
(9 intermediate revisions by 3 users not shown)
Line 66:
 
::::::::::::: The TCL code, as written, actually runs ''θ''∈[0…4''π'' ), and I had a question about that below. (720/180 = 4) --[[User:Coderjoe|Coderjoe]] 09:11, 10 August 2010 (UTC)
 
:::::::::::::: Actually, it runs to 2''π''; it's proceeding by ''half'' degrees. If it was going twice round, it would have double the number of spots in the generated image. –[[User:Dkf|Donal Fellows]] 14:03, 12 August 2010 (UTC)
:::::::::::::: I was wrong. I just had a bug that was being hidden by the fact that I'd configured the size of the image first. Oops! :-) –[[User:Dkf|Donal Fellows]] 14:19, 12 August 2010 (UTC)
 
::::::::::::: I'd like to point out this paragraph from the page describing how to add a new programing task. [[Help:Adding_a_new_programming_task]] "The criteria you set should not be so tight as to be language-specific. After all, that defeats the founding point of Rosetta Code. However, the criteria should not be so vague as to have multiple interpretations. Removing code from the wiki would be the tragic result. Situations where the appropriateness of a programming example hinges on the interpretation of the tasks' criteria should be avoided as much as possible." [[User:Cferri|Chris Ferri]] 03:20, 12 August 2010 (UTC)
:::::::::::::: I wrote that. I've also learned a lot about creating tasks since then--to the point where I haven't tried doing it myself in a long time. I'll see about refining that later. --[[User:Short Circuit|Michael Mol]] 13:05, 12 August 2010 (UTC)
 
===Scaling?===
 
: The above pseudo-code has: <lang>and y axis is rho from -sqrt(width^2+height^2) to sqrt(width^2+height^2) in pixels.</lang> But is width and height the width and height of the png (like the J and Matlab implementations)? Or is it the width and height of the contained geometry (like the C and TCL implementations)? Or am I mis-interpreting those images? --[[User:Rdm|Rdm]] 12:50, 16 September 2010 (UTC)
::Those are the width and height in pixels of the image that is being transformed[[User:Cferri|Chris Ferri]] 18:33, 16 September 2010 (UTC)
 
==PNG Image==
Line 91 ⟶ 100:
: Being a type of transform, I suppose I'd try to use it as part of image fingerprinting. Just a rough idea, one could run the transform, find the median value M, max everything there and above M, drop everything below M, find center points and store their relative positions. (I'd probably go back and adjust M until I had a certain fixed number of center points, or as close to it as possible.) --[[User:Short Circuit|Michael Mol]] 18:22, 19 May 2010 (UTC)
I must be missing something. Is there a reason the tcl implementation (the only one at this time) is looping theta through two complete circles? --[[User:Coderjoe|Coderjoe]] 17:04, 22 July 2010 (UTC)
:Because it had a dumb bug. A think-o. –[[User:Dkf|Donal Fellows]] 14:20, 12 August 2010 (UTC)
 
== Semantic MediaWiki ==
I'm going(Moved to use[[Rosetta this task as a guinea pig for the newCode:Village Pump/Semantic MediaWiki/Semantics]] features. (--[[User:Short Circuit|Michael Mol]] 1018:0705, 2729 JulyAugust 2010 (UTC)))
 
I'm going to use this task as a guinea pig for the new Semantic MediaWiki features. --[[User:Short Circuit|Michael Mol]] 10:07, 27 July 2010 (UTC)
: Ok, so looking at it, I'm thinking:
* '''satisfies the Hough transform task'''' is a property of the Tcl code example. ''There should be a way to make this imply that it satisfies the Hough transform task, but I don't know what it is.''
* '''uses Tk''' is a property of the Tcl code example
* '''demonstrates (Tcl code example identifier)''' would be a property of the demonstration code.
* '''uses Tk''' is a property of the demonstration code. ''I'm sure there's a way to tie the library version range in there, but I don't know what it is.''
* '''uses TkImg''' is a property of the demonstration code
* '''uses (support image identifier)''' is a property of that support image
* '''supports the Hough transform task''' is a property of that support image
* '''explicitly requires the Hough transform''' is a property of the Hough Transform task
* '''example output of (demonstration code)''' is a property of that demonstration code's example
: Those are the properties I'm seeing. I could use some help figuring out how to apply them. --[[User:Short Circuit|Michael Mol]] 10:50, 27 July 2010 (UTC)
Anonymous user