downsampling for difference selected areas with different sizes but keep size of sampled image the same
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
![area.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/224261/area.png)
![area2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/224262/area2.png)
As the images shown, I want to do the downsampling for the orange area, I have calculated the coordinates for four corner points of the center square.
How to do the downsampling for the orange squares to get same size of sampled images? Is there any good API or function to do this?
I hope the downsampling could work as a kind of convlolution pooling ,which means that for a downsamling subarea, we calculate the average or max value of that subarea as the following image shows.
![o_max_pooling.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/224263/o_max_pooling.png)
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!