From: Pawel K. <paw...@nx...> - 2008-10-15 14:02:31
|
Hi all, Present version of pv supports automatic detection of vector interpretation. There are two possible interpretations: two's complement (if bytes are signed), and binary offset, if values are calculated with respect to offset 128. The method used in present version of pv is based on statistics, and it is not always reliable. Therefore we are going to modify the processing of vector interpretation. Proposed modification consists in: 1. Disable auto-detection of the vector interpretation per frame and per component (function pfspd_Image::measure_pfspd_comp_two_comp) 2. Introduce user control from View menu: New menu item "Vector interpretation", with submenu items "Next vector interpretation", "Previous vector interpretation". Selecting one of them toggles between "Two's complement" and "Binary offset". Keys - "b" and "Shift b". The submenu items "Two's complement" and "Binary Offset" allow for direct selection. 3. Allow default value to be set in an init file and in command line by means of options "-binoffset" and "-2scomplement". Note - the vector interpretation selection is valid for all frames and components, unless changed by the user. Each new window starts with the default setting. Affected modules: cmdl_options.h format_convert.c frame.cc frame.h pfspd.cc pfspd.h settings.cc settings.h All comments and remarks are very much welcome Kind regards Pawel Kruszynski, Clemens Wust, Bram Rimens P. Kruszyński, Ph.D. NXP Semiconductors (founded by Philips) Corporate I&T/Research System & Algorithms High Tech Campus 32 room 1.38 5656 AE Eindhoven The Netherlands tel. +31(0)40-2725898 fax. +31402744639 gsm +31(0)629023208 |