Imrotate in clockwise direction

1 visualización (últimos 30 días)
Divya
Divya el 29 de Mayo de 2013
I have a binary image 'II1'. I want to rotate this image in clockwise direction and find the indices in particular column of the image. so i used imrotate(II1,-theta) (theta is angle i specified - 6.54) While doing so i am finding errors -
??? Error using ==> mtimes Out of memory. Type HELP MEMORY for your options.
Error in ==> maketform>trans_affine at 226 U1 = X1 * M; % Transform in homogeneous coordinates
Error in ==> maketform>inv_affine at 192 U = trans_affine(X, t, 'inverse');
Error in ==> maketform>inv_composite at 592 U = feval(t.tdata(i).inverse_fcn, U, t.tdata(i));
Error in ==> tform at 56 X = feval( t.(f.fwd_fcn), U, t );
Error in ==> tforminv at 68 varargout = tform('inv', nargout, varargin{:});
Error in ==> tformarray at 241 M = tforminv(G,T);
Error in ==> imrotate at 155 B = tformarray(A, T, R, [1 2], [1 2], outputSize, [], 0);
Error in ==> test_2 at 132 rot_im2 = imrotate(rot_ad_im2,-theta);
Could anyone tell me why i am getting these errors?? I found it is working some times and some times it is giving errors. The Image that i am working on is uploaded in below link
  3 comentarios
Divya
Divya el 29 de Mayo de 2013
The image size is 514x514. What do you mean by halting some hidden processes ?? and yes, i checked the example from the help(imrotate) and it is working fine everytime
Divya
Divya el 29 de Mayo de 2013
Is this problem occurring because of negative angle in imrotate??? If i use positive angle and modify my code, is there any chance that i don face these memory problems in future??

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 3-D Volumetric Image Processing 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!

Translated by