DGM - MATLAB Central
photo

DGM


Last seen: Today Con actividad desde 2015

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

Estadística

All
MATLAB AnswersFile ExchangeCodyFrom 07/15 to 03/25Use left and right arrows to move selectionFrom 07/15Use left and right arrows to move left selectionTo 03/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

37 Preguntas
2.827 Respuestas

File Exchange

10 Archivos

Cody

0 Problemas
1 Solución

CLASIFICACIÓN
30
of 297.547

REPUTACIÓN
6.688

CONTRIBUCIONES
37 Preguntas
2.827 Respuestas

ACEPTACIÓN DE RESPUESTAS
62.16%

VOTOS RECIBIDOS
835

CLASIFICACIÓN
928 of 20.454

REPUTACIÓN
2.027

EVALUACIÓN MEDIA
5.00

CONTRIBUCIONES
10 Archivos

DESCARGAS
366

ALL TIME DESCARGAS
13021

CLASIFICACIÓN
97.263
of 159.122

CONTRIBUCIONES
0 Problemas
1 Solución

PUNTUACIÓN
20

NÚMERO DE INSIGNIAS
1

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
0 Temas destacados

MEDIA DE ME GUSTA

  • 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

Ver insignias

Feeds

Respondida
Surf color based off of greater than or less than a number
There are a bunch of blue-red colormap generators out there, or you could create your own. Either way, this is one way to apply...

alrededor de 12 horas hace | 0

| aceptada

Respondida
Avi produced using writeVideo is clipped.
I think I see what's going on here, and it is easily misleading. I assume that this example will replicate the effect you're se...

1 día hace | 0

| aceptada

Respondida
How to create a custom colormap ("seismic" from python)
Without relying on any external python dependencies, here is an adequately accurate approximation. n = 256; % specify the len...

7 días hace | 0

Respondida
how to fuse image
I've posted other answers regarding "fusion". While it's a vague question, a fixed 50% weighted mean (the only "blend" imfuse()...

8 días hace | 0

Respondida
Save indexed image as RGB
This doesn't look like you're using indexed-color images. It looks like you're trying to create RGB pseudocolored representatio...

13 días hace | 1

| aceptada

Respondida
How can I load a portion of a .tif file using readgeoraster?
As far as Joshua and the documentation suggest, the accepted answer is nonsense, but I can't demonstrate it specifically with a ...

13 días hace | 0

Respondida
Delay in Plotting Next Overlaid Plot When Animating 2D Plot
You're creating a new high-level graphics object for each plot() call. That gets very expensive, and everything will just keep ...

17 días hace | 1

| aceptada

Respondida
Why do I write as Ib(1:478,31:565)(~BW) = 255
There are various ways, including expanding the mask, or using more purpose-built tools, but if you're trying to apply an unders...

17 días hace | 0

| aceptada

Respondida
How to remove 'zeros 0' from histogram so it will not affect imhistmatchn?
I'm going to guess at what's going on here. I'm assuming you're doing something like this: % a single-channel image and a logi...

alrededor de 2 meses hace | 0

| aceptada

Respondida
How to fill a large hole?
I don't have the original image, but I'm going to assume that your image is RGB. Use im2gray() to make sure that the incoming i...

2 meses hace | 1

| aceptada

Respondida
Extract individual curve from a multiple curve plot
This is the garbage I put together. It could stand to be cleaned up, but it still has problems. It seems to sort data and fill...

2 meses hace | 0

Respondida
Extract individual curve from a multiple curve plot
This is probably fragile and overcomplicated, but eh. % the data load data.mat x = data(:,1); y = data(:,2); %scatter(x,y,'...

2 meses hace | 0

Respondida
Drawing bounding box onto an image without imshow and hold on ...
Just because I felt like doing it my way. % any image inpict = imread('peppers.png'); % some 2D logical mask of the same p...

2 meses hace | 0

Respondida
How can I change each pixel value in a cluster using k-means algorithm to different colors
Create a label array from the segmentation. Create a color table associating each label to a desired color -- either the mean c...

3 meses hace | 0

Respondida
how to crop a binary mask to remove all black pixels while maintaining the largest area of white pixels?
Using this tool from the FEX: https://www.mathworks.com/matlabcentral/fileexchange/71491-largest-inscribed-rectangle-square-or-...

3 meses hace | 0

Respondida
how to crop a binary mask to remove all black pixels while maintaining the largest area of white pixels?
Another way. This is essentially the same as Walter's example, but it's rolled up as a convenient function. It can crop simple...

3 meses hace | 0

Respondida
How to give Gray color histogram gray shade instead of blue
I slightly disagree with using the bar/stem colors to denote the color represented by each channel. It's nice to color-code thi...

3 meses hace | 1

| aceptada

Respondida
Analyze intensity of a specific region.
If you just want basic color statistics within a region: % a color image inpict = imread('image.jpeg'); % reduce it to some...

3 meses hace | 0

Respondida
How to map each pixel in the image from the colour bar and assign temperature to the pixel from the colour bar
There are now quite a few examples of this on the forum. Here's another. % the image inpict = imread('image.jpeg'); imshow(i...

3 meses hace | 0

Respondida
How to count the amount of small squares in this picture?
The given answers have problems with accuracy. One way to help with discrimination is to do some sort of template matching. ...

3 meses hace | 1

| aceptada

Respondida
How to randomly select the datapoints in a vector based on percentage for each group?
There has to be a smarter way than this, but I guess this is one idea. % some fake data x = randn(1000,1); % the percentile...

3 meses hace | 0

Respondida
Digital image processing.
It's not clear what is expected by rotating an image without changing its size or resolution. What does "size" mean in this con...

3 meses hace | 0

Respondida
Error in computing median filter and histogram equalization on an image. How can i solve it?
The image is a JPG, and most JPGs are RGB. fname = 'https://www.mathworks.com/matlabcentral/answers/uploaded_files/280425/1a.jp...

3 meses hace | 0

Respondida
how to remove error ??? Error using ==> iptcheckinput Function MEDFILT2 expected its first input, A, to be two-dimensional. Error in ==> medfilt2>parse_inputs at 109 iptcheckinput(a, {'numeric','logical'}, {'2d','real'}, mfilename, 'A', 1); Error i
The image is a JPG. Most JPGs are RGB. Medfilt2() only accepts a single-channel input. You either need to make the input sing...

3 meses hace | 0

| aceptada

Respondida
How can we apply a gaussian noise to a image?
If you want to add Gaussian noise to an image, just use imnoise(). That way, there's no need to jump through extra hoops to deal...

3 meses hace | 0

Respondida
How do i zoom imhist?
I see two potential needs here. Scaling YLim and possibly scaling XLim Adjusting YLim: The most common is probably a need t...

3 meses hace | 0

Respondida
How to create axes in the center of an image and calculate angles between the points in an image?
There's no need to use manual transcription of a plot. Use the points that have already been found. Here is a hypothetical rec...

3 meses hace | 0

Respondida
Average distance between nearest neighbors of grain boundaries
Maybe a start, maybe not: % the image as a logical mask inpict = imread('unettestfile.png')>128; % if we're not going to fi...

3 meses hace | 0

Respondida
Why does imagesc show different outputs for the same input matrix?
The problem is the ydata spacing is not uniform between the two sets. Tools like image(), imagesc(), and imshow() don't use all...

3 meses hace | 1

| aceptada

Respondida
Controlling colors in scatter plots
This is what I threw together, but there's probably a better way to do this; I haven't really used gscatter() for anything befo...

3 meses hace | 0

| aceptada

Cargar más