A publié


Find all the highest pixel values using ismember
Today's post shows how to use ismember to conveniently locate all of the highest pixel values in an image. For example, in...

presque 2 ans il y a

Thumbnail

A répondu
Find consecutive numbers below threshold using bwlabel
You could a hysteresis thresholding technique. First, threshold with a strict threshold, like your 0.5. Then, threshold with a s...

presque 2 ans il y a | 0

| A accepté

A répondu
3D Plot shrinks one dimension when plotting Alphashape
The plot method for alphaShapes sets the data aspect ratio to [1 1 1]. When your code arrives at line 76, the data aspect ratio...

presque 2 ans il y a | 0

A répondu
Use Geographic Plots in tiledlayout without multiple axis
From the doc for nexttile: "nexttile creates an axes object and places it into the next empty tile of the tiled chart layout tha...

presque 2 ans il y a | 0

| A accepté

A publié


More experiments with sRGB gamut boundary in L*a*b* space
I'm still playing around with RGB gamut calculations in $ L^* a^* b^* $ space. (See my last post on this topic, "Visualizing...

presque 2 ans il y a

Thumbnail

A répondu
Is this another bug in imread(), or is this just a forum problem?
I can reproduce the problem in MATLAB Answers. The problem does not occur in MATLAB Online or in the desktop version. I'll let ...

presque 2 ans il y a | 0

A répondu
How to use "imregister" with "InitialTransformation"?
The value of InitialTransformation is supposed to be an affine3d object, not an imref3d object. See the doc description for the ...

presque 2 ans il y a | 1

| A accepté

A publié


Puzzles About GIF DelayTime
[TLDR: To create a fast GIF animation using imwrite, use a DelayTime of 0.02 instead of 0.]In my 28-Feb-2022 post, I showed...

presque 2 ans il y a

Thumbnail

A publié


Loren Shure and the Art (and History) of MATLAB
The one and only Loren Shure has just announced her retirement from MathWorks. I met Loren in early 1993 at the...

environ 2 ans il y a

Thumbnail

A publié


R2022a
It's March, and you know what that means --- that's right, the "a" release is here!On most work days, I use several...

environ 2 ans il y a

Thumbnail

A répondu
WebREAD returns zeors when reading a GIF image
I got an array of zeros once using your code, but later I ran it again and got the expected image data. I quit MATLAB and launch...

environ 2 ans il y a | 0

| A accepté

A répondu
imwarp function - bands during interpolation
First, let me run Arnaud's reproduction code and display the result so that everyone can see what we are talking about. Im1 = r...

environ 2 ans il y a | 1

| A accepté

A publié


A Short Game of Life
I have written here, as well as in Digital Image Processing Using MATLAB, about using image processing operations to...

environ 2 ans il y a

Thumbnail

A répondu
Check for missing argument or incorrect argument data type in call to function 'head' - using Matlab R2020a
The function head is only defined for an input that is a table, a timetable, or a tall array. When trying to execute your code,...

environ 2 ans il y a | 1

| A accepté

A répondu
Getting imaginary numbers for induction factors; I am getting imaginary number for my induction fact Aa and At but I am not using any sqrt to calculte. Thank you.
The acos function returns complex values if the inputs are outside the interval [-1,1]. Set a breakpoint on the line where you a...

environ 2 ans il y a | 0

A répondu
Filling one type of holes in a binary image
Based on your description of what you're trying to do, I ask the question: how are the semi-rectangular grains, which you want t...

environ 2 ans il y a | 1

| A accepté

A répondu
How to remove extrapolated regions of a grid created with scatteredInterpolant?
You could try using an alpha shape to postprocess (mask) Z. Original code dx = 5; %grid step load('datapoints.mat'); F = s...

environ 2 ans il y a | 1

| A accepté

A répondu
How to create a filling/shading between prediction bounds?
I can't completely run your code (s and Asiiimodel are missing), but I think that the black color in your patch result is from t...

environ 2 ans il y a | 1

| A accepté

A répondu
FFT function is not functioning.
It seems that you may have tried to install MATLAB on a cloud drive (OneDrive). Or maybe you copied the application files into O...

environ 2 ans il y a | 0

A répondu
How do I transform this format 202007011030 (2020 07 01 10:30) into a readabel format?
I can imagine several ways to do this. Here is one. lines = readlines("Fehmarn_Wind_date.txt"); readlines was introduced in R2...

environ 2 ans il y a | 0

A répondu
ROI Trace boundaries result
I think some careful coordinate system tweaks will get you there. In many Image Processing Toolbox functions, pixels are treated...

environ 2 ans il y a | 2

A répondu
How is the 2D filter function used in this code?
For each element in A, filter2 essentially "slides" the filter F so that its center lines up with the element in A, and then it ...

environ 2 ans il y a | 1

| A accepté

A répondu
Changing color of pixels around certain pixels
Suppose mask is a logical matrix that indicates which pixels satisfy your condition. (That seems to be the purpose of idx in you...

environ 2 ans il y a | 2

| A accepté

A répondu
Colorbar range inconsistent in high aspect ratio images
Call axis image before you create the colorbar and set its tick labels. When you set tick labels manually, a mode is set so that...

environ 2 ans il y a | 0

| A accepté

A publié


Visualizing out-of-gamut colors in a Lab curve
I was looking today at an old post, "A Lab-based uniform color scale" (09-May-2006). I wanted to provide an update to...

environ 2 ans il y a

Thumbnail

A publié


Peaks, Peak Filtering, and Gray-Scale Weighted Centroids
Today, I'm continuing my recent theme of thinking about peak-finding in images. When I wrote the first one (19-Aug-2021), I...

plus de 2 ans il y a

Thumbnail

A publié


Small-Peak Suppression with the H-Maxima Transform
Last time, I introduced the idea of a regional maximum. Today, I want to add a concept that makes the regional maximum more...

plus de 2 ans il y a

Thumbnail

A publié


Local maxima, regional maxima, and the function imregionalmax
A recent algorithm discussion on the Image Processing Toolbox development team reminded me of something I originally wanted...

plus de 2 ans il y a

Thumbnail

A répondu
Can a MATLAB function edit the input?
You'll need your class to subclass handle. See the documentation page "Implementing Linked Lists with Classes" for details.

plus de 2 ans il y a | 0

| A accepté

A publié


Use less meshgrid and repmat
The functions meshgrid and repmat have a long and rich history in MATLAB. Today, I'll try to convince you to use them...

plus de 2 ans il y a

Thumbnail

Charger plus