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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- 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)