Difference between revisions of "Visual Systems for Robots"

From RoboWiki
Jump to: navigation, search
m
Line 3: Line 3:
 
== Part 1: Training on input image mainpulation ==
 
== Part 1: Training on input image mainpulation ==
  
* download [[Media:pic1.jpg]] and [[Media:tr1.m]]
+
* ''download'' [[Media:pic1.jpg]] and [[Media:tr1.m]]
  
* start ImageJ
+
* ''start'' ImageJ
* open pic1.jpg
+
* ''open'' pic1.jpg
 
* Image / Color / <S>RGB Split</S> Split Channels
 
* Image / Color / <S>RGB Split</S> Split Channels
* apply Image / Lookup Tables / Red to pic1.jpg (red)
+
* ''apply'' Image / Lookup Tables / Red ''to'' pic1.jpg (red)
* apply Image / Lookup Tables / Green to pic1.jpg (green)
+
* ''apply'' Image / Lookup Tables / Green ''to'' pic1.jpg (green)
* apply Image / Lookup Tables / Blue to pic1.jpg (blue)
+
* ''apply'' Image / Lookup Tables / Blue ''to'' pic1.jpg (blue)
 
* close everything
 
* close everything
 
* open pic1.jpg
 
* open pic1.jpg

Revision as of 05:37, 6 July 2010

by RNDr. Andrej Lúčny, PhD. (MicroStep-MIS, Ltd., Slovakia) presented at the Robotic Summer School 2010

Part 1: Training on input image mainpulation

  • start ImageJ
  • open pic1.jpg
  • Image / Color / RGB Split Split Channels
  • apply Image / Lookup Tables / Red to pic1.jpg (red)
  • apply Image / Lookup Tables / Green to pic1.jpg (green)
  • apply Image / Lookup Tables / Blue to pic1.jpg (blue)
  • close everything
  • open pic1.jpg
  • apply Image / Type / 8bit to get gray image
  • apply Process / Binary / Make Binary to get binary image
  • start Octave or Matlab
  • change directory to directory with this training by cd
  • launch tr1