Re: 90 Rotation in one buffer only



> That looks of course better. (-; However, there's still a problem
> here: You need at least a buffer of width and height =
> max(width,height) of the original image data, i.e. it will perform
> "out of bounds" accesses unless the image is square. Solving that
> problem is actually the harder part of it. Of course a memory chunk of
> width * height pixels should be enough to perform a rotation "in
> place", but it is very hard to do unless width = height.

yes, I spoke only about square images.
However, it should be possible to rotate non-square
image - since buffer size doesnot change...

--
Andrey Kuznetsov
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities


.



Relevant Pages

  • Re: basic question on Java in XP
    ... Re, your last comment, I re-affirm that IE6 shows ... NOTHING (except a large blank square with a tiny square red "x" in the upper ... advanced (Java Sun, Java console, Java logging and Java compiler). ... "empty/no-graphic" icon described above. ...
    (comp.lang.java.programmer)
  • Re: Solving equations
    ... that solving by least square method might be the best option ... Now solving the equations below simultaneously using least ... square method will give me the point. ... ssq is a sum of squares of residuals, ...
    (comp.soft-sys.matlab)
  • Re: Calculating two free axes
    ... You can solve the equation Ax = b without A being non-singular or square. ... The numerical method is essentially the same for solving the equation when A ... that the problem is essentially solving a linear system of equations and ... X*A)y where X is a matrix that is generated by the algorithm and y is any ...
    (comp.graphics.algorithms)
  • linear system
    ... I am confronted to the following problem: I assume that I have a square matrix which is positive definite. ... In that case, solving A*x=b has only one solution, and doing it with a LU or Cholesky decomposition of A should yield the same solution. ... Running that (Matlab R14) gives me the following output: ... I cannot really believe that Matlab fails at computing a simple cholesky decomposition on a simple 2x2 matrix, and there is no numerical instability issues. ...
    (sci.math.num-analysis)
  • Re: Countdown to NY
    ... On Wed, 28 Dec 2005 18:56:00 GMT, John D. commented ... >> Why can't I see the clock/ Just an empty square except for a tiny ... It's a Java applet. ...
    (uk.people.silversurfers)