Risposto
How to convert flowchart to MATLAB code ?
This is what I was squatting on. It's not a literal interpretation of the flowchart, but there's no good reason to use a litera...

oltre 2 anni fa | 0

Risposto
Rotation of colormap for ellipsoid
No code was provided, so we don't know how the objects CData relates to its ZData. We don't know what OP observed or expected, ...

oltre 2 anni fa | 0

Risposto
Plotting image color values-How to crop image
Barring the potential problems of using double() instead of im2double(), I see one problem with how you're using imshow(). If ...

oltre 2 anni fa | 1

Risposto
how to auto crop a image?
I'm not sure if this is about a white border or (if that's the case) whether figure capture was the cause. That said, I'm getti...

oltre 2 anni fa | 1

Risposto
Finding antenna gain curves/functions from an image
I strongly recommend manual transcription. Trying to automagically isolate the curve from the gridlines is going to be tedious,...

oltre 2 anni fa | 1

Risposto
MATLAB code for extracting temperature value from BMP format image followed by background removal
An estimate of the colormap can be derived from the image. inpict = imread('https://www.mathworks.com/matlabcentral/answers/upl...

oltre 2 anni fa | 0

Risposto
I didn't know how to find r
Walter hinted at a symbolic approach to a tangential junk question-as-comment. I figured I'd provide an answer covering both be...

oltre 2 anni fa | 0

Risposto
Removing the background from imagesc image.
Different colormap examples: Z = im2double(imread('bbbb.png')); % background is at the bottom of the map imagesc(Z) colorm...

oltre 2 anni fa | 0

Risposto
Removing the background from imagesc image.
What are your actual goals? What do you want in the areas you "removed"? Is the background actually an image? Is the foregroun...

oltre 2 anni fa | 0

Risposto
Keyboard input is not working in Matlab GUIs on Ubuntu 18.04
As @Amy already mentioned, the broken UI elements (edit boxes, dropdowns) is a longstanding bug that is here to stay. https://w...

oltre 2 anni fa | 2

Risposto
how to get matlab code to detect a changes from 0 to 1 in a binary mask?
Depends what you mean by "find pixels where the mask goes from 1 to 0" % the mask mask = imread('tinyblobs.png'); imshow(mask...

oltre 2 anni fa | 0

Risposto
Ihave got a matlab code for patch extraction of an image. please explain the algorithm behind that code
To answer @R Sai Kiran's question: If we assume the following: the intent is to pad the tiles with white aspect ratio should ...

oltre 2 anni fa | 0

Risposto
Plot a Cuboid with a cylindrical shaped hole in 3D
I'm just going to put this here. % needed to zip attachments for the forum unzip things.zip % read the file fname = 'thing...

oltre 2 anni fa | 0

| accettato

Risposto
number of objects in images
You can only barely segment that first image using rgb2gray(). The background and foreground regions differ by as little as 1LS...

oltre 2 anni fa | 0

| accettato

Risposto
I would like to modify the code to create some gif video images from png images.
You closed the figure using close() before you tried to take a screenshot of the same figure with getframe(). Of course, it loo...

oltre 2 anni fa | 0

Risposto
How to binarize a image with low contrast in certain areas?
Here's one attempt. inpict = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1523331/image.jpeg'); % ...

oltre 2 anni fa | 0

Risposto
creating video fire effect from perlin noise
If we don't care about efficiency, we can just create an excess of noise and sample it. % Set parameters numFrames = 100; % ...

oltre 2 anni fa | 1

Risposto
How to transparently superimpose two images with two colorbars
Here's a rudimentary example using lines/markers to make the overlay. I'm not sure how exactly you want it shaped, so I assumed...

oltre 2 anni fa | 0

Risposto
extracting lat/lon from tif file using matlab
I never really use mapping stuff, so take this with a grain of salt. fname = 'NA_CONUS_border.tif'; [tifImage, R] = geotiffrea...

oltre 2 anni fa | 0

Risposto
Blurry figures when concatenating images
First, don't save line plots as JPG. It's unnecessarily destructive and it usually results in a bigger file for literally no be...

oltre 2 anni fa | 1

| accettato

Risposto
How to extract information from a 'true color' image and interpolate?
As I said, the given image is the weighted sum of two things: % compositeimage = alpha*pseudocolorimage + (1-alpha)*grayscaleim...

oltre 2 anni fa | 0

| accettato

Risposto
How Do I Create a Mean Filtered Image using For Loops?
There are a bunch of examples of basic sliding window (and probably blockwise) filters on the forum. I don't have my bookmarks ...

oltre 2 anni fa | 1

Risposto
how to create diamond of 101x101 in matlab
Here's one way that doesn't require IPT strel(), though chances are this wouldn't have worked in late 2016 unless OP was running...

oltre 2 anni fa | 0

Risposto
How can I dilate different parts of an image with different structuring elements?
You can do it by dilation if you want, but you'd have to process each object independently. Consider the following image. ...

oltre 2 anni fa | 0

Risposto
Applying a color for each pair of spherical angles through the hue and lightness parameters
Rereading the question, I take it that the 3D representation is just an example, not necessarily a goal. Given that the vector ...

oltre 2 anni fa | 1

| accettato

Risposto
How can i superimpose image on plot?
See also: A custom image (with transparency) following a plot trace to form an animation: https://www.mathworks.com/matlabcent...

oltre 2 anni fa | 0

Risposto
How to convert a grayscale indexed image into a RGB indexed image ?
There are basically three ways an image can be rendered in MATLAB. You can have a MxNx3 RGB truecolor image. That's fairly s...

oltre 2 anni fa | 2

| accettato

Risposto
Matrix to numbers in script?
If you're just generating a set of constants to embed into the script, you can use mat2str(), though depending on your actual va...

oltre 2 anni fa | 0

Risposto
How do I get the brightest pixels from this image?
See watershed() % assuming D is a distance map D = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1500...

quasi 3 anni fa | 0

Risposto
how to find pixel values and intensity of grayscale image and plot them (x-axis as pixel value and y-axis as pixel intensity)
I'm going to go out on a limb and guess that this is where it's going. If the relationship is that between the data values and ...

quasi 3 anni fa | 0

| accettato

Carica altro