人体の骨格を表示する.png画像があります。私の質問は、画像内の手、足、頭などの骨格の異なる部分を選択する方法です。その選択されたパーツに関する情報を表示する別のビューに移動します。画像の異なる部分を選択する方法
0
A
答えて
0
私はあなたがmap
タグに関心を持っていると信じて:
http://www.elated.com/articles/creating-image-maps/
この第二の1は、そのようあなたがJavaScriptにマップの領域をリンクする方法を示しています。ここでは
http://www.htmlcodetutorial.com/images/images_famsupp_220.html
は別のチュートリアルですページ上に情報を動的に表示することができます。
0
私はおそらくUIImageViewをサブクラス化し、上書きしたいtouchesEnded:withEvent:
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
// ignore if more than one finger
if ([touches count] != 1) {
[self.nextResponder touchesEnded:touches withEvent:event];
return;
}
UITouch *touch = [touches anyObject]; // there's only one object in the set
// ignore unless the user lifted the finger off the screen
if (touch.phase != UITouchPhaseEnded) {
[self.nextResponder touchesEnded:touches withEvent:event];
return;
}
// ignore if double-touch or more
if ([touch tapCount] != 1) {
[self.nextResponder touchesEnded:touches withEvent:event];
return;
}
CGPoint locationOfTouch = [touch locationInView:self];
// TODO: use locationOfTouch.x and locationOfTouch.y to determine which part has been selected
}
関連する問題
- 1. pythonで画像からランダムな部分を選択する方法
- 2. 画像部分の点を色の重みで選択する
- 3. C#で画像の一部を選択する方法は?
- 4. HTMLページの選択部分を印刷する方法は?
- 5. Drupal 6の画像ノードの画像部分を参照する方法
- 6. Facebook Likeボタン:表示する画像を選択する方法
- 7. 画像のタッチ部分ビットマップを取得する方法は?
- 8. Seleniumで画像のクロッピング(選択)をテストする方法は?
- 9. クロッピング中に画像の一部を選択する
- 10. 画像を選択してアバターを設定する方法
- 11. 画像をリストビューに選択する方法をシングルに設定する方法
- 12. iPhone/iPadで画像にテキストを選択する方法
- 13. ブートストラップに画像アイコンを追加する方法選択肢
- 14. .jpgで画像を選択する方法
- 15. 選択されたsegmentIndexに応じて.plistの異なる部分を読む
- 16. 画像の特定の部分を取得する(画像)
- 17. jqueryでウェブページの画像を選択/選択解除する
- 18. CListCtrlで異なるサイズの画像を表示する方法
- 19. jQueryの選択と非選択画像
- 20. 時間部分を選択
- 21. javascriptで画像を選択する
- 22. シンプルなフォーム - 選択収集と三つの部分(のような三つの異なるフィルタ:product_1、product_2、product_3)に分けた製品を表示する方法
- 23. 異なるレコードを選択
- 24. アンドロイドの選択領域で画像をぼかす方法は?
- 25. 透明部分のない画像マスク
- 26. 異なる寸法の異なる画像
- 27. Python:opencvを使用して境界線の間の画像の一部を選択する方法
- 28. CouchDBデータベースの私的部分と共有部分を選択的に複製する方法は?
- 29. jquery:異なる選択肢で異なる出力を持つ選択ボックス
- 30. 異なる画像のリストビュー