Reload the page to see its updated state. You can then use the function imwarp to apply the geometric transformation to your RGB image. It ran for me with no problem, once I changed to the standard demo image cameraman.
To obtain the factor effect estimates, multiply the coefficient estimates obtained during the model fitting by two. This step is necessary because the regression coefficients measure the effect of a one-unit change in x on the mean of y.
However, the effects estimates measure a two-unit change in x due to the design matrix coding of -1 and 1. Exclude the baseline measurement. Note that the factor order in mdl may be different from the order in the original design matrix. Create a half-normal probability plot using the absolute value of the effects estimates, excluding the baseline. Label the points and format the plot. First, return the index values for the sorted effects estimates from lowest to highest.
Then use these index values to sort the probability values stored in the graphics handle h 1. Add text labels to the plot at each point. For each point, the x-value is the effects estimate and the y-value is the corresponding probability.
Sample data, specified as a numeric vector or numeric matrix. If y is a matrix, then probplot displays a separate line for each column of y. Not all distributions are appropriate for all data sets. See dist for appropriate data ranges for each distribution. Distribution for probability plot, specified as a probability distribution object or one of the following distribution names:. The default is 'normal' if you create a probability plot in a new figure. If you add a probability plot to a figure that already includes one by using the ax input argument, then the default is the plot type of the existing probability plot.
You can create a probability distribution object with specified parameter values using makedist. Alternatively, fit a probability distribution object to sample data using fitdist. For more information on probability distribution objects, see Working with Probability Distributions. The y -axis scale is based on the selected distribution.
The x -axis has a log scale for the Weibull, loglogistic, and lognormal distributions, and a linear scale for the others. Censoring data, specified as a numeric vector.
Frequency data, specified as a vector of integer values. To create a probability plot using frequency data but not censoring data, specify empty brackets  for cens. Target axes, specified as an Axes object or a UIAxes object. Use gca to return the current axes for the current figure. Probability distribution for reference line, specified as a probability distribution object.
Create a probability distribution object with specified parameter values using makedist. Function for reference line, specified as a function handle. The function must accept a vector of input values as its first argument, and return a vector containing the cdf evaluated at each input value. Specify the parameter values required to evaluate fun using the params argument.
Reference line function parameters, specified as a vector of numeric values or a cell array. The function must accept a vector of values as its first argument, and return a vector of cdf values evaluated at each value.
Graphic handles for line objects, returned as a vector of Line graphic handles. Graphic handles are unique identifiers that you can use to query and modify the properties of a specific line on the plot. For each column of y , probplot returns two handles:.
The line representing the data points. The line showing the theoretical distribution for the probability plot, represented as a dashed line. To view and set properties of line objects, use dot notation.
For information on the Line properties that you can set, see Line Properties. The sample data is sorted, scaled according to the choice of dist , and plotted on the x-axis. When dist is 'lognormal' , 'loglogistic' , or 'weibull' , the scaling is logarithmic. Otherwise, the scaling is linear. The y-axis represents the quantiles of the distribution specified in dist , converted into probability values.
Enclose each property name in quotes. Camera focal length, specified as a two-element vector, [ fx , fy ]. F is the focal length in world units, typically millimeters. Optical center of camera, specified as a two-element vector, [ cx , cy ], in pixels. Image size produced by the camera, specified as a two-element vector, [ mrows , ncols ]. Radial lens distortion, specified as the comma-separated pair consisting of RadialDistortion and a two-element vector, [ k1 , k2 ], or a three-element vector, [ k1 , k2 , k3 ].
Radial distortion occurs when light rays bend more near the edges of a lens than they do at its optical center. The smaller the lens, the greater the distortion. The camera parameters object calculates the radial distorted location of a point. You can denote the distorted points as x distorted , y distorted , as follows: For severe distortion, you can include k 3. The undistorted pixel locations appear in normalized image coordinates, with the origin at the optical center.
The coordinates are expressed in world units. Tangential distortion coefficients, specified as the comma-separated pair consisting of ' TangentialDistortion ' and a 2-element vector, [ p 1 , p 2 ]. Tangential distortion occurs when the lens and the image plane are not parallel. The camera parameters object calculates the tangential distorted location of a point. Camera axes skew, specified as the comma-separated pair consisting of ' skew ' and an angle. If the x and the y axes are exactly perpendicular, then the skew must be 0.
Focal length in x and y , stored as a 2-element vector [ fx , fy ] in pixels. Thus, fx and fy are in pixels. The focal length F influences the angle of view and thus affects the area of the scene that appears focused in an image. For a fixed subject distance:. A short focal length offers a wide angle of view allowing to capture large area of the scene under focus. It emphasizes both the subject and the scene background. A long focal length offers a narrow angle of view, thus reducing the area of the scene under focus.
It emphasizes more on the subject and restricts the amount of background from being captured. Optical center of camera, stored as a two-element vector [ cx , cy ] in pixels. The vector contains the coordinates of the optical center of the camera. Image size produced by the camera, stored as a two-element vector, [ mrows , ncols ]. Projection matrix, stored as the comma-separated pair consisting of ' IntrinsicMatrix ' and a 3-by-3 matrix.