//transpose Mat det0 = Mat(d1); Mat dt1; dt1 = det0.reshape(0,4); cout << " Sebelum transpose "<<det0 <<endl;="" cout="" <<="" "coba"="" <<="" dt1="" <<endl;<="" p="">

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

1 | initial version |

//transpose Mat det0 = Mat(d1); Mat dt1; dt1 = det0.reshape(0,4); cout << " Sebelum transpose "<<det0 <<endl;="" cout="" <<="" "coba"="" <<="" dt1="" <<endl;<="" p="">

2 | No.2 Revision |

```
//transpose
Mat det0 = Mat(d1);
Mat dt1;
dt1 = det0.reshape(0,4);
cout << " Sebelum transpose "<<det0
```~~<<endl;="" cout="" <<="" "coba"="" <<="" dt1="" <<endl;<="" p="">
~~<<endl;
cout << "coba" << dt1 <<endl;

3 | No.3 Revision |

```
//transpose
```~~ ~~Mat det0 = Mat(d1);
~~ ~~ Mat dt1;
~~ ~~dt1 = det0.reshape(0,4);
~~ ~~ cout << " Sebelum transpose "<<det0 <<endl;
~~ ~~cout << "coba" << dt1 <<endl;

4 | No.4 Revision |

I have matrix 1x16. I will reshape this matrix to 4x4. How can I reshape this matrix? I just use this code the program was break.

~~ ~~//transpose
Mat det0 = Mat(d1);
Mat dt1;
dt1 = det0.reshape(0,4);
cout << " Sebelum transpose "<<det0 <<endl;
cout << "coba" << dt1 <<endl;

`

5 | No.5 Revision |

I have matrix 1x16. I will reshape this matrix to 4x4. How can I reshape this matrix? I just use this ~~code ~~code, but the program was break.

```
//transpose
Mat det0 = Mat(d1);
Mat dt1;
dt1 = det0.reshape(0,4);
cout << " Sebelum transpose "<<det0 <<endl;
cout << "coba" << dt1 <<endl;
```

`

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