photo

DGM


Last seen: Today Active since 2015

Followers: 8   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
Finding contiguous regions of interest in a mask and calculating the mean values of those regions when the mask is applied to an array
You have a mask and a (assumed) grayscale image. Here are three ways: % a grayscale image and a logical mask of the same geome...

8 days ago | 0

Answered
Can I digitized color map into contour values according to it color bar?
No, not accurately. There are a number of problems. You can try anyway. Filled contour plots are ambiguous. The only parts...

9 days ago | 1

| accepted

Answered
capture focus change of a figure
This is based on the examples given in the comments. I've tested it in R2015b and R2019b, so I'm assuming it would have worked ...

11 days ago | 0

Answered
How to move figure window to front of all programs?
If you want the window to stay on top even if other windows are given focus, you can set that in the window manager. % you have...

12 days ago | 0

Answered
image edge detection result
There are some tools for creating DXF files https://www.mathworks.com/matlabcentral/fileexchange/33884-dxflib ... but they're ...

14 days ago | 0

| accepted

Answered
How can the objects touching the boundary of the ROI polygon in an image be removed in Matlab?
You might want to use imclearborder(), but that's not what imclearborder() does. If you have logical masks, then: % say you ha...

25 days ago | 0

Answered
decoding of bitstream in image processing?
There are four possible transition states, but only three are (confusingly/incorrectly) described. Assuming the following: a 0...

25 days ago | 0

Answered
How to shade the intersection area between two overlay image?
JPG screenshots of the ambiguous superposition of working images are not working images. % the only given image is a screenshot...

25 days ago | 0

Answered
how to detect the haziness of the color image?
I wasn't going to post this, but I guess I will anyway. I went and grabbed a paper on a "haziness" metric. https://www.resea...

27 days ago | 0

Answered
Difference between manually-created gaussian filter and fspecial
I believe the original question was pasted incorrectly, since both examples appear to be identical (except a transpose). Neithe...

28 days ago | 0

Answered
text image in matlab without using getframe
See: https://www.mathworks.com/matlabcentral/answers/101413-how-can-i-add-text-to-an-image-and-make-the-text-become-part-of-the...

1 month ago | 0

Answered
How to find the positions of pixels with 4 neighborhood in a binary pixel grid
I wouldn't bother with conditionally checking for out-of-bounds indexes in the loop. Simply pad the array and process it. Lett...

1 month ago | 1

Answered
Superimposing two imagesc graphs over each other.
It can be done, but unless your colormaps are very simple and non-intersecting, you can't expect to be able to visually (or even...

1 month ago | 0

Answered
Background segmentation for low contrast images
Let's start by doing what was asked. % read and prepare the image inpict = imread('image.png'); inpict = im2gray(inpict); ...

1 month ago | 0

Answered
What can I do to make the pattern in the legend larger?I look up a lot of ways, can't solve, ask for help.Thinks!
@Star Strider pretty much reviewed what I dug through. There were changes to legend() over the years. A lot of the workarounds...

1 month ago | 0

| accepted

Answered
Filters Main Function in Image Processing
At first I thought this was an issue of misusing uint8(), but no. This is just a collage of nonsense and dead code. Most of it...

1 month ago | 0

Answered
How to create a new image with average color of input image in the segmentation region?
There are several ways to approach this. I'm going to assume "color" implies that the image may either be RGB or grayscale. Co...

1 month ago | 0

Answered
I can't load the lighthouse.mat image
I found this one (attached), but I can't be sure if it's the right one. I have to wonder, since it seems that you're expecting ...

1 month ago | 0

Answered
Could you please tell me how to extract the particular bits from each bit map images. and a way to store all these constructed files, The matlab program of getting 8 bits map images is as follows
imwrite() exists. For logical images, use PNG. That said, I don't know why you'd be saving the bitplanes as individual images....

1 month ago | 0

Answered
how to store(imwrite) all the extracted coin images in Labeling labeled objects .
At first I thought the code just needed a little cleanup and debugging, but the more I looked at it, I'm thinking it's just a co...

1 month ago | 0

Answered
Sensitivity adaptive threshold : number of pixels ?
The usage of the sensitivity parameter doesn't influence the neighborhood statistics. It's simply used as a polarity-independen...

1 month ago | 0

Answered
How to superimpose a segment image to original image?
don't save images by taking screenshots of the figure, unless you want the result to be arbitrarily resized and padded. don't s...

1 month ago | 0

Answered
Know which branchpoints are connected to other branchpoints?
There are probably smarter ways to do it, but: % a logical image inpict = imread('hands1-mask.png'); % the skeleton sk = b...

1 month ago | 0

Answered
Divide 3d line into segments
I don't think that what's requested is necessarily the only way to get around the problem, but consider the following image: %%...

1 month ago | 1

| accepted

Answered
Incorrect image in bwconncomp function documentation
Yep. That looks like when they edited the example to include the new cc2bw() function, they changed the variable name, but didn...

1 month ago | 0

| accepted

Answered
Some .jpeg photos can not be processed by Matlab code.
The sum of the elements will always be <=255. You're adding uint8 values, so they'll be truncated. % inputs inclusion_darknes...

1 month ago | 0

Answered
Function definitions are not permitted in this context.
OP was running R2014b, so local functions are not allowed in script files.

1 month ago | 1

Answered
how can i enter the pi symbol on keyboard
It depends where you're trying to enter it and why, but these are some examples https://www.mathworks.com/matlabcentral/answers...

1 month ago | 0

Answered
I wrote this code for detecting the edge of the image but the result is different that the built in function result. what is the problem ?
IPT edge() uses multiple different methods for finding edges, then it binarizes and skeletonizes the results. Since we still do...

1 month ago | 0

Answered
Adaptative filter problem with Matlab
Hmh. Well. I don't know what to do with this on the forum, so I'll just attach it. Both files have been fixed. Here's a short...

1 month ago | 0

Load more