Autor Beitrag
winx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 249



BeitragVerfasst: Do 08.05.08 15:59 
Hallo,

die projektive Transformation der graphics 32 bildet ja ein Bild auf ein Trapez ab:

user defined image

Ich bräuchte aber genau das Gegenteil, ein Trapezausschnitt aus einem Bild
auf ein Rechteck abbilden:

user defined image

Ist das auch mit der PT möglich, oder irgendwie mit der "RevereseTransform" Funktion der Klasse

Zitat:
Description

Reverse-transforms the supplied point P and returns the result.


TProjectiveTransformation

Irgendwie stehe ich gerade voll am Schlauch :wall:

Danke,
winx


p.s: habs hier nochmals gepostet und halte beide Threads auf eine Stand :-D
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Do 08.05.08 16:07 
Schon das dritte mal in den letzten paar Tagen...

Hier sind die anderen beiden:
www.delphi-forum.de/...entzerren_82767.html
www.delphi-forum.de/...t+Quadrat_82708.html

Die Lösung von delfiphan ist allerdings ohne Gr32..

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Do 08.05.08 21:06 
Ich habe dir die Lösung auf einem Silbertablett geliefert. Was willst du noch mehr?
Und wenn du ums Verrecken graphics32 nehmen willst, nimmt doch statt Transform einfach die Methode ReverseTransform.