CNN and Image Sizes
조회 수: 12 (최근 30일)
이전 댓글 표시
I have a 129x23x2 input and 129x1x2 output for couple of thousand samples in the training set. How do a I create an convolutional autoencoder in matlab to fit the output size? Can somebody explain how do we structure windows of the convolution layers?
댓글 수: 2
Josh
2023년 11월 5일
편집: Josh
2024년 5월 9일
I might need clarification regarding the structure of your images as usually images are represented as a mxn or mxnx3 matrix...depending on the nature of the image
your description outlines a 3D output matrix; however, it only has two layers and is 129x1 dimensions?
For changing the size of output (image size), I would recommend using the imresize() function. This function can be used to either scale an image by a factor or resize images to a desired height (rows) and width (columns). As far as image convolution methods, MATLAB allows for you to specificy which method/kernel to use in the resizing of the image. Again, I may be misinterpreting your question and need more clarificaton about what you mean by "structure windows of the convolution layers".
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!