photo

DGM


Last seen: Today Active since 2015

Followers: 7   Following: 0

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
  • 36 Month Streak
  • Thankful Level 5
  • Solver
  • Personal Best Downloads Level 4
  • GitHub Submissions Level 3
  • Editor's pick for Answers
  • Most Accepted 2022
  • Ace
  • Most Accepted 2021
  • 5-Star Galaxy Level 4
  • Revival Level 3
  • Knowledgeable Level 5

View badges

Feeds

Answered
How to plot a filled rectangle without edge?
Disregarding recent changes to options handling, this seems like it was always an adequately answerable question. It was just u...

1 dag ago | 0

Answered
How to dewarp an image?
See: fitgeotrans() imwarp() See also: https://www.mathworks.com/matlabcentral/answers/319165-how-to-correct-the-skewed-persp...

3 dagen ago | 0

Answered
imwarp square in rectangular array to a rectangle in same rectangular array
I think the problem here was twofold. The input point list was flipped [y x], and the output point list was not expressed in th...

4 dagen ago | 0

Answered
Why is 'Clip Limit' reversed in the 'adaptisteq' code?
In what "original CLAHE function"? IPT's adapthisteq() follows roughly the same behavior as Karel Zuiderveld's original examp...

5 dagen ago | 1

Answered
split plane into set of squares
It's not clear where the bin limits actually are, but: % the data x = [1.33 1.89 9.27 9.46 9.20 7.43 6.08 5.57 6.70]; y = [8....

5 dagen ago | 0

Answered
compute rotation angle of binary shape image without having primary image(image before rotation)
As far as I recall, regionprops() has never had a Rotation property, and even if it did, that wouldn't be how it's invoked. Let...

5 dagen ago | 0

| accepted

Answered
Segmented blur fails when adding segments on image
This is closer to how I'd do it. This is easier to use, it's not restricted to single-channel images, and it correctly handles ...

5 dagen ago | 0

Answered
Colo alteration image acquisition GUI
If you want to use image() instead of imshow(), you'll need to read the synopsis. RGB inputs are rendered in truecolor, and are...

6 dagen ago | 0

Answered
Numbers on the middle of colorbar in MATLAB
Assuming a discrete colorbar, % the setup z = magic(3); imagesc(z) % the values associated with each discrete level tick...

6 dagen ago | 1

Answered
extracting table data from a plot picture question
It depends how the images vary and what you expect. This would normally be my recommendation: https://www.mathworks.com/matlab...

8 dagen ago | 2

Answered
How to detect a circle and then lines in the circle? (Reading time off clock image)
I'm going to do this in a particular way because I want to, not because it's robust or univerally appropriate. Let's start by...

10 dagen ago | 0

Answered
How do I fuse a JPEG image and a PNG with transparency.
Here's something simple for dealing with the arbitrary overlap. % inputs [FG,~,FGa] = imread('cancellation.png'); BG = imread...

10 dagen ago | 0

Answered
how to generate correct logical mask of the size of shape file?
I don't have everything to run your example, but the last lines are a problem at the least.a Use numel() to return the total n...

11 dagen ago | 0

Answered
recover color on image
I guess if I'm going to bump threads by fixing the formatting, I could at least try to answer them. This collection of threads ...

11 dagen ago | 0

Answered
Unsharp mask amplification - limiting local contrast
I'm not sure I know what the goals are here, but I'll go. Instead of increasing global contrast, try a piecewise approach. % c...

12 dagen ago | 0

Answered
how to extract connected components with similar height
There are some problems here. % the input image inpict = imread('fruittext.png'); inpict = im2gray(inpict); mask = imbinariz...

13 dagen ago | 0

Answered
Difference between jpg files from Matlab and ImageMagick
I'm not familiar with whatever differences might be in the encoders, but there's one obvious thing that should be pointed out. ...

14 dagen ago | 0

Answered
matlab code for face detection using RGB space color && skin color
Good gravy. This is what that section does. % using bwlabel is unnecessary unless you actually want to % explicitly use 4-...

14 dagen ago | 0

Answered
I want to convert an image to dimension MxNx3 from MxNx4.
If you have a TIFF file, from which imread() returns a 4-channel image, then it's ostensibly a CMYK image. If the image is le...

14 dagen ago | 1

| accepted

Answered
No difference between font size units 'pixels' and 'points'
I'm not sure how it's doing the scaling internally, but my guess would start here: % units per em sz = 16; % units per inc...

16 dagen ago | 1

| accepted

Answered
Perform Google Search in Matlab
Here's a basic example. I'm pretty sure there are other ways of doing this, but the docs are a confusing maze. Last I checked,...

18 dagen ago | 0

Answered
Est-ce que possible de transformer image niveau de gris en image RGB? Si oui pouvez-vous me donner un code qui fait cette transformation.
See also: How to i convert grayscale to RGB? (expansion, channel deletion, hue rotation, gcolorize, imblend, colormapping) htt...

23 dagen ago | 0

Answered
How can I save a figure (in jpeg and pdf) from this code?
At least as of R2019b, saveas() and print() do not accept uifigure handles. The documentation suggests that's still the case, b...

23 dagen ago | 0

Answered
This is face morphing. Now I want to save and convert to a gif image format.
Here: % inputs A = imread('tape.png'); B = imread('strawberries.jpg'); % parameters nframes = 20; framedelay = 0.1; dit...

24 dagen ago | 0

Answered
Calculation of psnr value in RGB image. I have calculated psnr using this code. But the result obtained is a complex number. What should be the error??
There are plenty of problems. function PSNR = psnrgb(I,W) [m,n,p] = size(I); [h,w,q] = size(W); % obviousl...

24 dagen ago | 0

Answered
Exporting Graphs from Matlab App in PNG or JPG
Using gcf() won't work. The GUI handles aren't immediately visible, so calling gcf will just open and capture an empty figure. ...

26 dagen ago | 0

Answered
why use 0.008856 in Lab color space?
The L* function is piecewise, and epsilon is the breakpoint location in terms of relative luminance (obviously). What significa...

29 dagen ago | 0

Answered
Undefined function or variable 'impixelinfo'.
impixelinfo() is part of the Image Processing Toolbox

29 dagen ago | 0

Answered
Is it possible to use the makehdr MATLAB function with 16bit images?
This appears to have been a bug in makehdr(). As usual, it doesn't appear anywhere in bug reports, but starting somewhere aroun...

29 dagen ago | 1

Answered
Imported greyscale image into ImageLabeler, the main workspace shows the image as black, but Image Browser shows correct images
A few things to know: The imageBrowser app will misrepresent grayscale images by automatically rescaling their dynamic range. ...

29 dagen ago | 0

| accepted

Load more