ChannelRegistrationHelper¶
Inheritance diagram¶
Classes¶
ChannelRegistrationHelper¶
-
class
ORSModel.ors.ChannelRegistrationHelper¶ Bases:
ORSModel.ors.Unmanaged-
applyTransformationDegreeOfFreedomOnChannel(self, kindOfDegreeOfFreedom: int, numeroDirection: int, backward: bool) → None¶ Parameters: - kindOfDegreeOfFreedom (int) –
- numeroDirection (int) –
- backward (bool) –
-
getChannelA(self) → Channel¶ Returns: output (ORSModel.ors.Channel) –
-
getChannelB(self) → Channel¶ Returns: output (ORSModel.ors.Channel) –
-
getClassNameStatic() → str¶ getClassNameStatic
Returns: output (str) –
-
getCurrentSimilarity(self) → float¶ Returns: output (float) –
-
getEpsilonRotation(self) → Vector3¶ Returns: output (ORSModel.ors.Vector3) –
-
getEpsilonScaleFactor(self) → Vector3¶ Returns: output (ORSModel.ors.Vector3) –
-
getEpsilonTranslation(self) → Vector3¶ Returns: output (ORSModel.ors.Vector3) –
-
getFactorOfCompressionHistogramA(self) → int¶ Returns: output (int) –
-
getFactorOfCompressionHistogramB(self) → int¶ Returns: output (int) –
-
getHistogramASize(self) → int¶ Returns: output (int) –
-
getHistogramBSize(self) → int¶ Returns: output (int) –
-
getMaxSimilarityMetric(self) → float¶ Returns: output (float) –
-
getMutualInformationFor(self, p_entropyA: float, p_entropyB: float, p_entropyAB: float, histoASize: int, histoBSize: int, fractionOfChannelConsidered: float) → float¶ Parameters: - p_entropyA (float) –
- p_entropyB (float) –
- p_entropyAB (float) –
- histoASize (int) –
- histoBSize (int) –
- fractionOfChannelConsidered (float) –
Returns: output (float) –
-
getNearestInterpolation(self) → bool¶ Returns: output (bool) –
-
getRegistration3DTransformation(self, bApplyTransformation: bool, IProgress: ORSModel.ors.Progress) → Matrix4x4¶ Parameters: - bApplyTransformation (bool) –
- IProgress (ORSModel.ors.Progress) –
Returns: output (ORSModel.ors.Matrix4x4) –
-
getRotationScaleCenter(self) → Vector3¶ Returns: output (ORSModel.ors.Vector3) –
-
getRotationScaleCenterAlwaysAtCenter(self) → bool¶ Returns: output (bool) –
-
getSearchDeltaRotation(self) → Vector3¶ Returns: output (ORSModel.ors.Vector3) –
-
getSearchDeltaScaleFactor(self) → Vector3¶ Returns: output (ORSModel.ors.Vector3) –
-
getSearchDeltaTranslation(self) → Vector3¶ Returns: output (ORSModel.ors.Vector3) –
-
getSuggestedHistogramSizesSturgesRule(self, pIChannelA: ORSModel.ors.Channel, pIChannelB: ORSModel.ors.Channel) → int¶ Parameters: - pIChannelA (ORSModel.ors.Channel) –
- pIChannelB (ORSModel.ors.Channel) –
Returns: output (int) –
-
getTimeA(self) → int¶ Returns: output (int) –
-
getTimeB(self) → int¶ Returns: output (int) –
-
getUseMultiScale(self) → bool¶ Returns: output (bool) –
-
getUseMutualInfo(self) → bool¶ Returns: output (bool) –
-
getXSampling(self) → int¶ Returns: output (int) –
-
getYSampling(self) → int¶ Returns: output (int) –
-
getZSampling(self) → int¶ Returns: output (int) –
-
none() → ChannelRegistrationHelper¶ Returns: output (ChannelRegistrationHelper) –
-
resetRotationScaleCenter(self) → None¶
-
setChannelA(self, pIChannel: ORSModel.ors.Channel) → None¶ Parameters: pIChannel (ORSModel.ors.Channel) –
-
setChannelAB(self, pIChannelA: ORSModel.ors.Channel, pIChannelB: ORSModel.ors.Channel) → None¶ Parameters: - pIChannelA (ORSModel.ors.Channel) –
- pIChannelB (ORSModel.ors.Channel) –
-
setChannelB(self, pIChannel: ORSModel.ors.Channel) → None¶ Parameters: pIChannel (ORSModel.ors.Channel) –
-
setEpsilonRotation(self, pVector: ORSModel.ors.Vector3) → None¶ Parameters: pVector (ORSModel.ors.Vector3) –
-
setEpsilonScaleFactor(self, pVector: ORSModel.ors.Vector3) → None¶ Parameters: pVector (ORSModel.ors.Vector3) –
-
setEpsilonTranslation(self, pVector: ORSModel.ors.Vector3) → None¶ Parameters: pVector (ORSModel.ors.Vector3) –
-
setFactorOfCompressionHistogramA(self, factor: int) → None¶ Parameters: factor (int) –
-
setFactorOfCompressionHistogramB(self, factor: int) → None¶ Parameters: factor (int) –
-
setHistogramASize(self, value: int) → None¶ Parameters: value (int) –
-
setHistogramBSize(self, value: int) → None¶ Parameters: value (int) –
-
setMask(self, pROiMask: ORSModel.ors.ROI) → None¶ Parameters: pROiMask (ORSModel.ors.ROI) –
-
setNearestInterpolation(self, aFlag: bool) → None¶ Parameters: aFlag (bool) –
-
setRotationScaleCenter(self, pVect: ORSModel.ors.Vector3) → None¶ Parameters: pVect (ORSModel.ors.Vector3) –
-
setRotationScaleCenterAlwaysAtCenter(self, aFlag: bool) → None¶ Parameters: aFlag (bool) –
-
setSearchDeltaEpsilonRotation(self, pIInputChannel: ORSModel.ors.Channel, searchDelta: float, epsilon: float) → None¶ Parameters: - pIInputChannel (ORSModel.ors.Channel) –
- searchDelta (float) –
- epsilon (float) –
-
setSearchDeltaEpsilonScaleFactor(self, pIInputChannel: ORSModel.ors.Channel, searchDelta: float, epsilon: float) → None¶ Parameters: - pIInputChannel (ORSModel.ors.Channel) –
- searchDelta (float) –
- epsilon (float) –
-
setSearchDeltaEpsilonTranslation(self, pIInputChannel: ORSModel.ors.Channel, searchDelta: float, epsilon: float) → None¶ Parameters: - pIInputChannel (ORSModel.ors.Channel) –
- searchDelta (float) –
- epsilon (float) –
-
setSearchDeltaRotation(self, pVector: ORSModel.ors.Vector3) → None¶ Parameters: pVector (ORSModel.ors.Vector3) –
-
setSearchDeltaScaleFactor(self, pVector: ORSModel.ors.Vector3) → None¶ Parameters: pVector (ORSModel.ors.Vector3) –
-
setSearchDeltaTranslation(self, pVector: ORSModel.ors.Vector3) → None¶ Parameters: pVector (ORSModel.ors.Vector3) –
-
setSearchDirectionBox(self, pIChannelBox: ORSModel.ors.Box) → None¶ Parameters: pIChannelBox (ORSModel.ors.Box) –
-
setSearchDirectionChannel(self, pIChannel: ORSModel.ors.Channel) → None¶ Parameters: pIChannel (ORSModel.ors.Channel) –
-
setTimeA(self, time: int) → None¶ Parameters: time (int) –
-
setTimeB(self, time: int) → None¶ Parameters: time (int) –
-
setUseMultiScale(self, aFlag: bool) → None¶ Parameters: aFlag (bool) –
-
setUseMutualInfo(self, aFlag: bool) → None¶ Parameters: aFlag (bool) –
-
setXSampling(self, aSampling: int) → None¶ Parameters: aSampling (int) –
-
setYSampling(self, aSampling: int) → None¶ Parameters: aSampling (int) –
-
setZSampling(self, aSampling: int) → None¶ Parameters: aSampling (int) –
-
Unmanaged¶
-
class
ORSModel.ors.Unmanaged Bases:
ORSModel.ors.ORSBaseClassbrief_description: Abstract class for objects that are not managed by the core library. author: Eric Fournier. All other members of ORS participated. version: 1.0 date: Jan 2005
-
atomicLoad(sFilename: str) → Unmanaged Creates an object from a file where an object was saved.
Parameters: sFilename (str) – path of the file to load Returns: output (Unmanaged) – a managed object, or none() if the load fails
-
atomicSave(self, aFilename: str) → int Saves the object to a file.
Parameters: aFilename (str) – path of the file to save Returns: output (int) – 0 if successful, otherwise an error code
-
createFromPythonRepresentation(aPythonRepresentation: str) → Unmanaged Create aUnmanaged Object from a python representation a static method.
Parameters: aPythonRepresentation (str) – Returns: output (ORSModel.ors.Unmanaged) –
-
fromPythonRepresentation(self, aPythonRepresentation: str) → bool Create aUnmanaged object from a Python string representation.
Parameters: aPythonRepresentation (str) – a Python evaluable string representation (a string) Returns: output (bool) – TRUE if parsing worked, FALSE otherwise (a bool)
-
classmethod
getAllSubclasses(outputCollection=None)
-
classmethod
getClassDenomination()
-
static
getClassFromProgId(progId)
-
getClassName(self) → str Retrieves the class name of the core object wrapped by this Interface object.
Returns: output (str) –
-
getClassNameStatic() → str getClassNameStatic
Returns: output (str) –
-
getDataChecksum(self) → str Returns: output (str) –
-
getIsInstanceOf(self, pProgId: str) → bool Queries the object to know if it is an instance of a certain class.
Parameters: pProgId (str) – Returns: output (bool) –
-
classmethod
getIsSubclassOf(parentClass)
-
getPythonRepresentation(self) → str Gets a Python evaluable string representation.
Returns: output (str) –
-
isNone(self) → bool Checks if the receiver is none.
Returns: output (bool) –
-
isNotNone(self) → bool Checks if the receiver is not none.
Returns: output (bool) –
-
none() → Unmanaged Returns: output (Unmanaged) –
-
ORSBaseClass¶
-
class
ORSModel.ors.ORSBaseClass brief_description: An abstract class from which all objects issued from the author: Eric Fournier. All other members of ORS participated. version: 1.0 date: Jan 2005
-
getPythonTraceBack() → typing.List[str] Set the python traceback for a call from python.
Returns: output (typing.List[str]) –
-
isManaged(self) → bool Returns: output (bool) –
-
isNone(self) → bool Returns: output (bool) –
-
setPythonTraceBack(tb: ORSModel.ors.typing.List[str]) → None Set the python traceback for a call from python.
Parameters: tb (typing.List[str]) –
-