This forum is disabled, please visit https://forum.opencv.org

2016-09-23 02:25:23 -0500 | received badge | ● Enthusiast |

2016-09-15 15:29:40 -0500 | received badge | ● Editor (source) |

2016-09-15 15:12:19 -0500 | asked a question | Using OpenCV's pca write and read for saving PCA data I am using OpenCV's function for PCA analysis. I want to save and read back the PCA structure using the provided functions. The PCA analysis part is OK, and the function serializes the object to the output file OK. The problem is I cannot read back the serialized object. My code is as follows, from the main function: The doPCA function: The generated file is as follows: |

2016-08-31 05:27:48 -0500 | received badge | ● Scholar (source) |

2016-08-31 05:27:40 -0500 | commented answer | Issue with meanStdDev() result and Mat channels I don't know why they couldn't implement such a function like with Matlab, who allow you to calculate the mean/stdev along columns or rows. I'll close this thread but if someone can chip in please use the comments if possible |

2016-08-30 12:15:19 -0500 | commented question | Issue with meanStdDev() result and Mat channels @berak Maybe let me put it this way, how I can get the mean value per column for a given square matrix using meanStdDev() or a similar function? |

2016-08-30 08:38:19 -0500 | commented question | Issue with meanStdDev() result and Mat channels @berak Don't know where my initial comment went to.. I'll repeat it. I used reshape to convert the matrix to a 6-channel 2x6, which makes the function calculate the mean/standard deviation for each column individually. If I leave it out then it seems that the matrix is taken as a 1-channel 2x6 matrix and that gives me one value for the mean and standard deviation values calculated across all matrix columns and rows. |

2016-08-30 07:48:02 -0500 | asked a question | Issue with meanStdDev() result and Mat channels
It gives the following results, You can see that the calculated mean value is corrent only for the first 2 positions |

Copyright OpenCV foundation, 2012-2018. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.