# DGM

Last seen: Today Actif depuis 2015

Followers: 6   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.

All

#### Feeds

Afficher par

Réponse apportée
please explain the function of each command used in this code. These commands are part of allan variance code.
zeros() numel() sum() sqrt() https://www.mathworks.com/help/matlab/matlab_prog/matlab-operators-and-special-characters.html ...

environ 20 heures il y a | 1

Réponse apportée
Didn't recall that working either. X = [0 0 1 1]; Y = [0 1 1 0]; fill(X,Y,'','facecolor','#7E2F8E');

environ 20 heures il y a | 0

Réponse apportée
How to calculate standard deviation from ROI of image after thresholding?
You have the pixel values, so you can just use those. % a grayscale image inpict = imread('cameraman.tif'); % an antialiase...

environ 21 heures il y a | 0

Réponse apportée
How can i change the font size of XTick and YTick (x axis and y axis) in histogram of a image?
Other than manual editing, none of these answers work as simply as suggested. The reason is that imhist() creates two axes obje...

1 jour il y a | 0

Réponse apportée
A problem in using imhist to display histogram of indexed image
This is a bug that's been part of imhist() for a very long time. When fed an integer-class indexed image, the colorbar will be ...

1 jour il y a | 0

Réponse apportée
Make only the highest values of grayscale image transparent
I'm going to assume that the goal is to combine two images of the same page geometry and then save the result. If the end goal ...

6 jours il y a | 0

Réponse apportée
Loops aren't needed. % don't embed parameters into the code outsize = [256 256]; % [y x] % i'm assuming we live prior to R2...

11 jours il y a | 0

Réponse apportée
Reading image into 16 bit signed int
There's no elegant and succinct way of doing this with base tools alone, considering that you'll potentially need to support mul...

11 jours il y a | 0

Réponse apportée
how to convert a monochrome image of depth 24 bits into a monochrome image of depth 8 bits ?
Here's a more comprehensive example which should handle both unsigned and signed integers. Attached are two demo images. One i...

11 jours il y a | 0

Réponse apportée
How can I save a 32 bit image (uint32) as a tiff?
Here's a simple demo that should demonstrate writing odd numeric classes to a TIFF. This supports 8,16, and 32 bit signed and u...

11 jours il y a | 0

Réponse apportée
Normalizing by means of zero-mean
I'm going to stick this here and close the duplicate threads. What's missing from this form of the question is that the input i...

11 jours il y a | 0

Réponse apportée
How to find a polygon in an image
This is largely assembled from existing examples. I'm sure we can find a way to break it, but this image is pretty forgiving. ...

12 jours il y a | 0

Réponse apportée
Imfuse 'blend' issues
Like most cases, I don't see the point of using imfuse() here. If you're treating the images as if they're binarized, make sure...

12 jours il y a | 0

Réponse apportée
Bluewhitered function in tiledlayout environment
Unlike other map generators, bluewhitered() depends on the caxis of the current axes. You need to generate the map after you se...

12 jours il y a | 1

| A accepté

Réponse apportée
How can i change ppm image resolution when I using Imread?
Good gravy. I finally figured out what you're doing. You're writing your PPM files using 'maxvalue' set to 1023. This is wh...

12 jours il y a | 2

| A accepté

Réponse apportée
error
We know the following: You get a warning that a specific user-created (or downloaded) filename is preventing the use of a built...

13 jours il y a | 0

Réponse apportée
how to get the pixel value of histogram?
You have the bin values. You know which bins you want. Why are you zeroing the histogram counts instead of changing the image?...

13 jours il y a | 0

Réponse apportée
Make an image darker with overlay of another image
If your images are in standard scale (i.e. correctly scaled for their class), then I don't see why you'd be using imagesc() to d...

13 jours il y a | 0

Réponse apportée
Coor image enhancement in spatial domain
"Enhance" is shorthand for "read my mind and do whatever it is that I want but haven't spent enough thought to formally conceive...

13 jours il y a | 0

Réponse apportée
You're asking for a graphical image adjustment tool while simultaneously asserting that you can't use the extant ones because yo...

13 jours il y a | 0

Réponse apportée
Poor imshow image quality
The image is being drawn into a TiledLayout with the default wide padding and tile spacing. A ton of space is being wasted. ...

13 jours il y a | 0

Question

How to report/flag a user or a ThingSpeak channel?
When I find spammers, I often tend to check their profile to see what else needs cleaned up. Occasionally there are accounts li...

14 jours il y a | 1 réponse | 0

### 1

réponse

Réponse apportée
finding 4 neighbor of pixel in grayscale image.
Disregarding edges, the 4-neighbors of a pixel IM(y,x) are obviously %IM(y,x+[-1 1]) % horizontally-adjacent pair %IM(y+[-1 1]...

14 jours il y a | 0

| A accepté

Réponse apportée
Input is a valid integer
Assuming the input x is a char vector from input() which represents a numeric scalar: isvalidnumber('56') % positive scalar int...

17 jours il y a | 0

Réponse apportée
Unequal, custom, non-evenly spaced colorbar intervals
It can be done, but it's annoying to do. A lot of people take shortcuts and represent nonuniform intervals with uniform colorba...

19 jours il y a | 0

Réponse apportée
How can one use a variable to set color of a line plot , and use colorbar?
Here's a simpler way to do it using patch(). % the data as given load koordmean load anx % the coordinate data x = koor...

21 jours il y a | 0

| A accepté

Réponse apportée
how to use drawcircle methods with centroids array from bwconncomp
You're repeatedly overwriting h before you do anything with it. It's not clear what you expect to happen. If you just want the...

21 jours il y a | 0

| A accepté

Réponse apportée
how to plot the data over an image of graph to validate the data?
You can plot things over an image, but good luck guessing whether or not your image features actually line up with the coordinat...

23 jours il y a | 1

| A accepté

Réponse apportée
why file did not appear
Maybe it has something to do with that big red error because you created an invalid file name.

24 jours il y a | 1

Réponse apportée
how to get Integrated circuit pads in image?
This is not robust or applicable to other images or types of packages % read the image inpict = imread('https://www.mathworks....

24 jours il y a | 0