回答済み
'Mean Intensity Gradiënt'
Here's my guess % a uint8 grayscale image inpict = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1112...

25日 前 | 0

回答済み
graythresh dosn't work with variables other than uint8?
Like many tools in IPT, graythresh() depends on the class of the image array to know what its scale is. When you change classes...

25日 前 | 2

| 採用済み

回答済み
darken an image issue
It is darkening the image, but the output is the wrong class. You're presuming that all images are single-channel grayscale ima...

25日 前 | 0

回答済み
i want to display multiple images in the folder using montage function, to display as all images in one rectangular frame. please any one help me
The variable fileNames is a cell array. It doesn't have a .names field. It's a list of filenames, but the filenames don't have...

25日 前 | 0

回答済み
Use imhistmatch() function on non-rectangular regions of images
There's no reason to be filling the input images with black. There's no need to use loops to do it. You already have a mask an...

25日 前 | 1

回答済み
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...

28日 前 | 0

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

30日 前 | 0

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 1

回答済み
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....

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

| 採用済み

回答済み
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 ...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 1

回答済み
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...

約1ヶ月 前 | 2

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

回答済み
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 ...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

回答済み
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. ...

約1ヶ月 前 | 0

回答済み
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-...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 1

| 採用済み

回答済み
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...

約1ヶ月 前 | 1

| 採用済み

回答済み
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,...

約2ヶ月 前 | 0

回答済み
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...

約2ヶ月 前 | 0

回答済み
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...

約2ヶ月 前 | 0

回答済み
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...

約2ヶ月 前 | 0

回答済み
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...

約2ヶ月 前 | 0

さらに読み込む