<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Подсчёт картинок в регионе]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6622&amp;type=atom" />
	<updated>2011-12-30T11:06:43Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6622</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсчёт картинок в регионе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=55172#p55172" />
			<content type="html"><![CDATA[<p>creature.ws я обнаружил, что изображения не совсем в случайном порядке появляются и найдя закономерность ушёл от решения вопроса темы.</p>]]></content>
			<author>
				<name><![CDATA[Pokerist]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24990</uri>
			</author>
			<updated>2011-12-30T11:06:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=55172#p55172</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсчёт картинок в регионе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=55157#p55157" />
			<content type="html"><![CDATA[<p>Я вчера попробовал, но не довёл до ума. Программа почему-то вообще перестала находить нужный фрагмент, а разобраться некогда.<br />Алгоритм простой: как только найдено совпадение, в X1 и Y1 подставляются значения OutputVarX+&amp;#916;X, OutputVarY+&amp;#916;Y *, поиск запускается заново. Всё это дело заключаем в цикл, который прекращается, если совпадений не найдено (по ErrorLevel).</p><p>* Здесь &amp;#916;X и &amp;#916;Y - интервал в пикселях, который нужно отступить, чтобы не найти второй раз одну и ту же картинку. Возможно, это будут размеры искомого фрагмента, а может единичка сойдёт.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2011-12-30T06:29:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=55157#p55157</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсчёт картинок в регионе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=55155#p55155" />
			<content type="html"><![CDATA[<p>Да ладно <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Алгоритм поиска и подсчёта на изображении со статичным backgroundom однотипных элементов — интересен.</p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2011-12-30T04:59:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=55155#p55155</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсчёт картинок в регионе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=55153#p55153" />
			<content type="html"><![CDATA[<p>Решил другим способом. Вопрос снят.</p>]]></content>
			<author>
				<name><![CDATA[Pokerist]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24990</uri>
			</author>
			<updated>2011-12-30T02:14:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=55153#p55153</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсчёт картинок в регионе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=55123#p55123" />
			<content type="html"><![CDATA[<p>Думал, попробовать делить регион на части равные картинке и проверять каждую отдельно,&nbsp; но подозреваю, что картинки попавшие на границы иногда могут засчитываться и в одну и в другую ячейку. </p><p>&nbsp; Может есть какие-то известные способы решения проблемы?</p>]]></content>
			<author>
				<name><![CDATA[Pokerist]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24990</uri>
			</author>
			<updated>2011-12-29T13:33:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=55123#p55123</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсчёт картинок в регионе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=55119#p55119" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>Pokerist</strong>, исправься.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-12-29T12:59:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=55119#p55119</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Подсчёт картинок в регионе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=55118#p55118" />
			<content type="html"><![CDATA[<p>Имеется небольшой регион в котором каждый раз произвольно появляются похожие между собой картинки.<br /><span class="postimg"><img src="http://s002.radikal.ru/i198/1112/c0/fc0c3d7e6c89.jpg" alt="http://s002.radikal.ru/i198/1112/c0/fc0c3d7e6c89.jpg" /></span></p><br /><p>&nbsp; Нужно подсчитать их колличество.</p><p> Для обнаружения использую <br /></p><div class="codebox"><pre><code>ImageSearch, OutputVarX, OutputVarY, 446, 566, 930, 663, *90 D:\путь\p.jpg</code></pre></div><p>Первая находится хорошо. А как дальше реализовать поиск и подсчёт не могу сообразить. <img src="//forum.script-coding.com/img/smilies/hmm.png" width="15" height="15" /> </p><p> Помогите, пожалуйста!</p>]]></content>
			<author>
				<name><![CDATA[Pokerist]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24990</uri>
			</author>
			<updated>2011-12-29T12:57:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=55118#p55118</id>
		</entry>
</feed>
