The content provides a tutorial video link and MATLAB code for combining two images either horizontally or vertically using App Designer. The source code defines a class ‘MergeImage’ with properties for the images and a ‘Merge’ button. The function ‘MergeButtonPushed’ reads the source of two images, merges them, and assigns the result to a third image component. Another function ‘createComponents’ constructs the UI Figure and its components (the three image components and the merge button). The code covers not only the creation of the app but also how to delete UI Figure when the app is deleted.
Tag: imshow
How to display an image from web URL in UIAxes of Matlab App Designer?
The content is about opening an image from a web URL in the MATLAB App Designer. A video tutorial is shared to demonstrate the process using sample URLs. The post also lists the source code required for this feature, which includes defining properties for app components like the UI Figure and URL Edit Field, creating various methods and callbacks for component events, and initialization of components. The code is written in a class named ‘WebImageInAppDesigner’. Questions or suggestions can be addressed to Programmer World through their contact form or email.
How to download an image file from internet and display in UIAxes using MATLAB script in App Designer?
In this video it shows the steps to download an image file from the internet (https URL) and save it in the local PNG file. In this video it uses sample images from the below webpage:https://programmerworld.co/android/how-to-create-a-gif-from-jpeg-images-in-your-android-app-android-studio-complete-code/ And below are the respective images’ URLs:https://i0.wp.com/programmerworld.co/wp-content/uploads/2022/11/images.jpeg?w=452&ssl=1https://i0.wp.com/programmerworld.co/wp-content/uploads/2022/11/images1.jpeg?w=679&ssl=1 It uses WEBREAD command to read the…
How to read numbers from an image in matlab using ocr (optical character recognition)?
This video shows how one can use OCR from Computer Vision toolbox of Matlab to easily read numbers or digits from an image. It further shows how we can superimpose a rectangle over the boundaries of the text part identified by the OCR in the image. I hope you like…