MATLAB IMAGE ACQUISITION TOOLBOX 3 Reference

Text of MATLAB IMAGE ACQUISITION TOOLBOX 3 Reference

How to Contact The MathWorks

www.mathworks.com Web comp.soft-sys.matlab Newsgroup www.mathworks.com/contact_TS.html Technical Support [email protected] Product enhancement suggestions [email protected] Bug reports [email protected] Documentation error reports [email protected] Order status, license renewals, passcodes [email protected] Sales, pricing, and general information 508-647-7000 (Phone) 508-647-7001 (Fax) The MathWorks, Inc. 3 Apple Hill

New for Version 1.0 (Release 14)

October 2004 Online only Version 1.1 (Release 14SP1) March 2005 Online only Version 1.2 (Release 14SP2) September 2005 Online only Version 1.3 (Release 14SP3) October 2005 Second printing Version 1.3 March 2006 Online only Version 1.4 (R2006a) September 2006 Online only Version 1.5 (R2006b) March 2007 Online only Version 2.0 (R2007a) September 2007 Online only Revised for Version 2.

fi Object Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-2 bin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 dec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 double . . . . . . . . . . . . . . . . . . . . .

MATLAB IMAGE ACQUISITION TOOLBOX 3 LoggingMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-12 NumericTypeDisplay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13 NumberDisplay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13 numerictype Object Properties . . . . . . . . . . . . . . . . . . . . . 1-15 Bias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15 DataType . . . . . .

Element-Wise Logical Operators . . . . . . . . . . . . . . . . . . . .

2-8 Math Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9 Matrix Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11 Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13 Radix Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16 Relational Operat

• “fi Object Properties” on page 1-2

• “fimath Object Properties” on page 1-4 • “fipref Object Properties” on page 1-12 • “numerictype Object Properties” on page 1-15 • “quantizer Object Properties” on page 1-20

1 Property Reference

fi Object Properties The properties associated with fi objects are described in the following sections in alphabetical order. Note The fimath properties and numerictype properties are also properties of the fi object. Refer to “fimath Object Properties” on page 1-4 and “numerictype Object Properties” on page 1-15 for more information. bin Stored integer value of a fi object in binary. data Numerical real-world value of a fi obj

fi Object Properties

MaxSumWordLength: 128 To learn more about fimath objects and the global fimath, refer to “Working with fimath Objects”. For more information about each of the fimath object properties, refer to “fimath Object Properties” on page 1-4. hex Stored integer value of a fi object in hexadecimal. int Stored integer value of a fi object, stored in a built-in MATLAB integer data type. You can also use int8, int16, int32, int64, uint8, ui
1 Property Reference fimath Object Properties The properties associated with fimath objects are described in the following sections in alphabetical order. CastBeforeSum Whether both operands are cast to the sum data type before addition. Possible values of this property are 1 (cast before sum) and 0 (do not cast before sum). The MATLAB factory default value of this property is 1 (true). This property is hidden when the SumMode is set to FullPrecision. MaxP

fimath Object Properties

ProductBias Bias of the product data type. This value can be any floating-point number. The product data type defines the data type of the result of a multiplication of two fi objects. The MATLAB factory default value of this property is 0. ProductFixedExponent Fixed exponent of the product data type. This value can be any positive or negative integer. The product data type defines the data type of the result of a multiplication of
1 Property Reference • FullPrecision — The full precision of the result is kept. An error is generated if the calculated word length is greater than MaxProductWordLength. W W W F F F p a b p a b = + = + • KeepLSB — Keep least significant bits. You specify the product data type word length, while the fraction length is set to maintain the least significant bits of the product. In this mode, full precision is kept, but overflow is possible. This beha
fimath Object Properties [Slope Bias] math is only defined for products when ProductMode is set to SpecifyPrecision. The MATLAB factory default value of this property is FullPrecision. ProductSlope Slope of the product data type. This value can be any floating-point number. The product data type defines the data type of the result of a multiplication of two fi objects. ProductSlope ProductSlopeAdjustmentFactor ProductFixedExp = × 2 onent . Changing one of
1 Property Reference RoundMode The rounding mode. The value of the RoundMode property can be one of the following strings: • ceil — Round toward positive infinity. • convergent — Round toward nearest. Ties round to the nearest even stored integer. This is the least biased rounding method provided by Fixed-Point Toolbox software. • fix — Round toward zero. • floor — Round toward negative infinity. • nearest — Round toward nearest. Ties r

MATLAB Other Owners Instructions: