com.mathworks.toolbox.javabuilder.Images Class
Namespace: com.mathworks.toolbox.javabuilder
Java utility methods for image data manipulation within MWArrays
Description
Declaration
public class Images extends java.lang.Object
Creation
Declaration
Images()
Methods
renderArrayData |
Create a RenderedImage from the data in the given MWNumericArray. This array must conform to the following restrictions:
Example: Converting figure data in a MWArray to a Buffered Image This example takes an MWArray containing figure data and converts it to a buffered image. It then constructs a byte array the same size as the image. Convert figure data output (a three dimensional numeric array) into a buffered image as follows: BufferedImage img = Images.renderArrayData((MWNumericArray)mwArray); int estimatedSize = img.getHeight()*img.getWidth()*3; byteOutputStream = new ByteArrayOutputStream(estimatedSize); Parameters:
Returns:
|
Methods inherited from class java.lang.Object
.
clone |
Used to create and return a copy of the object it is called on. This method is protected and provides a shallow copy, meaning it copies the values of an object's fields directly. For fields that are objects, it copies references, not the objects themselves. |
equals |
Used to compare two objects for
equality. It checks if the two objects are the same in terms of their content,
rather than just comparing their references. By default, the
|
finalize |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
getClass |
Returns the runtime class of this Object. |
hashCode |
Used to return a hash code
value for the object. This integer value is used for efficiently storing objects
in hash-based collections like |
notify |
|
notifyAll |
Wakes up all threads that are waiting on this object's monitor. |
wait |
Causes
the current thread to wait until another thread invokes the
|
Version History
Introduced in R2006a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)