AXIOM Beta/AXIOM Beta Software
1 Misc Scripts
Display voltages and current flow:
ZED_5V 5.0781 V  +29.0625 mV [2e8] +968.75 mA BETA_5V 5.1172 V [20c0] +26.6016 mV [2a9] +886.72 mA HDN 3.2422 V [14c0] -0.0391 mV [fff] -1.30 mA PCIE_N_V 3.2422 V [14c0] -0.0391 mV [fff] -1.30 mA HDS 3.2422 V [14c0] +0.0000 mV  +0.00 mA PCIE_S_V 3.2422 V [14c0] -0.0391 mV [fff] -1.30 mA RFW_V 3.2812 V  +0.2734 mV  +9.11 mA IOW_V 3.2422 V [14c0] +0.0000 mV  +0.00 mA RFE_V 3.2812 V  +0.2344 mV  +7.81 mA IOE_V 3.2812 V  +0.0781 mV  +2.60 mA VCCO_35 2.5000 V  +0.6641 mV  +22.14 mA VCCO_13 2.4609 V [ fc0] +1.2500 mV  +41.67 mA PCIE_IO 2.4609 V [ fc0] -0.0391 mV [fff] -1.30 mA VCCO_34 2.4609 V [ fc0] +0.8203 mV  +27.34 mA W_VW 1.9922 V [ cc0] -0.0781 mV [ffe] -2.60 mA N_VW 3.1641 V  +0.0000 mV  +0.00 mA N_VN 1.8750 V [ c00] +15.4297 mV [18b] +514.32 mA N_VE 3.1641 V  +0.0000 mV  +0.00 mA E_VE 1.9922 V [ cc0] -0.0391 mV [fff] -1.30 mA S_VE 1.9531 V [ c80] +0.0000 mV  +0.00 mA S_VS 2.9297 V [12c0] +0.3906 mV [00a] +13.02 mA S_VW 1.9922 V [ cc0] -0.1562 mV [ffc] -5.21 mA
Read Temperature on Zynq:
ZYNQ Temp 49.9545 °C
2 Image Processing Nodes
A planned feature is to generate this FPGA code block with "dynamic reconfiguration" meaning that the actual debayering algorithm can be replaced at any time by loading a new FPGA binary block at run-time. This tries to simplify creating custom debayering algorithms with a script like programming language that can be translated to FPGA code and loaded into the FPGA dynamically for testing.
2.2 Peaking Proposal
Peaking marks high image frequency areas with colored dot overlays. These marked areas are typically the ones "in-focus" currently so this is a handy tool to see where the focus lies with screens that have lower resolution than the camera is capturing.
Handy Custom Parameters:
- frequency threshold
- there are sharper and softer lenses so the threshold depends on the glass currently used. For a sharp lens the peaking could show areas as "in-focus" if they actually aren't and for softer lenses the peaking might never show up at all because the threshold is never reached
2.3 Image Blow Up / Zoom Proposal
Digital zoom into the center area of the image to check focus.
As extra feature this zoomed area could be moved around the full sensor area.
This feature is also related to the "Look Around" where the viewfinder sees a larger image area than is being output to the clean-feed.
This re-sampling method to scale up/down an image in real-time can be of rather low quality (nearest neighbor/bilinear/etc.) as it is only for preview purposes.
scn_reg 28 0x00 # deactivate clipping scn_reg 28 0x10 # activate low clipping scn_reg 28 0x20 # activate high clipping scn_reg 28 0x30 # activate high+low clipping
4 Operating System
At this moment we were able to reuse an Arch Linux image for the Zedboard on the Microzed. To do so, some software such as the FSBL and uboot were added. More information can be found here: http://stefan.konink.de/contrib/apertus/ I will commit myself on the production of a screencast of the entire bootstrap proces from the Xilinx software to booting the MicroZed.
I would suggest running Arch Linux on the AXIOM Beta for development purposes. If we need to shrink it down that will be quite trivial. Obviously we can take the embedded approach from there, as long as we don't fall in the trap of libc implementations with broken threading.
Pattern noise correction: --rnfilter=1 : FIR filter for row noise correction from black columns --rnfilter=2 : FIR filter for row noise correction from black columns
and per-row median differences in green channels
--fixrn : Fix row noise by image filtering (slow, guesswork) --fixpn : Fix row and column noise (SLOW, guesswork) --fixrnt : Temporal row noise fix (use with static backgrounds; recommended) --fixpnt : Temporal row/column noise fix (use with static backgrounds) --no-blackcol-rn : Disable row noise correction from black columns
(they are still used to correct static offsets)
--no-blackcol-ff : Disable fixed frequency correction in black columns
Flat field correction: --dchp : Measure hot pixels to scale dark current frame --no-darkframe : Disable dark frame (if darkframe-xN.pgm is present) --no-dcnuframe : Disable dark current frame (if dcnuframe-xN.pgm is present) --no-gainframe : Disable gain frame (if gainframe-xN.pgm is present) --no-clipframe : Disable clip frame (if clipframe-xN.pgm is present) --no-blackcol : Disable black reference column subtraction
- enabled by default if a dark frame is used - reduces row noise and black level variations
--calc-darkframe : Average a dark frame from all input files --calc-dcnuframe : Fit a dark frame (constant offset) and a dark current frame
(exposure-dependent offset) from files with different exposures (starting point: 256 frames with exposures from 1 to 50 ms)
--calc-gainframe : Average a gain frame (aka flat field frame) --calc-clipframe : Average a clip (overexposed) frame --check-darkframe : Check image quality indicators on a dark frame
Debug options: --dump-regs : Dump sensor registers from metadata block (no output DNG) --fixpn-dbg-denoised: Pattern noise: show denoised image --fixpn-dbg-noise : Pattern noise: show noise image (original - denoised) --fixpn-dbg-mask : Pattern noise: show masked areas (edges and highlights) --fixpn-dbg-col : Pattern noise: debug columns (default: rows) --export-rownoise : Export row noise data to octave (rownoise_data.m) --get-pixel:%d,%d : Extract one pixel from all input files, at given coordinates,
and save it to pixel.csv, including metadata. Skips DNG output.
./raw2dng --fixrnt --pgm --black=120 frame%05d.dng
5 Tutorials / Guides / Research / Topics
Factory Calibration - Done