Community Profile

photo

DGM


Last seen: Today Active since 2015

Hi, I'm nobody. I don't belong here, but I have nothing better to do. Matlab used to be part of my work. Now it's part of my hobbies. That's pretty sad, really.

Statistics

All
  • Thankful Level 5
  • Editor's pick for Answers
  • Solver
  • Personal Best Downloads Level 4
  • GitHub Submissions Level 3
  • 24 Month Streak
  • Most Accepted 2022
  • Ace
  • Most Accepted 2021
  • 5-Star Galaxy Level 4
  • Revival Level 3
  • Knowledgeable Level 5

View badges

Content Feed

Answered
reverse of bwmorph(BW, 'skel' )
Here's another idea using distance transform and watershed(). This uses the same blob and skeleton as in my prior comment. % a...

10 hours ago | 0

Answered
help Adaptive median filter !!
This answer discusses and provides a link to an implementation of a similar adaptive median filter: https://www.mathworks.com/m...

2 days ago | 0

Answered
removing up and down spikes from a surface
It would help to have an example of the data to know what the ranges look like. At first glance, I might try to throw an adap...

2 days ago | 0

Answered
How can I find a path for each letter containing a list of x and y values?
If you're trying to vectorize text, and aren't terribly concerned with the font, you could just start with text that's already i...

3 days ago | 0

Answered
How to Apply Jet Colormap to Montage?
There are two places where color tables are used: indexed color images (direct colormapping) pseudocolor representations of a...

4 days ago | 1

| accepted

Answered
Rotate one image and plot on top of another
Since the images are the same size, this can be done with a simple blend, without the need for any compositing. % reading in ...

6 days ago | 0

| accepted

Answered
Save 2D double arrays as 3-channel png files (RGB)
The file double2rgb() does not do the same quantization as pcolor()/imagesc() will with CDataScaling = 'scaled'. Consider this ...

6 days ago | 1

Answered
how can we represent a pixel to a character in image ?
To convert to unit-scale: im2double() normalizes the image with respect to black and white mat2gray() normalizes the image wit...

7 days ago | 0

Submitted


MIMT-blend-tools
Image blending and compositing tools from MIMT

7 days ago | 11 downloads |

Thumbnail

Submitted


MIMT-conversion-tools
Image conversion tools from MIMT

7 days ago | 12 downloads |

Thumbnail

Submitted


MIMT
MATLAB Image Manipulation Toolbox

7 days ago | 109 downloads |

Thumbnail

Submitted


MIMT-gif-tools
Tools from MIMT to read/write multiframe GIFs

7 days ago | 16 downloads |

Thumbnail

Answered
Extract part from an RGB image based on the obtained pixel locations.
"Extract" tends to be a word that gets used in ways that make it difficult to know what anyone means when they use it. Here are...

8 days ago | 1

| accepted

Answered
Is it possible to code png's similar to a grid?
The question is a bit unclear, but maybe this is something in the right direction: % some images [fg,~,fga] = imread('sadberry...

10 days ago | 2

Answered
Extract RGB from an Image and fit to color legend values in MATLAB
There are a number of examples of doing this. Here's another. % another crusty JPG of a questionable plot inpict = imread('ht...

10 days ago | 0

| accepted

Answered
How to remove annotations in an image
Using manual selection is one way. I'm going to try to do this programmatically. % this is an indexed-color image [inpict CT...

11 days ago | 0

Answered
aligni to the center character string in array cells
So it's either a string array or a cellchar. In either case it has some unknown amount of whitespace on at least one side. It'...

13 days ago | 0

Answered
why I use imread fuction this photo not RGB array?
It's an indexed-color image. If you want it to be RGB, you can convert it. % this is an indexed image and its corresponding co...

13 days ago | 0

| accepted

Answered
How can I track these fine particles?
Here's one idea. I'm sure there are better ways. It really depends which specks are necessary. With the limited depth of fiel...

13 days ago | 1

Answered
Removing white space when using axis equal
I'm going to guess that this is relevant: https://www.mathworks.com/help/matlab/creating_plots/save-figure-with-minimal-white-s...

13 days ago | 0

Answered
How to smoothen or interpolate an array of data if I cut out some parts of it?
I don't know why nobody has mentioned fillmissing() or other inpainting tools. load data.mat % pick a region to inspect i...

14 days ago | 0

Answered
Convolution of two curves
If you read the video description, there's a link to the animation script. https://github.com/umarkhan353/SP_MATLAB_IntellCity ...

16 days ago | 0

Answered
How to resize imtool window?
Set the figure properties as you choose. inpict = imread('peppers.png'); hi = imtool(inpict,'initialmagnification',200); se...

16 days ago | 0

Answered
Finding pixel numbers for certain colors
That depends entirely on how you want to make the distinction between "red" or "blue" and colors which are in-between, because t...

18 days ago | 0

| accepted

Answered
Displaying alpha values written into an image file
MATLAB has no image viewer which can conveniently handle isolated display of transparent images. If you try to display the imag...

19 days ago | 0

Answered
Matlab jokes or puns
(cough) yeahah what('is love')

19 days ago | 0

Answered
How to convert stance image from index to grayscale
No, don't use BT709 luma. No, don't discard columns from the colormap. If you're using IPT ind2gray(), just use ind2rgb(). ...

19 days ago | 1

Answered
How to delete inserted shapes via user interface
Why is this a ridiculous idea? The output of insertShape() is a raster image. There aren't shape objects to select. There's n...

19 days ago | 0

Answered
Issue with generating a sine wave via linspace and colon
You're trying to draw a sine wave with a frequency 30x higher than your sampling rate. The output is nothing but aliased nonsen...

19 days ago | 2

| accepted

Answered
Can someone help me with changing colors on insertShape function??
Both CVT insertShape() and insertText() differ from most other IPT/base MATLAB tools, in that the color tuples/tables they accep...

19 days ago | 0

Load more