|
LAT Hologramm-Software 2.0
|
Hologramme werden als Objekte vom Typ Hologram dargestellt. More...


Public Member Functions | |
| function | Hologram () |
| Konstruktor: Wenn SLM verbunden ist, werden dessen Werte für die Auflösung etc. für das Hologramm übernommen Wenn Laser verbunden ist, wird dessen Wellenlänge übernommen. More... | |
| function | distanceFromCenter (in obj) |
| Gibt den Abstand jedes Pixels des Holograms zum Mittelpunkt des Holograms. More... | |
| function | distanceFromPoint (in obj, in x0, in y0) |
| Gibt Matrix mit Abstand jedes Pixels des Holograms zum Punkt x0,y0. More... | |
| function | angle (in obj, in x0, in y0) |
| Abstand zum Bildmittelpunkt. More... | |
| function | beamImage (in obj, in source, in name) |
| Gibt Bild des Eingangsstrahls aus. More... | |
| function | calculate (in obj) |
| Hauptfunktion zur Hologrammberechnung. Die Methode führt alle ausgewählten Algorithmen der Reihe nach aus und addiert die berechneten Hologramme auf. Die Matrizen zu Eingangs- und Ausgangsstrahl werden in den entsprechenden Properties gespeichert. More... | |
| function | saveImages (in obj) |
| Speichert Phase und Amplitude von Hologramm- und Bildebene als Bilddatei ab More... | |
| function | progress (in obj, in message) |
Static Public Member Functions | |
| static function | calc (in list) |
| Funktion zur automatisierten Berechnung mehrerer Hologramme Die Hologramme werden als 1-dimensionales Array an die Methode übergeben. More... | |
| static function | sayHi () |
Public Attributes | |
| Property | displayProgress |
| Property | send2SLMWhenFinished |
| Bei "true" wird das Bild nach der Berechnung direkt an den verbunden SLM übertragen. More... | |
| Property | saveImageWhenFinished |
| Bei "true" wird das Bild nach der Berechnung im Output-Ordner gespeichert. More... | |
| Property | pixelX |
| Auflösung der Berechnung. More... | |
| Property | pixelY |
| Property | pixelPitch |
| Abstand der Pixel. More... | |
| Property | grayLevels |
| Anzahl der Graustufen. More... | |
| Property | angleCalibrationFactor |
| Linerarer Faktor zur Kalibrierung des Ablenkwinkels von bspw. dargestellten Blaze-Gittern. More... | |
| Property | lensCalibrationFactor |
| Linerarer Faktor zur Kalibrierung der Fokusverschiebung durch dargestellte Linsen. More... | |
| Property | wavelength |
| Wellenlänge, für die das Hologramm berechnet wurde in nm. More... | |
| Property | adaptSize |
| 'original' oder 'stretch' #wofür war das nochmal? More... | |
| Property | inputPhase |
| Property | inputAmplitude |
| Matrix mit relativer Intensitätsamplitude des Inputstrahls. More... | |
| Property | farFieldPhase |
| Phase des Strahls im Fernfeld (nach FFT) More... | |
| Property | farFieldAmplitude |
| Berechnete Intensitätsverteilung im Fernfeld (nach FFT) More... | |
| Property | displayDuration |
| Anzeigedauer des Hologramms. More... | |
| Property | savePath |
| Dateispeicherpfad für Hologramm. More... | |
| Property | saveName |
| Dateiname für Hologramm. More... | |
| Property | saveNo |
| Fortlaufende Nummer für Dateinamen. More... | |
| Property | inputBeam_source |
| Property | inputBeamDiameter |
| Durchmesser in mm des gaussförmigen Eingangsstrahls (Nur bei inputBeam_source = 'calculated' relevant) More... | |
| Property | addPrismAndLens |
| Prisma und Linse. More... | |
| Property | phiX |
| Ablenkungswinkel in X-Richtung. More... | |
| Property | phiY |
| Ablenkungswinkel in Y-Richtung. More... | |
| Property | z |
| Z-Verschiebung durch Linse. More... | |
| Property | addMultispot |
| Multispot. More... | |
| Property | spotList |
| Koordinatenmatrix der einzelnen Spots mit Parametern (phiX,phiY,Z,I). I ist die Gewichtung der einzelnen Spots. More... | |
| Property | addAxicon |
| Axikon. More... | |
| Property | alpha |
| Axikonwinkel. More... | |
| Property | ax_x0 |
| Verschiebung des Mittelpunkts des Axikons in X-Richtung. More... | |
| Property | ax_y0 |
| Verschiebung des Mittelpunkts des Axikons in Y-Richtung. More... | |
| Property | addVortex |
| Vortex. More... | |
| Property | charge |
| Topologische Ordnung des Vortexbeams. More... | |
| Property | vo_x0 |
| Verschiebung des Mittelpunkts des Vortexmusters in X-Richtung. More... | |
| Property | vo_y0 |
| Verschiebung des Mittelpunkts des Vortexmusters in Y-Richtung. More... | |
| Property | addGerchbergSaxton |
| GerchbergSaxton. More... | |
| Property | gs_iteration |
| Anzahl der Iterationen. More... | |
| Property | gs_startPhase |
| 'random' oder 'quadratic' Startbild für den Algorithmus: Zufallsbild oder quadratische Phase More... | |
| Property | gs_quadraticParameter |
| Streckfaktor der Parabel bei quadratischer Startphase. More... | |
| Property | gs_image |
| Dateipfad zu dem Bild, welches dargestellt werden soll. More... | |
| Property | gs_resizeMode |
| 'stretch', 'original', 'repeat' Anpassung des Bildes an die Hologrammauflösung More... | |
| Property | gs_color |
| 'grayValues' oder 'binary' Konvertierung des darzustelenden Bildes in Graustufen oder Schwarz-Weiß More... | |
| Property | gs_limitGrayLevel |
| Schwellwert für die Schwarz-Weiß-Konvertierung. More... | |
| Property | gs_invertColors |
| Invertierung der Farben. More... | |
| Property | gs_convergence |
| Array, in dem bei jedem Iterationsschritt die aktuelle Abweichung des Hologramms zum Target-Bild angegeben wird. More... | |
| Property | gs_plot |
| Bei "true", wird nach der Berechnung der Fehler über die Iterationen als Plot ausgegeben. More... | |
| Property | addGeneticAlgorithm |
| Property | ga_startPhase |
| 'random' oder 'gerchbergSaxton' Startbild für den Algorithmus: Zufallsbild oder es wird vorher der Gerchberg-Saxton-Algorithmus ausgeführt, um Startbilder zu generieren More... | |
| Property | ga_population |
| Population = Anzahl der Bilder, die in jedem Schritt getestet werden. More... | |
| Property | ga_mutationProb |
| in % Wahrscheinlichkeit, mit der sich ein Bit in einem Iterationsschritt verändert More... | |
| Property | ga_elite |
| in % Anteil der Bilder, die für den nächsten Iterationsschritt behalten wird More... | |
| Property | ga_iteration |
| Anzahl der Iterationen. More... | |
| Property | ga_imageDepth |
| Farbtiefe → entspricht log2(Graustufen) des Hologramms. More... | |
| Property | ga_bitCode |
| 'binary', 'gray' Binäre Codierung der Graustufen oder Nutzung des 'Greycode' (Binär ist deutlich schneller) More... | |
| Property | ga_image |
| Dateipfad zu dem Bild, welches dargestellt werden soll. More... | |
| Property | ga_resizeMode |
| 'stretch', 'original', 'repeat' Anpassung des Bildes an die Hologrammauflösung More... | |
| Property | ga_color |
| 'grayValues' oder 'binary' Konvertierung des darzustelenden Bildes in Graustufen oder Schwarz-Weiß More... | |
| Property | ga_limitGrayLevel |
| Schwellwert für die Schwarz-Weiß-Konvertierung. More... | |
| Property | ga_invertColors |
| Invertierung der Farben. More... | |
| Property | ga_evaluation |
| 'calculated' oder 'camera' Auswahl der Methode zur Evaluation der Bilder. Bei 'calculated' wird die Intensität mittels FFT simuliert, bei 'camera' wird es mit der Kamera aufgenommen More... | |
| Property | ga_convergence |
| Array, in dem bei jedem Iterationsschritt die aktuelle Abweichung des Hologramms zum Target-Bild angegeben wird. More... | |
| Property | ga_plot |
| Bei "true", wird nach der Berechnung der Fehler über die Iterationen als Plot ausgegeben. More... | |
| Property | addRandomPhase |
| Zufallsphase. More... | |
| Property | maximumRandomPhase |
| Prozentsatz der Phase, der auf das Hologramm aufaddiert wird. More... | |
| Property | addZernike |
| Zernike. More... | |
| Property | weighting |
| Das Array enthält die Gewichtungsfaktoren der Zernikepolynome. More... | |
| Property | addAperture |
| Ringlochblende. More... | |
| Property | r_i |
| Innerer Radius der Blende in mm. More... | |
| Property | r_a |
| Äußerer Radius der Blende in mm More... | |
Hologramme werden als Objekte vom Typ Hologram dargestellt.
Objekte vom Typ Hologram enthalten:
→ Allgemeine Hologrammparameter wie Auflösung,
→ Die Parameter der verwendeten Hologrammalgorithmen
→ Das Hologramm, sowie Informationen über die Input- /Output-Amplitude in Form von Graustufenmatrizen
Außerdem sind in der Klasse die Methoden zur Berechnung der Hologramme enthalten
Definition at line 10 of file Hologram.m.
| function Hologram::Hologram | ( | ) |
| function Hologram::angle | ( | in | obj, |
| in | x0, | ||
| in | y0 | ||
| ) |
Abstand zum Bildmittelpunkt.
Gibt zu jedem Pixel des Holograms des Winkel bezogen auf den Punkt x0,y0
| function Hologram::beamImage | ( | in | obj, |
| in | source, | ||
| in | name | ||
| ) |
Gibt Bild des Eingangsstrahls aus.
|
static |
Funktion zur automatisierten Berechnung mehrerer Hologramme Die Hologramme werden als 1-dimensionales Array an die Methode übergeben.
| function Hologram::calculate | ( | in | obj | ) |
Hauptfunktion zur Hologrammberechnung. Die Methode führt alle ausgewählten Algorithmen der Reihe nach aus und addiert die berechneten Hologramme auf. Die Matrizen zu Eingangs- und Ausgangsstrahl werden in den entsprechenden Properties gespeichert.
| function Hologram::distanceFromCenter | ( | in | obj | ) |
Gibt den Abstand jedes Pixels des Holograms zum Mittelpunkt des Holograms.
| function Hologram::distanceFromPoint | ( | in | obj, |
| in | x0, | ||
| in | y0 | ||
| ) |
Gibt Matrix mit Abstand jedes Pixels des Holograms zum Punkt x0,y0.
| function Hologram::progress | ( | in | obj, |
| in | message | ||
| ) |
| function Hologram::saveImages | ( | in | obj | ) |
Speichert Phase und Amplitude von Hologramm- und Bildebene als Bilddatei ab
|
static |
| Property Hologram::adaptSize |
'original' oder 'stretch' #wofür war das nochmal?
Definition at line 49 of file Hologram.m.
| Property Hologram::addAperture |
Ringlochblende.
Definition at line 240 of file Hologram.m.
| Property Hologram::addAxicon |
Axikon.
Definition at line 114 of file Hologram.m.
| Property Hologram::addGeneticAlgorithm |
Definition at line 176 of file Hologram.m.
| Property Hologram::addGerchbergSaxton |
GerchbergSaxton.
Definition at line 140 of file Hologram.m.
| Property Hologram::addMultispot |
Multispot.
Definition at line 107 of file Hologram.m.
| Property Hologram::addPrismAndLens |
Prisma und Linse.
Definition at line 94 of file Hologram.m.
| Property Hologram::addRandomPhase |
Zufallsphase.
Definition at line 226 of file Hologram.m.
| Property Hologram::addVortex |
Vortex.
Definition at line 127 of file Hologram.m.
| Property Hologram::addZernike |
Zernike.
Definition at line 233 of file Hologram.m.
| Property Hologram::alpha |
Axikonwinkel.
Definition at line 117 of file Hologram.m.
| Property Hologram::angleCalibrationFactor |
Linerarer Faktor zur Kalibrierung des Ablenkwinkels von bspw. dargestellten Blaze-Gittern.
Definition at line 40 of file Hologram.m.
| Property Hologram::ax_x0 |
Verschiebung des Mittelpunkts des Axikons in X-Richtung.
Definition at line 120 of file Hologram.m.
| Property Hologram::ax_y0 |
Verschiebung des Mittelpunkts des Axikons in Y-Richtung.
Definition at line 123 of file Hologram.m.
| Property Hologram::charge |
Topologische Ordnung des Vortexbeams.
Definition at line 130 of file Hologram.m.
| Property Hologram::displayDuration |
Anzeigedauer des Hologramms.
Definition at line 66 of file Hologram.m.
| Property Hologram::displayProgress |
Verhalten Bei "true" wird während der Berechnung der Berechnungsfortschritt angezeigt
Definition at line 19 of file Hologram.m.
| Property Hologram::farFieldAmplitude |
Berechnete Intensitätsverteilung im Fernfeld (nach FFT)
Definition at line 63 of file Hologram.m.
| Property Hologram::farFieldPhase |
Phase des Strahls im Fernfeld (nach FFT)
Definition at line 60 of file Hologram.m.
| Property Hologram::ga_bitCode |
'binary', 'gray' Binäre Codierung der Graustufen oder Nutzung des 'Greycode' (Binär ist deutlich schneller)
Definition at line 197 of file Hologram.m.
| Property Hologram::ga_color |
'grayValues' oder 'binary' Konvertierung des darzustelenden Bildes in Graustufen oder Schwarz-Weiß
Definition at line 207 of file Hologram.m.
| Property Hologram::ga_convergence |
Array, in dem bei jedem Iterationsschritt die aktuelle Abweichung des Hologramms zum Target-Bild angegeben wird.
Definition at line 219 of file Hologram.m.
| Property Hologram::ga_elite |
in % Anteil der Bilder, die für den nächsten Iterationsschritt behalten wird
Definition at line 188 of file Hologram.m.
| Property Hologram::ga_evaluation |
'calculated' oder 'camera' Auswahl der Methode zur Evaluation der Bilder. Bei 'calculated' wird die Intensität mittels FFT simuliert, bei 'camera' wird es mit der Kamera aufgenommen
Definition at line 216 of file Hologram.m.
| Property Hologram::ga_image |
Dateipfad zu dem Bild, welches dargestellt werden soll.
Definition at line 201 of file Hologram.m.
| Property Hologram::ga_imageDepth |
Farbtiefe → entspricht log2(Graustufen) des Hologramms.
Definition at line 194 of file Hologram.m.
| Property Hologram::ga_invertColors |
Invertierung der Farben.
Definition at line 213 of file Hologram.m.
| Property Hologram::ga_iteration |
Anzahl der Iterationen.
Definition at line 191 of file Hologram.m.
| Property Hologram::ga_limitGrayLevel |
Schwellwert für die Schwarz-Weiß-Konvertierung.
Definition at line 210 of file Hologram.m.
| Property Hologram::ga_mutationProb |
in % Wahrscheinlichkeit, mit der sich ein Bit in einem Iterationsschritt verändert
Definition at line 185 of file Hologram.m.
| Property Hologram::ga_plot |
Bei "true", wird nach der Berechnung der Fehler über die Iterationen als Plot ausgegeben.
Definition at line 222 of file Hologram.m.
| Property Hologram::ga_population |
Population = Anzahl der Bilder, die in jedem Schritt getestet werden.
Definition at line 182 of file Hologram.m.
| Property Hologram::ga_resizeMode |
'stretch', 'original', 'repeat' Anpassung des Bildes an die Hologrammauflösung
Definition at line 204 of file Hologram.m.
| Property Hologram::ga_startPhase |
'random' oder 'gerchbergSaxton' Startbild für den Algorithmus: Zufallsbild oder es wird vorher der Gerchberg-Saxton-Algorithmus ausgeführt, um Startbilder zu generieren
Definition at line 179 of file Hologram.m.
| Property Hologram::grayLevels |
Anzahl der Graustufen.
Definition at line 37 of file Hologram.m.
| Property Hologram::gs_color |
'grayValues' oder 'binary' Konvertierung des darzustelenden Bildes in Graustufen oder Schwarz-Weiß
Definition at line 159 of file Hologram.m.
| Property Hologram::gs_convergence |
Array, in dem bei jedem Iterationsschritt die aktuelle Abweichung des Hologramms zum Target-Bild angegeben wird.
Definition at line 168 of file Hologram.m.
| Property Hologram::gs_image |
Dateipfad zu dem Bild, welches dargestellt werden soll.
Definition at line 153 of file Hologram.m.
| Property Hologram::gs_invertColors |
Invertierung der Farben.
Definition at line 165 of file Hologram.m.
| Property Hologram::gs_iteration |
Anzahl der Iterationen.
Definition at line 143 of file Hologram.m.
| Property Hologram::gs_limitGrayLevel |
Schwellwert für die Schwarz-Weiß-Konvertierung.
Definition at line 162 of file Hologram.m.
| Property Hologram::gs_plot |
Bei "true", wird nach der Berechnung der Fehler über die Iterationen als Plot ausgegeben.
Definition at line 171 of file Hologram.m.
| Property Hologram::gs_quadraticParameter |
Streckfaktor der Parabel bei quadratischer Startphase.
Definition at line 149 of file Hologram.m.
| Property Hologram::gs_resizeMode |
'stretch', 'original', 'repeat' Anpassung des Bildes an die Hologrammauflösung
Definition at line 156 of file Hologram.m.
| Property Hologram::gs_startPhase |
'random' oder 'quadratic' Startbild für den Algorithmus: Zufallsbild oder quadratische Phase
Definition at line 146 of file Hologram.m.
| Property Hologram::inputAmplitude |
Matrix mit relativer Intensitätsamplitude des Inputstrahls.
Definition at line 57 of file Hologram.m.
| Property Hologram::inputBeam_source |
Eingangsstrahl Sourse = 'calculated', 'fromFile', 'measured' Gibt an, woher die Intensitätsverteilung für den Eingangsstrahl genommen werden sollen
Definition at line 81 of file Hologram.m.
| Property Hologram::inputBeamDiameter |
Durchmesser in mm des gaussförmigen Eingangsstrahls (Nur bei inputBeam_source = 'calculated' relevant)
Definition at line 84 of file Hologram.m.
| Property Hologram::inputPhase |
Bilder Matrix mit Phaseninformation des Hologramms
Definition at line 54 of file Hologram.m.
| Property Hologram::lensCalibrationFactor |
Linerarer Faktor zur Kalibrierung der Fokusverschiebung durch dargestellte Linsen.
Definition at line 43 of file Hologram.m.
| Property Hologram::maximumRandomPhase |
Prozentsatz der Phase, der auf das Hologramm aufaddiert wird.
Definition at line 229 of file Hologram.m.
| Property Hologram::phiX |
Ablenkungswinkel in X-Richtung.
Definition at line 97 of file Hologram.m.
| Property Hologram::phiY |
Ablenkungswinkel in Y-Richtung.
Definition at line 100 of file Hologram.m.
| Property Hologram::pixelPitch |
Abstand der Pixel.
Definition at line 34 of file Hologram.m.
| Property Hologram::pixelX |
Auflösung der Berechnung.
Definition at line 29 of file Hologram.m.
| Property Hologram::pixelY |
Definition at line 31 of file Hologram.m.
| Property Hologram::r_a |
Äußerer Radius der Blende in mm
Definition at line 246 of file Hologram.m.
| Property Hologram::r_i |
Innerer Radius der Blende in mm.
Definition at line 243 of file Hologram.m.
| Property Hologram::saveImageWhenFinished |
Bei "true" wird das Bild nach der Berechnung im Output-Ordner gespeichert.
Definition at line 25 of file Hologram.m.
| Property Hologram::saveName |
Dateiname für Hologramm.
Definition at line 73 of file Hologram.m.
| Property Hologram::saveNo |
Fortlaufende Nummer für Dateinamen.
Definition at line 76 of file Hologram.m.
| Property Hologram::savePath |
Dateispeicherpfad für Hologramm.
Definition at line 70 of file Hologram.m.
| Property Hologram::send2SLMWhenFinished |
Bei "true" wird das Bild nach der Berechnung direkt an den verbunden SLM übertragen.
Definition at line 22 of file Hologram.m.
| Property Hologram::spotList |
Koordinatenmatrix der einzelnen Spots mit Parametern (phiX,phiY,Z,I). I ist die Gewichtung der einzelnen Spots.
Definition at line 110 of file Hologram.m.
| Property Hologram::vo_x0 |
Verschiebung des Mittelpunkts des Vortexmusters in X-Richtung.
Definition at line 133 of file Hologram.m.
| Property Hologram::vo_y0 |
Verschiebung des Mittelpunkts des Vortexmusters in Y-Richtung.
Definition at line 136 of file Hologram.m.
| Property Hologram::wavelength |
Wellenlänge, für die das Hologramm berechnet wurde in nm.
Definition at line 46 of file Hologram.m.
| Property Hologram::weighting |
Das Array enthält die Gewichtungsfaktoren der Zernikepolynome.
Definition at line 236 of file Hologram.m.
| Property Hologram::z |
Z-Verschiebung durch Linse.
Definition at line 103 of file Hologram.m.