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. -- I don't reply to email anymore. If you have a question about my questionable FEX submissions, leave a comment on the FEX page and I'll get the notification. Alternatively, ask a question on the forum and @DGM me so I'll get notified.

Statistics

All
  • Thankful Level 4
  • 12 Month Streak
  • Solver
  • GitHub Submissions Level 3
  • 5-Star Galaxy Level 4
  • Most Accepted 2021
  • Guiding Light
  • Revival Level 3
  • Knowledgeable Level 5
  • Explorer
  • First Answer
  • Personal Best Downloads Level 3

View badges

Content Feed

Answered
Can someone with a free account (without MATLAB license) solve Cody problems and get badges?
I know dpb already mentioned it, but it's easy enough to test if you have such an account. I just solved the introductory Cod...

environ 12 heures ago | 0

| accepted

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ 12 heures ago

Answered
I have an image that is 234x432x4 size wise. I tried imshow() and image(), but it doesn't work. What do I use?
If the image is CMYK, hyperspectral, or simply a volumetric image, then this answer really doesn't apply. Admittedly, it's more...

1 jour ago | 0

Answered
How to use imtile, montage or any other methods to concatenate images without affecting the resolution?
If you're using IPT imtile() or montage(), you can maintain the geometry of each sub-image by making sure the 'thumbnailsize' op...

2 jours ago | 0

| accepted

Submitted


Image Manipulation Toolbox
A large collection of image manipulation tools of varying utility

2 jours ago | 128 downloads |

Thumbnail

Submitted


Image blending functions
Image blending & compositing with support for 4D images, influence scaling, and several uncommon modes

2 jours ago | 13 downloads |

Thumbnail

Submitted


Colorspace Conversion Tools
Bidrectional image conversion for HSI, HSL, HWB, HSY, HuSL, LCH, and others

2 jours ago | 12 downloads |

Thumbnail

Submitted


Simple DTMF Encoder & Decoder
Simple tools for demonstrating encoding and decoding a sequence of DTMF tones.

2 jours ago | 10 downloads |

Thumbnail

Submitted


A (slightly) more robust version of when()
Find the MATLAB version when a given function was introduced.

2 jours ago | 1 download |

Thumbnail

Question


Change FEX submission to use offsite hosting
When creating a new submission on the File Exchange, you have the choice of: uploading to TMW's servers linking to GitHub lin...

7 jours ago | 0 answers | 0

0

answers

Answered
Change specific color in an image to another one
Consider the following example using the OP's original image and task. % Load image [idxpict,ct] = imread('iteration31.png')...

28 jours ago | 0

Answered
How do I get coordinate from 2D image ?
What's wrong with just finding the maxima of the inputs themselves? % you have z as a function of x and y [x y z] = peaks(100)...

environ un mois ago | 0

| accepted

Answered
Setting overlap colours in plot with transparent layers
When using alpha properties to visualize the intersection of graphics objects, there isn't really a way to make the intersection...

environ 2 mois ago | 0

| accepted

Answered
How can I use view a montage using Image Viewer App through imtool()?
You should be able to use imtile() instead of montage() with the same syntax in this particular case. The output of montage() i...

environ 2 mois ago | 0

| accepted

Answered
How to modified maximum pixel value in logical array
I'm going to post this as a tentative answer. I doubt my interpretation of your intent is wholly correct, but it's probably cor...

environ 2 mois ago | 0

Answered
Convert RAW File (images) to PNG
A .raw file can be a number of different things. I'm not familiar with .mhd files, so I can't comment on that. It's not clear...

environ 2 mois ago | 0

Answered
problems with creating a multiplication table
R and C have no ':' in them. R and C are row vectors, because that's what 3:10 and 2:3:33 are. It's unclear what the behavior ...

environ 2 mois ago | 0

| accepted

Answered
Hatchfill function not working
Both hatchfill() and applyhatch_pluscolor have been unmaintained for a decade now and predate the current graphics system. If y...

environ 2 mois ago | 0

Answered
I used applyhatch_pluscolor to fill the bar chart, but the legend and coordinates text are blurred,
That FEX submission hasn't been maintained in over a decade and predates the current graphics system. It doesn't work unless yo...

environ 2 mois ago | 0

| accepted

Answered
generating random particles effect to an image
This is built using MIMT tools: % parameters s = [500 300]; % output image size [height width] numspots = 20; % number of spo...

environ 2 mois ago | 1

| accepted

Answered
heatmap color RGB data for manaully created image
The use of heatmap() is unnecessary. This is a basic use of indexed color. Generate a color table and find the indexes into it...

environ 2 mois ago | 0

| accepted

Answered
What non-built-in functions do you use frequently?
I know nobody needs a thread revival, but it's something that I'm constantly reminded of because I have to avoid it in posting t...

2 mois ago | 0

Answered
Saving an imagesc file as .png without the white borders?
If you have an image and want to save the image, save the image. Don't display the image and then save a screenshot of the disp...

2 mois ago | 0

Answered
sum a column per row with loops
I'm going to assume you mean to do a cumulative sum of rows: A = ones(5) % a smaller example B = cumsum(A,2)

2 mois ago | 0

| accepted

Answered
How can i crop the image based on white pixel value
Assuming that the image is 2D, this is one way A = imread('pepcircmask.png'); imshow(A) % find the first and last row contain...

2 mois ago | 0

Answered
Is Pixel Interpolation possible in MATLAB? If so, how?
You should be able to use regionfill() % a test array with a zero pixel A = uint8(randi([0 255],5,5)); A(3,3) = 0; imshow(A)...

2 mois ago | 1

| accepted

Answered
unit 8 and im2double and white pixel
I think it was your comment I responded to earlier, so I suppose there's no harm repeating it here. Tools like imshow() and imwr...

2 mois ago | 1

Answered
How to interpolate a closed polar plot
EDITED: You could enforce endslopes, but this is probably more accurate % the same fake data Angle = [0 90 180 270 360]; Ma...

2 mois ago | 0

| accepted

Answered
Understand the algorithm(s) employed in imlocalbrighten function?
The majority of the work done by imlocalbrighten() is handled by imreducehaze(). The rest is just input parsing, inversion, and...

2 mois ago | 1

| accepted

Answered
I'm trying to perform the XOR operation between a 4x4 block of an image and a pseudo-random matrix of size 4x4.
Use bitxor() on arrays of uint8 class. You'll have to cast your random array to match using uint8(). A = uint8([1 2 3]) B = u...

2 mois ago | 0

| accepted

Load more