| ||||||||||||||
| ||||||||||||||
|
||||||||||||||
Creating Your Own Vision Command RegionsVision Command is an excellent product (see the Generation5 review) but it only gives you 20 present regions to work with. What happens if you want to create your own? It is relatively simple to make create custom regions, but it is a tedious process if you want to do it correctly, so settle down.
Creating the Basic Region MapRegions are stored in this default directory:...\Vision Command\data\hdData\VCSData\RegionsThis directory has 20 directories labelled 01 to 20 which correspond to the regions in Vision Command. To add your own, create a directory called "21". Tip: If you want to base your custom region on an existing region, then just copy the directory and rename it - it will save a lot of time.
Region 1: 255,0,0 Region 2: 0,255,0 Region 3: 0,0,255 Region 4: 255,0,255 Region 5: 255,255,0 Region 6: 255,115,0 Region 7: 180,0,255 Region 8: 0,255,255Region files do not have to have all 8 regions, you can mix and match as you wish. Once you have created your region file in your new directory as "XX.bmp" you now have to create all the other files that are displayed and overlayed in VC itself.
Finishing the ProductAll the other work that has to be done is making sure it all looks nice in the Vision Command interface. The directories have the following additional files:00.bmp to 0X.bmp : These are the region icons. (80x60) 00.rle to 0X.rle : These are the overlayed images. (320x240)X stands for the number of regions in your image. So you can see for a 8 region setup, you have 19 files!
Region Icons
Overlay ImagesThe overlay images are the simple files that are overlayed on the live camera. These are RLE files - which can be saved as bitmaps and renamed with the *.rle format. They are the same as the icon images: 0X.rle is the overlay image that is displayed when that region is triggered, and 00.rle is the Autopilot image. My Autopilot overlay image looks like this:
ConclusionIt is very easy but very tedious to create your own regions for VC. Nevertheless, being able to do this expands your image recognition possibilities a lot more. A few tips and ideas before finishing:
Submitted: 17/02/2001 Article content copyright © James Matthews, 2001.
|
|
|||||||||||||
All content copyright © 1998-2007, Generation5 unless otherwise noted.
- Privacy Policy - Legal - Terms of Use -