Tad, ну какой же Вы есть А. С. Пушкин писал(а): Читатель ждёт уж рифмы "роза"
На, вот, возьми её скорей! Коэффициент корреляции по Пирсону: 100% - одинаковые, 0% - совершенно разные, -100% - одинаковые с обращёнными цветами
Add(MainForm,12615490,70,63) { Name="form" Position=1 } Add(ODialog,2998835,112,119) { StartDir="Мои документыМои рисунки" link(onExecute,9120702:doLoad,[]) } Add(ODialog,11212615,322,119) { StartDir="Мои документыМои рисунки" link(onExecute,16213337:doLoad,[]) } Add(Image,12720702,196,119) { Left=5 Top=5 Width=180 Height=135 Color=12639424 } Add(Image,3881204,406,119) { Left=200 Top=5 Width=180 Height=135 Color=12639424 } Add(Button,569847,70,119) { Left=65 Top=150 Caption="Open" link(onClick,2998835:doExecute,[]) } Add(Button,1260619,280,119) { Left=255 Top=150 Caption="Open" link(onClick,11212615:doExecute,[]) } Add(Button,14869059,112,168) { Left=65 Top=200 Caption="Compare" link(onClick,8209910:doEvent1,[]) } Add(PictureStream,9120702,154,119) { link(onLoad,12720702:doLoad,[]) } Add(PictureStream,16213337,364,119) { link(onLoad,3881204:doLoad,[]) } Add(Resize,10831970,196,196) { Width=256 Height=256 link(onResult,3387299:doLoad,[]) link(Bitmap,15577640:Var2,[]) } Add(Resize,9213604,406,182) { Width=256 Height=256 link(onResult,3624391:doLoad,[]) link(Bitmap,9430569:Var2,[]) } Add(ToRGB,4245840,287,287) { link(onResult,14953827:doGetPixel,[]) } Add(Bitmap,3387299,245,196) { } Add(Img_GetPoint,13995015,245,287) { link(onGetPixel,4245840:doGetRGB,[]) link(Bitmap,3387299:Bitmap,[]) link(X,16645285:Var2,[]) link(Y,9071818:Var2,[]) } Add(ToRGB,6601163,490,287) { link(onResult,11701794:doOperation,[(534,293)(534,326)(275,326)(275,363)]) } Add(Bitmap,3624391,448,182) { } Add(Img_GetPoint,14953827,448,287) { link(onGetPixel,6601163:doGetRGB,[]) link(Bitmap,3624391:Bitmap,[]) link(X,16645285:Var3,[(461,271)]) link(Y,9071818:Var3,[(468,264)]) } Add(Hub,8209910,161,168) { OutCount=6 link(onEvent1,14841190:doStart,[]) link(onEvent2,8708328:doEvent1,[]) link(onEvent3,9213604:doResize,[]) link(onEvent4,8998805:doEvent1,[]) link(onEvent5,10831970:doResize,[]) link(onEvent6,3507623:doFor,[(187,209)(187,244)(107,244)(107,293)]) } Add(TimeCounter,14841190,665,168) { link(onStop,8013408:doString,[]) } Add(FormatStr,8013408,707,175) { Mask="Похожи на %1 процентов (за %2 мсек)" link(onFString,8957200:doText,[]) link(Str1,1618907:Result,[(713,163)(701,163)(701,633)(335,633)]) } Add(Label,8957200,749,175) { Left=145 Top=200 Caption="" } Add(For,3507623,119,287) { End=255 link(onEvent,3433992:doFor,[]) link(onStop,14103191:doEvent1,[(158,300)(158,338)(120,338)(120,559)]) } Add(For,3433992,196,287) { End=255 link(onEvent,13995015:doGetPixel,[]) } Add(GetDataEx,9071818,259,259) { Angle=3 link(Data,3507623:Position,[(166,264)(166,330)(125,330)]) } Add(GetDataEx,16645285,252,266) { Angle=3 link(Data,3433992:Position,[(238,271)(238,295)(202,295)]) } Add(Resize,8131619,315,189) { Width=1 Height=1 link(onResult,1077766:doLoad,[]) link(Bitmap,15577640:Var3,[(321,159)]) } Add(Bitmap,1077766,357,189) { } Add(ToRGB,2656951,399,231) { } Add(Hub,8998805,287,189) { link(onEvent1,8131619:doResize,[]) link(onEvent2,15181935:doGetPixel,[(309,202)(309,237)]) } Add(Img_GetPoint,15181935,357,231) { link(onGetPixel,2656951:doGetRGB,[]) link(Bitmap,1077766:Bitmap,[]) } Add(GetDataEx,15577640,196,154) { link(Data,12720702:ImageBitmap,[]) } Add(Resize,11126654,525,175) { Width=1 Height=1 link(onResult,11554177:doLoad,[]) link(Bitmap,9430569:Var3,[(531,159)]) } Add(Bitmap,11554177,567,175) { } Add(ToRGB,4899892,609,217) { } Add(Hub,8708328,497,175) { link(onEvent1,11126654:doResize,[]) link(onEvent2,1783920:doGetPixel,[(519,188)(519,223)]) } Add(Img_GetPoint,1783920,567,217) { link(onGetPixel,4899892:doGetRGB,[]) link(Bitmap,11554177:Bitmap,[]) } Add(GetDataEx,9430569,406,154) { link(Data,3881204:ImageBitmap,[]) } Add(Math,11701794,287,357) { OpType=1 ResultType=0 link(onResult,8234687:doOperation,[]) link(Op1,4245840:R,[]) link(Op2,2656951:R,[(300,339)(405,339)]) } Add(Math,8234687,329,357) { OpType=1 ResultType=0 link(onResult,12257959:doOperation,[]) link(Op1,4245840:G,[(335,333)(300,333)]) link(Op2,2656951:G,[(342,344)(412,344)]) } Add(Math,12257959,371,357) { OpType=1 ResultType=0 link(onResult,16308819:doOperation,[]) link(Op1,4245840:B,[(377,328)(307,328)]) link(Op2,2656951:B,[(384,348)(419,348)]) } Add(Math,16308819,490,357) { OpType=1 ResultType=0 link(onResult,443745:doOperation,[]) link(Op1,6601163:R,[]) link(Op2,4899892:R,[(503,340)(615,340)]) } Add(Math,443745,532,357) { OpType=1 ResultType=0 link(onResult,16088105:doOperation,[]) link(Op1,6601163:G,[(538,334)(503,334)]) link(Op2,4899892:G,[(545,346)(622,346)]) } Add(Math,16088105,574,357) { OpType=1 ResultType=0 link(onResult,3622494:doOperation,[(618,363)(618,393)(129,393)(129,454)]) link(Op1,6601163:B,[(580,328)(510,328)]) link(Op2,4899892:B,[(587,351)(629,351)]) } Add(Math,5028777,287,448) { OpType=11 Op2=2 ResultType=0 link(onResult,8760589:doOperation,[]) link(Op1,10661857:Var2,[]) } Add(Math,8760589,329,448) { OpType=11 Op2=2 ResultType=0 link(onResult,1800049:doOperation,[]) link(Op1,5560861:Var2,[]) } Add(Math,1800049,371,448) { OpType=11 Op2=2 ResultType=0 link(onResult,892074:doOperation,[]) link(Op1,10528755:Var2,[]) } Add(Math,892074,490,448) { OpType=11 Op2=2 ResultType=0 link(onResult,6905114:doOperation,[]) link(Op1,8491381:Var2,[]) } Add(Math,6905114,532,448) { OpType=11 Op2=2 ResultType=0 link(onResult,3968754:doOperation,[]) link(Op1,14072123:Var2,[]) } Add(Math,3968754,574,448) { OpType=11 Op2=2 ResultType=0 link(onResult,5455432:doOperation,[(618,454)(618,482)(128,482)(128,510)]) link(Op1,13877568:Var2,[]) } Add(Math,3622494,140,448) { OpType=2 ResultType=0 link(onResult,1401468:doOperation,[]) link(Op1,10661857:Var1,[(146,397)]) link(Op2,8491381:Var1,[(153,404)]) } Add(Math,1401468,182,448) { OpType=2 ResultType=0 link(onResult,303655:doOperation,[]) link(Op1,5560861:Var1,[(188,411)]) link(Op2,14072123:Var1,[(195,418)]) } Add(Math,303655,224,448) { OpType=2 ResultType=0 link(onResult,5028777:doOperation,[]) link(Op1,10528755:Var1,[(230,425)]) link(Op2,13877568:Var1,[(237,432)]) } Add(GetDataEx,10661857,287,392) { link(Data,11701794:Result,[]) } Add(GetDataEx,8491381,490,399) { link(Data,16308819:Result,[]) } Add(GetDataEx,5560861,329,406) { link(Data,8234687:Result,[]) } Add(GetDataEx,14072123,532,413) { link(Data,443745:Result,[]) } Add(GetDataEx,10528755,371,420) { link(Data,12257959:Result,[]) } Add(GetDataEx,13877568,574,427) { link(Data,16088105:Result,[]) } Add(Math,5455432,140,504) { ResultType=0 link(onResult,11319297:doOperation,[]) link(Op1,3622494:Result,[]) link(Op2,1401468:Result,[(153,487)(188,487)]) } Add(Math,11319297,182,504) { ResultType=0 link(onResult,12882821:doOperation,[]) link(Op1,303655:Result,[(188,492)(230,492)]) } Add(Math,12882821,224,504) { ResultType=0 Point(doClear) link(onResult,11252729:doOperation,[]) link(Op2,7712590:Var3,[(237,492)(261,492)(261,542)]) } Add(Math,11252729,287,504) { ResultType=0 link(onResult,8406888:doOperation,[]) link(Op1,5028777:Result,[]) link(Op2,8760589:Result,[(300,486)(335,486)]) } Add(Math,8406888,329,504) { ResultType=0 link(onResult,6844212:doOperation,[]) link(Op1,1800049:Result,[(335,492)(377,492)]) } Add(Math,6844212,371,504) { ResultType=0 Point(doClear) link(onResult,4466536:doOperation,[]) link(Op2,3875614:Var3,[(384,492)(411,492)(411,542)]) } Add(Math,4466536,490,504) { ResultType=0 link(onResult,2901613:doOperation,[]) link(Op1,892074:Result,[]) link(Op2,6905114:Result,[(503,488)(538,488)]) } Add(Math,2901613,532,504) { ResultType=0 link(onResult,167833:doOperation,[]) link(Op1,3968754:Result,[(538,492)(580,492)]) } Add(Math,167833,574,504) { ResultType=0 Point(doClear) link(Op2,8807426:Var3,[(587,492)(612,492)(612,549)]) } Add(MathParse,1618907,329,588) { DataCount=3 MathStr="(%1/sqrt(%2)/sqrt(%3))*100" ResultType=0 link(onResult,14841190:doStop,[(645,594)(645,181)]) link(X1,7712590:Var2,[(335,550)(230,550)]) link(X2,3875614:Var2,[(342,550)(377,550)]) link(X3,8807426:Var2,[(349,557)(580,557)]) } Add(GetDataEx,3875614,371,537) { link(Data,6844212:Result,[]) } Add(GetDataEx,8807426,574,544) { link(Data,167833:Result,[]) } Add(Hub,14103191,140,553) { OutCount=4 link(onEvent1,1618907:doCalc,[(242,559)(242,594)]) link(onEvent2,12882821:doClear,[(219,566)(219,517)]) link(onEvent3,6844212:doClear,[(366,573)(366,517)]) link(onEvent4,167833:doClear,[(569,580)(569,517)]) } Add(GetDataEx,7712590,224,537) { link(Data,12882821:Result,[]) }
|