Skip to main content

2012 | OriginalPaper | Buchkapitel

Intelligent Image Processing Using Prolog

verfasst von : Dr. Bruce G. Batchelor

Erschienen in: Machine Vision Handbook

Verlag: Springer London

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Some potential applications of Machine Vision, particularly those involving highly variable objects (Chap.​ 2), require greater reasoning power than standard image processing languages can provide. This chapter is based on the premise that an intelligent vision system can be made, by the simple expedient of embedding image manipulation and measurement routines, such as those provided by QT (Chap.​ 21), within the Artificial Intelligence language Prolog. The great strength of Prolog is its ability to perform symbolic reasoning. It is a declarative language. That is, it operates by searching automatically for a solution to a problem, given a description of (part of) the world. The user specifies the desired characteristics that a solution must have. Prolog's search engine then hunts for the specific conditions that must exist to obtain a solution. If the user chooses, or programs Prolog appropriately, it will search for multiple solutions. Unlike a conventional imperative language, Prolog does not have any instructions. Instead, it accepts, a series of statements that are then tested individually for their veracity. It does not possess any of the usual flow-control tools, such as IF ... THEN, FOR, WHILE, CASE, etc. Instead, it relies on back-tracking and recursion. The former allows temporary assumptions that have been made while searching for a solution to be revised before continuing the search. A software interface interconnecting QT with a modern implementation of Prolog (SWI-Prolog) was designed. The result, called PQT, allows image processing operations to be invoked procedurally within a Prolog program, or executed interactively, as in QT. Image measurement values can be used to define temporary values for (i.e. instantiate) Prolog variables. Using PQT, it is possible to define general spatial relationships (left, above, concentric, parallel, etc.), geometric features (T, X, U, V), shape characteristics (round, curved, elongated), colour and texture (yellow, smooth, spotty). These would be much more difficult to define and use in a standard programming language. PQT can also be used effectively to control external peripheral devices but not in real time. PQT inherits Prolog's limited ability to analyse and extract meaning from natural language sentences, such as spoken commands. While PQT was designed to perform vision-based tasks, such as inspecting food products, it is also capable of the high-level reasoning needed to incorporate them into a well-balanced meal.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat Gazdar G, Mellish C (1989) Natural language processing in prolog. Addison-Wesley, Wokingham Gazdar G, Mellish C (1989) Natural language processing in prolog. Addison-Wesley, Wokingham
3.
4.
Zurück zum Zitat Sterling L, Shapiro E (1994) The art of prolog, second edition: advanced programming techniques (logic programming). MIT Press, Cambridge. ISBN ISBN0-262-19338-8 Sterling L, Shapiro E (1994) The art of prolog, second edition: advanced programming techniques (logic programming). MIT Press, Cambridge. ISBN ISBN0-262-19338-8
5.
Zurück zum Zitat Spenser C (ed) (1995) Prolog for industry Proceedings of the LPA Prolog Day RSA, Logic Programming Associates, London, ISBN 1 899754 00 8 Spenser C (ed) (1995) Prolog for industry Proceedings of the LPA Prolog Day RSA, Logic Programming Associates, London, ISBN 1 899754 00 8
6.
Zurück zum Zitat Bratko I (2000) Prolog programming for artificial intelligence. Addison-Wesley, Wokingham Bratko I (2000) Prolog programming for artificial intelligence. Addison-Wesley, Wokingham
7.
Zurück zum Zitat Clocksin WF, Mellish CS (2003) Programing in Prolog: using the ISO standard. Springer, BerlinCrossRef Clocksin WF, Mellish CS (2003) Programing in Prolog: using the ISO standard. Springer, BerlinCrossRef
9.
Zurück zum Zitat Batchelor BG (Apr 1979) Interactive image analysis as a prototyping tool for industrial inspection. Proc IEE Comput Digit Tech 2(2):61–69, Part EMathSciNetCrossRef Batchelor BG (Apr 1979) Interactive image analysis as a prototyping tool for industrial inspection. Proc IEE Comput Digit Tech 2(2):61–69, Part EMathSciNetCrossRef
10.
Zurück zum Zitat Lighting-viewing methods, this book, Chapters 8 and 40 Lighting-viewing methods, this book, Chapters 8 and 40
11.
Zurück zum Zitat Mott DH (Oct 1985) Prolog-based image processing using Viking XA. In: Zimmerman N (ed) Proceedings of the international conference on robot vision & sensory controls. IFS, Amsterdam, pp 335–350. ISBN 0-903608-96-0 Mott DH (Oct 1985) Prolog-based image processing using Viking XA. In: Zimmerman N (ed) Proceedings of the international conference on robot vision & sensory controls. IFS, Amsterdam, pp 335–350. ISBN 0-903608-96-0
12.
Zurück zum Zitat Bell B, Pau LF (1992) Context knowledge and search control issues in object-oriented prolog-based image understanding. Pattern Recognit Lett 13(4):279–290CrossRef Bell B, Pau LF (1992) Context knowledge and search control issues in object-oriented prolog-based image understanding. Pattern Recognit Lett 13(4):279–290CrossRef
13.
Zurück zum Zitat Caton SJ (2010) Networked vision systems. Ph.D. thesis, School of Computer Science, Cardiff University, Cardiff, Wales, UK Caton SJ (2010) Networked vision systems. Ph.D. thesis, School of Computer Science, Cardiff University, Cardiff, Wales, UK
16.
Zurück zum Zitat Bell B, Pau LF (Sept 1990) Contour tracking and corner detection in a logic programming environment. PAMI 12(9):913–917CrossRef Bell B, Pau LF (Sept 1990) Contour tracking and corner detection in a logic programming environment. PAMI 12(9):913–917CrossRef
Metadaten
Titel
Intelligent Image Processing Using Prolog
verfasst von
Dr. Bruce G. Batchelor
Copyright-Jahr
2012
Verlag
Springer London
DOI
https://doi.org/10.1007/978-1-84996-169-1_23

Neuer Inhalt