Grid (or matrix) transformations - newbie question



Hi,


I have a grid or matrix of floating point values. Each cell represents
an area of say 1x1km (or 1x1 mile - it doesn't matter here).

Now I need to "transform" somehow this to another matrix which only
partially covers the same actual area as the first one. It has another
origin, is rotated and has another size of cells.

Anyone who could point me in the right direction considering choice of
algorithm for this - or somewhere to read more about this? I've made
some solutions that work pretty good in the examples I have tested so
far but
1) I have a nag that in other cases my algorithm will yield less good
results and/or consume too much CPU time
2) I am pretty sure I can't be the first one with a problem like this.
It's a little like all those things you can do in a photo processing
application on the PC except my domain is more general (not being
constrained to RGB values) and my problem has a geographical extent so
sometimes I have to go beyound strictly rectangular metric coordinate-
systems.


Rgds, Hans Olav
.



Relevant Pages

  • Re: Normalising the values using VBA (algorithm given)
    ... Code to normalise the algorithm and display the results in the ... conditional formatting and rest remain the ... Green if cell value is BETWEEN 0 and 5. ... Set rng = Selection ...
    (microsoft.public.excel.programming)
  • Re: An algorithm with Minimum vertex cover without considering its performance
    ... The algorithm you mentioned for a vertex cover is right. ... If input cell is empty, algorithm ends, otherwise ... Sort the input cell serials based on count in increasing order. ... Randomly generate a graph; ...
    (comp.arch.fpga)
  • Re: change background color of cell as value changes
    ... if you don't use conditional formatting. ... colors, you would need to set up an algorithm, probably in the form of a case ... that would be called if any cell in Col A changes and if the value ... dynamically with other macro code that is already completed. ...
    (microsoft.public.excel.programming)
  • [OT] The algorithm (was Re: Making a maze....)
    ... Every cell of the maze remembers if the right and the bottom walls ... This information is already enough to draw the maze. ... Then, for the recursive algorithm, it was enough that each cell could ...
    (comp.lang.python)
  • Re: An algorithm with Minimum vertex cover without considering its performance
    ... The algorithm you mentioned for a vertex cover is right. ... (edge count, edge starting vertex, edge ending vertexes). ... If input cell is empty, algorithm ends, otherwise ... Sort the input cell serials based on count in increasing order. ...
    (comp.programming)

Quantcast