Errata
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version | Location | Description | Submitted By |
|---|---|---|---|
| Printed | Page XIII Line 10 |
"Shows text that should be replaced with user-supplied values. his icon |
Anonymous |
| Printed | Page xiii 10th line |
Next to the footprint icon, the text reads "Shows test that should be replaced with user-supplied values. his icon signifies a tip, suggestion, or general note." I believe the first sentence is an erroneous copy-paste of the text before and should be erased. Moreover, the first letter of the word "This" has been omitted in the second sentence. |
Anonymous |
| Printed | Page x 6th paragraph. Who this book is for: teachers |
3rd line of Teachers it says: |
Anonymous |
| Printed | Page xiv the last paragraph |
"in Napa's Mt. Vieder area" should be "in Napa's Mt. Veeder area". |
Shiqi Yu |
| Safari Books Online | preface In section "P.5. Conventions Used in This Book" |
http://proquest.safaribooksonline.com/9780596516130/preface |
Anonymous |
| Page 10 Paragraph 'MacOS X' |
it should read |
Anonymous | |
| Printed | Page 11 2nd paragraph |
"All the program examples in this book are based on OpenCV version 2.0." should be "... version 1.0." |
Anonymous |
| Printed | Page 20 Code, 2/3rd way down |
The comment in the code : |
Anonymous |
| Printed | Page 20 Example 2-3 |
|
Justin L. |
| Printed | Page 22 Example 2-4 |
missing curly bracket |
Christian Schwarte |
| Printed | Page 22 listing 2-4, line 7 |
(using Linux) |
Anonymous |
| Printed | Page 23 15th line |
(using Linux) example 2_4 only worked with g++, not gcc |
Christian Schwarte |
| Printed | Page 24 Example 2-5 |
In Example 2-5, third to the last line |
Jitao David Zhang |
| Printed | Page 25 Example 2-6 code section |
The code: |
Anonymous |
| Printed | Page 25 Example 2-6, Line 11, Example 2-7 |
Two comments: |
Jonathan Suppe |
| Printed | Page 29 3rd paragraph |
4th line |
Anonymous |
| Printed | Page 29 3rd para |
I think 5th sentence should start as Cxcore contains ... and not Cvcore contains ... |
Andrew M. Neiderer |
| Printed | Page 33 between 2nd and 3rd paragraphs |
cvMat* should be CvMat* |
Anonymous |
| Page 37 1st paragraph |
It seems that the authors of the book have written the book using LaTex. Kindly replace the following quotation remarks “ and ” by ". This will save the users from having to modify the code in order to compile it. |
Ashish | |
| Printed | Page 40 Example 3-9 |
The example seems to be for a single-channel matrix, instead of a three-channel matrix. |
Anonymous |
| Printed | Page 49,50 |
Function definitions for absolute value functions should be |
Anonymous |
| Printed | Page 54 C definition of cvCalcCovarMatrix |
Instead of |
Anonymous |
| Printed | Page 54 line 5 |
In the prototype, function cvCalcCovarMatrix() is erroneously called cvAdd() |
MP |
| Printed | Page 56 4 |
Paragraph 4 is in direct contradiction with paragraph 5. |
Chris Colbert |
| Printed | Page 62 Table 3-7 |
Macro aliases for common usage of cvGEMM() should be |
Anonymous |
| Printed | Page 62 Table 3-7 |
cvGEMM(A,A,1,NULL,0,D,0) should read cvGEMM(A,B,1,NULL,0,D,0) |
Anonymous |
| Printed | Page 64 1st paragraph after the function declarations |
The line "As with cvGetRow() ... indicates the selected column in arr." appears to have a pair of cut-n-paste typos. The line should read "As with cvGetCol() ... indicates the selected row in arr." |
Scott A Thisse |
| Printed | Page 65 1 section |
It's stated that cvGetSubRect(...) takes as it's second argument a CvArr* submat, where as it only takes CvMat * |
Anonymous |
| Printed | Page 69 Line 11 |
" |
Shiqi Yu |
| Printed | Page 74 |
"The closely related function cvSubS() does the same thing except that the constant scalar value is added to every element of src." |
Anonymous |
| Printed | Page 74 2nd paragraph |
cvSub has been explained twice in subsection "cvSub" and "cvSub, cvSubS and cvSubRS" |
Shiqi Yu |
| Printed | Page 75 Line 13 |
"Singular value decomposition (SVD) is the decomposing of an m-by-m ..." |
Shiqi Yu |
| Printed | Page 79 2nd Line |
"The function CvSize is ..." should be "The structure CvSize is ...". |
Scott A Thisse |
| Printed | Page 79 Bottom |
In the section on Polygons the functions cvFillPoly and cvPolyLine take a parameter contours. The meaning and/or use of this parameter isn't discussed in the text. |
Tim Craig |
| Printed | Page 87 Example 3-20 |
(original) |
Aaron Becker |
| Printed | Page 98 draw_box function |
The above function takes two parameters as input, the second one being a CvRect struct which specifies the rectangle to draw. However, in the function itself the call to cvRectangle references box and makes no reference to rect. I think all of the references to box in this function should be references to rect. |
John McDonald |
| Page 98 line 8 |
The source code contains "cvScalar(0xff,0x00,0x00) /* red */". |
Anonymous | |
| Page 98 line 2 |
The method draw_box does not use the "rect" parameter. The box references should probably change into rect references. |
Anonymous | |
| Printed | Page 103 2nd paragraph |
"...you can pass -1 to cvCreateCameraCapture(), which will cause OpenCV to open a window that allows you to select the desired camera." |
Anonymous |
| Printed | Page 110 Table 5-1 |
The brief description of the bilateral filter claims that the filter will: |
Robbie Shade |
| Printed | Page 116-117 Figures 5-6 and 5-7 |
Something is amiss with these two figures. My guess: |
Scott A Thisse |
| Printed | Page 116 Figure 5-6 |
In Figure 5-6 both Image A and A-morph-B are the same. Image A should be the lightly dotted interior figure in Image A-morph-B. |
Chris Colbert |
| Printed | Page 131 1/3 and 1/2 down the page |
The function prototypes for cvPyrDown and cvPyrUp list the third parameter, filter, as type IplFilter which as near as I can determine isn't defined. The actual prototypes in the software I have they are type 'int'. |
Tim Craig |
| Printed | Page 136 Table 5-5 |
In table 5-5, the Operation for the threshold type CV_THRESH_TRUNC has a mistake (probably typo?), uses M instead of T, it should read: |
jstahl |
| Printed | Page 136 Figure 5-23 |
The result line is truncated for some of the charts. It should rise to max_value after the last vertical dotted line in the "Threshold Binary" chart. It should fall to zero after the last vertical dotted line in the "Threshold Binary, Inverted" and "Threshold to Zero, Inverted" charts. |
Scott A Thisse |
| Printed | Page 138 First Line above Example 5-3 |
"cvADD()" should be "cdAdd()". |
Scott A Thisse |
| Printed | Page 165 C definition of cvWarpAffine() |
Where is “int flags = CV_INTER_LINEAR | CV_WARP_FILL_OUTLIERS” |
Joao Nuno Carvalho |
| Page 201 Last line, the mathematical formula |
There is an error in the correlation mathematical formula in the denominator: |
Dexter00 | |
| Page 204 code |
cvNormalizedHist( hist[i], 1.0); //Normalize it |
Anonymous | |
| Printed | Page 207 first paragraph of Earth Mover's Distance chapter |
The sentence beginning with "If instead of a histogram match..." is hard to parse. The sentence also contains a typo (or a cut-and-paste error): "...when the second histogram has shifted its been by...". |
Anonymous |
| Page 208 2nd paragraph under the code |
? |
Anonymous | |
| Printed | Page 208 Line 6 of the 2nd paragraph |
"[537,7;43,11]" should be "[537,7,43,11]". |
Shiqi Yu |
| Printed | Page 209 3rd paragraph |
Paragraph 3 sentence 3 states: |
Chris Colbert |
| Page 215 formula bottom of page |
The formular for the Cross Correlation shows, that the product of the template and image must be squared. But that's wrong. See: http://opencv.willowgarage.com/documentation/image_processing.html#matching |
Anonymous | |
| Page 218 last paragraph |
"you can immediately see that a good match ......while a poorer score of 0.20 is reduced substantially (0.50^5=0.03)." |
Anonymous | |
| Printed | Page 225 Line 11 |
CV_SEQ_ELTYPE_POINT should be CV_SEQ_ELTYPE_PPOINT. |
Shiqi Yu |
| Printed | Page 230 "... all of them operate in O(l) time ..." |
"... all of them operate in O( _l_ ) time ..." |
Anonymous |
| Printed | Page 240 & 261 Figures 8-4 & Figure 8-13 |
Figures 8-4 (pg 240) and 8-13 (page 261) have an error on the freeman chain code representation. The code that ends 5-6-6-6-6-7 should be |
Anonymous |
| Printed | Page 251 The first line of the 3rd paragraph |
"The second utility function, cvPointSeqFromMat()" should be "The third ...". |
Shiqi Yu |
| Printed | Page 252 3rd paragraph |
The cvContoursMoments function does not exist. It is properly named "cvContourMoments." |
eric gradman |
| Printed | Page 286 the background_diff() function |
On page 286 when you discuss the background_diff() function, |
Anonymous |
| Printed | Page 290 Code after first paragraph |
const CvScalar CVX_WHITE = CV_RGB(0xff,0xff,0xff) |
Anonymous |
| Printed | Page 352 2nd equation |
There are 2 "^" missing, for x_1 and for the variance in the second fraction's numerator. |
Dominik Schmidt |
| Printed | Page 358 1st equation |
It should read ...z_k... instead of ...z^-_k..., i.e. the - (minus) superscript of z_k is to be omitted. |
Dominik Schmidt |
| Printed | Page 365 Last code paragraph. |
In the type definition where is “)typedef struct CvConDensation” should be “typedef struct CvConDensation”, without the first closing parentheses. |
Joao Nuno Carvalho |
| Printed | Page 367 line 9 of code fragment |
Should CD->flConfidence[i] = Prob; |
Anonymous |
| Printed | Page 367 |
CD->flConfidence[i] = Prob; |
Anonymous |
| Printed | Page 376 |
Tangential distortion equations should be |
Anonymous |
| Printed | Page 391 Last equation on page. |
Typing error, the equation should look like this: |
Anonymous |
| Printed | Page 391 last equation |
In the formula, it has y_{p} = f_{y} * X^{W}/Z^{W} + c_{y}. |
Ramesh Marikhu |
| Printed | Page 398 program example |
matrix 'distortion_coeffs' should be created with 'cvCreateMat(4,1,CV_32F)' not with 'cvCreateMat(5,1,CV_32F)'. |
Jochen Radmer |
| Printed | Page 422 First footnote |
...with p_l and p_r, which are the location of the point P in the coordinate frames of the two cameras. |
Anonymous |
| Printed | Page 425 footnote |
The description of the RANSAC algorithm is really LMedS and vice versa. These should be swapped. |
Kyle H |
| Printed | Page 427 Paragraph before "Stereo Calibration" |
The equation ax + by = c = 0 should be replaced by ax + by + c = 0. |
Anonymous |
| Printed | Page 440 Second Paragraph |
In the second paragraph that begins with "Correspondence is computed..." there is mention of the parameter subPixelDisparities near the end of the paragraph however this parameter can not be found in the OpenCV source. Thus there are only 16 subdisparities per pixel and it is currently not configurable. |
Anonymous |
| Printed | Page 448 2/3 down in code |
I believe the following line is wrong: |
Joe Stam |
| Printed | Page 464 2nd paragraph |
The URL for Flickr is wrong, "http://www.flicker.com" should be "http://www.flickr.com". Flickr is without "e". |
Hristo Hristov |
| Printed | Page 471 Line 4 of the 3rd paragraph |
OpenCV Wiki documentation has been changed from http://opencvlibrary.sourceforge.net to http://opencv.willowgarage.com/. The wiki URLs in the book should be all updated. |
Shiqi Yu |
| Printed | Page 471 The last footnote. The last line of page 471 |
"cvcore" should be "cxcore". |
Shiqi Yu |
| Printed | Page 472 The last tow rows in Table 13-3 |
"cvcore" should be "cxcore" in the last two rows in Table 13-3. |
Shiqi Yu |
| Page 511 line 11 of Example 13-4 |
"Double" should be "double" |
Anonymous | |
| Printed | Page 512 Example 13-4 |
Code in Example 13-4. |
Anonymous |
| Page 512 line 12 / 13 |
In addition to the already mentioned mistake on this page ("." should be "->"), the scale factor is not taken into account. |
Anonymous | |
| Page 512 line 18 |
cvReleaseImage( &graygray ); should be cvReleaseImage( &gray ); |
Anonymous | |
| Printed | Page 548 Left column |
An index entry for the cvSmooth() function is missing. There should probably be a reference to pages 109-110 for this function. |
Michael D. Dudley |
