SDK - ImageJ support
Software release and Update
- SDK Fundamentals
- SDK Deep dive
- Extended features
- CAMAPI usage
- Tools and Software support
- Software release and Update
- Contact Us
This page is old in that the camera software v2.5.1 and newer support user selection of AVI file format in the web user interface. The imagej information is still useful.
ImageJ is an Open Source host based software suite that can be used to analyze videos, such as edgertronic video files. ImageJ can display, edit, analyze, process, save and print edgertronic video files. ImageJ supports "stacks", a series of images that share a single window. It is multithreaded, so time-consuming operations such as image file reading can be performed in parallel with other operations. ImageJ can analyze video frames with features such as calculating area and pixel value statistics of user-defined selections. ImageJ can measure distances and angles. It can create density histograms and line profile plots. It supports standard image processing functions such as contrast manipulation, sharpening, smoothing, edge detection and median filtering.
ImageJ supported file formats
Using ImageJ plug-ins, many video file formats are supported in addition to the build in support for AVI files.
At the time this wiki page was written, no ImageJ plug-in was found that could read the H.264/QT (H.264/MPEG) file format used by the edgertronic camera. If you figure it out, please let us know.
Creating AVI files
- Power down the camera.
- Save the pipelines_custom.txt file to the big SD card.
- Re-insert the big SD card into the camera and power up the camera.
- Browse to the camera and in settings modal, pick the Options tab.
- Set the Video Encoding parameter to Custom.
- Use the camera as normal. You will have AVI files generated instead of MOV files.
The edgertronic camera support user defined video encode pipelines. The pipelines_custom.txt file can be modified as described in pipeline support. The two parameters you may want to tune are preview during save and encode compression.
I have preview-during-save disabled so while it is saving, you will see an all black image in the live preview screen in the web browser. You can enable it by editing the pipelines_custom.txt file and setting preview_during_save=true.
You can adjust how much compression for each frame occurs by changing the qValue in the last line of the pipelines_custom.txt file. I have the quality set very high (95 out of a 100). My guess is 70 or 75 would give good results and would create much smaller files. In my one test case, the .avi file was 10 times the size of the .mov file.
Limitations and usage notes
- Review before save works as expected. You can see each frame in the web browser as you move the sliders.
- After the video is saved, you can download the AVI file with the download button in the web browser and play it with the VLC video player..
- The play video in browser doesn’t work since HTML5 doesn’t support AVI file format.
Software release and Update