Featured post
i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.
Computer Vision: Detecting Parabolas using the Hough Transform -
papers have been written describing how hough transform can generalised detect shapes circles , parabolas. i'm new computer vision though , find these papers pretty tough going. there code out there detection more want. wondering if briefly describe in bullet points or pseudo-code how hough transforms used detect parabolas in images. amazing. or if knows basic explanations online haven't come across enough :).
thanks :).
interesting question. looks great resource. included summary (loosely quoted). see source mathworks @ bottom of answer - matlab has houghlines
, houghpeaks
functions useful you. hope helps.
- run edge detection algorithm, such canny edge detector, on subject image
- input edge/boundary points hough transform (line detecting)
- generate curve in polar space (radius, angle) each point in cartesian space (also called accumulator array)
- extract local maxima accumulator array, example using relative threshold
- in other words, take local maxima in accumulator array values equal or greater fixed percentage of global maximum value.
- de-houghing cartesian space yields set of line descriptions of image subject
cs.jhu.edu: http://www.cs.jhu.edu/~misha/fall04/ght1.pdf
code mathworks: http://www.mathworks.com/help/toolbox/images/ref/hough.html
- Get link
- Other Apps
Popular posts from this blog
c# - Usage of Server Side Controls in MVC Frame work -
i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.
cocoa - Nesting arrays into NSDictionary object (Objective-C) -
i define tasks using nsdictionary, i'd save in plist file (i didn't have luck core data far), got stuck @ 2 points: -- when using initwithobjectsandkeys: can change data type number or boolean, using nsdate's numberwithint: , numberwithbool: methods, respectively. can't seem find method change type date though. couldn't find in documentation. -- second problem ran nested arrays. how can add them dictionary? i have uploaded picture here of trying achieve. thank in advance! do mean nsnumber 's +numberwithint: , +numberwithbool: methods, not nsdate ? it's nsnumber defines methods. to convert number date, depends on number is. if it's unix timestamp, [nsdate datewithtimeintervalsince1970:thetimestampinseconds] . as adding nsarray objects dictionary: [yourdictionary setobject:yourarray forkey:@"somekey"]; you'll have post code if need more question isn't clear.
ios - Very simple iPhone App crashes on UILabel settext -
i have simple application. have button , label in ib. have ibaction onclick calls settext on label. there's outlet label. connected in ib. crashes app first time in simulator. when launch again, sets text. crashes again next time. crashes on actual device. should simple, i'm not sure i'm doing wrong. thanks. in .h file : #import <uikit/uikit.h> @interface untitledviewcontroller : uiviewcontroller { iboutlet uilabel *label; iboutlet uibutton *button; } @property (nonatomic, retain) uilabel *label; -(ibaction) onclick1: (id) sender; @end and in .m: - (ibaction) onclick1: (id) sender { //[label settext:@"hello world!"]; label.text = @"hello world!"; //[button settitle:@"clicked" forstate:uicontrolstatenormal]; } sorry, i'm new site. how crash log , stack? thanks. edit : while answer technically correct, doesn't answer question @ :( sorry < warning - guess > if you're
Comments
Post a Comment