public static distortion_curve_type parse_distortion_curve_type(string name) { distortion_curve_type ret = (distortion_curve_type)c_csharp_runPINVOKE.parse_distortion_curve_type(name); if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public distortion_curve_type type() { distortion_curve_type ret = (distortion_curve_type)c_csharp_metricsPINVOKE.distortion_metric_header_type(swigCPtr); return(ret); }
public distortion_metric_header(size_vector dimensions, uint channel_count, uint image_width, uint image_height, distortion_curve_type type) : this(c_csharp_metricsPINVOKE.new_distortion_metric_header(size_vector.getCPtr(dimensions), channel_count, image_width, image_height, (int)type), true) { if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending) { throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve(); } }
public static string to_string(distortion_curve_type value) { string ret = c_csharp_runPINVOKE.to_string__SWIG_17((int)value); return(ret); }