Borrar filtros
Borrar filtros

How do I make atrifacts for a synthetic image?

3 visualizaciones (últimos 30 días)
Mary Kodogianni
Mary Kodogianni el 10 de Jul. de 2011
Hello to everyone, could anybody help me making artifacts for a synthetic image?
  1 comentario
Sean de Wolski
Sean de Wolski el 11 de Jul. de 2011
ring artifact? beam artifact? archaeological artifact?

Iniciar sesión para comentar.

Respuestas (2)

Image Analyst
Image Analyst el 10 de Jul. de 2011
  1 comentario
Jan
Jan el 11 de Jul. de 2011
This is an adequate answer. Neither "artifact" nor "synthetic image" is well defined, such that an answer can be pure guessing only. Please, Mary, explain all needed details.

Iniciar sesión para comentar.


Sean de Wolski
Sean de Wolski el 11 de Jul. de 2011
Ring artifacts and reconstruction artifacts for a parallel beam configuration:
I = imread('cameraman.tif');
theta = 0:.1:180; %make a bigger increment to add more reconstruction noise (e.g. 0:5:180);
S = radon(I,theta);
n = 5; %num rings
r = floor(rand(n,1)*size(S,1));
r2 = min(r+floor(rand(n,1)*8),size(S,1)); %max ring thickness is 8
for ii = 1:n
S(r(ii):r2(ii),:) = bsxfun(@minus,S(r(ii):r2(ii),:),.4*range(S(r(ii):r2(ii),:),2));
end
I2 = uint8(iradon(S,theta));
imshow(I2)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by