Borrar filtros
Borrar filtros

Individual processing each block blockproc

2 visualizaciones (últimos 30 días)
Ihiertje
Ihiertje el 22 de Ag. de 2017
Respondida: Elizabeth Reese el 24 de Ag. de 2017
Hi,
I have a blurred image and I want to correct this image by dividing it in blocks and correcting these blocks with a specific, block dependent point spread function. I found the blockproc function which can divide the image into blocks. However, I cannot find out if you can only do general processing on the blocks or that you can do different processing, a specific psf in this case, for each block.
I tried mat2cell as well, but I need to define some overlapping as well for which blockproc would be better to use.
Thanks!

Respuestas (1)

Elizabeth Reese
Elizabeth Reese el 24 de Ag. de 2017
You may consider writing a function that takes the " block_struct", analyzes its " location" information or " data" and then returns " Y" based on that analysis. This will allow you to write a single function to pass into " blockproc" but have the output be block-dependent. You can find more information about what " block_struct" includes at the following link.
Also, feel free to take a look at some built-in deblurring routines at the following link.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by