Vimba Viewer - save as > 8 bits/pixel 16-bit RAW instead of BMP
With the Vimba Viewer, you can save images as BMP. In order to save images as RAW data, carry out the following steps:
- In the Vimba Viewer, go to "File" -> "Save Options...".
- Set "format" to .bin (which is a RAW format).
- Configure "Name" and "Destination Path" accordingly.
- Set "Number of Images" to 1 or other values greater than 1.
- Click "save image".
You can open the .bin file with the ImageJ tool:
- Open "ImageJ" and click on: File -> Import -> Raw...
- Select your .bin file
- Set the image type to 16-bit Unsigned
- Set the width and height
- Ensure that the checkbox "Little-endian byte order" is active
- Click OK to open the image
Additional steps for color camera images:
You need a plugin for ImageJ to debayer the RAW data generated from a color camera. To do this, you can download a "Debayer Image" plugin** from:
Clicking the link above downloads the plugin as a zip file. To install it, unzip the file and place the contents in your ImageJ "plugins" directory.
The following describes the debayering process after you have opened the image in ImageJ (as explained in steps 1-6 above):
- In ImageJ GUI, click Plugins --> Compile and Run...
- Select Debayer_image.java or Debayer_image.class file. from the plugins directory.
- In the Debayer... window, select your debayering options. Most importantly, select a correct "Order of first row" depending upon what pixel format was used to generate the RAW data from your camera. For example, if you used the BayerRG12 pixel format, you need to select R-G-R-G as the "Order of the first row". Click OK.
- You will be returned a grayscale RGB stack for your RAW data.
- While selecting the newly generated RGB stack, click Image --> Color -->Stack to RGB.
- Finally, you have your color image.
For your reference:
See section PixelFormat in our GigE Features Reference document.
**This plug-in was downloaded from a webpage byJennifer West, University of Manitoba
Zurück zur Übersicht