ensuresize¶
There are 2 forms of this command.
ensuresize(image, width, height, depth)
¶
Makes sure that the size of the parameter image equals dimensions given as an arguments. The parameter image is re-allocated only if its size must be changed.
This command can be used in the distributed processing mode. Use distribute command to change processing mode from local to distributed.
ensuresize(image, size)
¶
Makes sure that the size of the parameter image equals dimensions given as an argument. The parameter image is re-allocated only if its size must be changed.
This command can be used in the distributed processing mode. Use distribute command to change processing mode from local to distributed.