Réponse apportée
Welcome... I need code in matlab to enhancement face images, enhancement methods(HE,AHE,CLAHE) and then measure(MSE,PSNR)
Look at the documentation for histeq adapthisteq immse psnr adapthisteq() does CLAHE by default. If you want AHE without...

presque 4 ans il y a | 0

Réponse apportée
Plotted image is clear but saved image is blurry- why?
If you want to retain the crisp edges of the original low-resolution image, you cannot use a continuous interpolant. The defaul...

presque 4 ans il y a | 1

Réponse apportée
Divide an image vertically into two equally luminous parts, ..., calculate the luminance of each part.., PERSONAL NON-FUNDED RESEARCH,
I'm just going to repost this here, since all the cool kids are posting on this one and the other one is closed anyway. :) A = ...

presque 4 ans il y a | 0

Réponse apportée
Divide an image vertically into two equally luminous parts, bisect these two parts, calculate the luminance of each part....
Something like this? A = imread('peppers.png'); A = rgb2gray(A); % BT601 luma A = im2double(A); % split the image into two...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Repair damaged circles and create closed curves
I suppose my solution has a weakness that should've been obvious to me. It fails if it has to do extrapolation to bridge a gap. ...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Can MATLAB do radial enlargements of plots?
You could do this by simply transforming the data itself scale = 2; center = [1 2]; % [x y] r = 1; th = 0:360; x = r*cosd...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
creating a video - zoom in effect of still image
You can get a bit better results by not rounding the rect parameter scaling prior to cropping It's not perfect, but it's a b...

presque 4 ans il y a | 1

Réponse apportée
I have tried many different ways of plotting but it won't make a line graph can someone help me out?
You are creating a plot object that contains only one point, but have no specified marker style to indicate those points. There...

presque 4 ans il y a | 0

Réponse apportée
how do i find a set using matrix
Like this? sza = 10; A = randi([1 10],sza) % output will be variable-length % preallocate to maximum length kmax = max(si...

presque 4 ans il y a | 0

Réponse apportée
any ideas for making code faster?
Here. This is about 5x as fast, though it could be improved I'm sure. R = [0.004 0.0057 0.005 0.005 0.0045 0.0044 0.005]; X =...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
How to save Histogram of Multiple Images
This should be a start sourcefolder = 'E:\input'; filepattern = fullfile(sourcefolder, '*.png'); % this shouldn't be in the...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Index exceeds the number of array elements in image processing.
Obviously, not all columns of the edgemap will contain nonzero elements, so r will often be zero-length. Also, Graycrop isn't u...

presque 4 ans il y a | 0

Réponse apportée
thermal image processing to get the temprature on each pixel
Image Analyst has a number of examples This is the current version of the demo he posted below: https://www.mathworks.com/mat...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
convert image in matlab
As IA notes, in order to find out how to do a Photoshop task in MATLAB, you figure out how to do it in Photoshop first. Transla...

presque 4 ans il y a | 0

Réponse apportée
Place one image on a blank image but several times i.e (passport style)
If the FG images are simple, solid rectangular images, you can just write a loop and insert each image into the background by di...

presque 4 ans il y a | 0

Réponse apportée
How to blur with a controlled area?
If the user has Image Processing Toolbox, using roifilt2() or even imfilter()/imgaussfilt() could simplify the task. For a smal...

presque 4 ans il y a | 0

Réponse apportée
Fill contour color into the graph
I somehow doubt this is actually what you want, but I'll oblige. % given theta = [80.86 81.36 81.82 82.38 82.98 83.64 84.28 85...

presque 4 ans il y a | 0

Réponse apportée
Save a grayscale image as an colored image
Depending on what you mean when you say you want it to be a colored image, this might have the answer: https://www.mathworks.co...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
How to generate a multi-dimensional array from a vector ?
I'm sure there are more elegant ways, but here's this. I'm pretty sure it works. % inputs m = 3; x = [1 2 3 4 5 6 7 8 9]; ...

presque 4 ans il y a | 0

Réponse apportée
MATLAB output is a bunch of numbers with operators not the exact number
To be pedantic, those expressions are the exact result. The decimal values are an approximation. That said, you should be ab...

presque 4 ans il y a | 0

Réponse apportée
this is a part of my code, I am getting this message. "Unable to perform assignment because the indices on the left side are not compatible with the size of the right side."
I'm going to go out on a limb and say that there's no reason to believe that the RHS of this assignment is a scalar. index(i)...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
How can i correct brightness of a monochrome image using arithmetic operations?
For basic brightness/contrast controls, see this demo. https://www.mathworks.com/matlabcentral/answers/496452-contrast-vs-brigh...

presque 4 ans il y a | 0

Réponse apportée
How can I combine bit map images to get back the original grey scale image?
Using a bunch of numbered variables forces you into writing unnecessarily repetitive code. This can be simplified. One way wou...

presque 4 ans il y a | 0

Réponse apportée
How to superimpose many images using loop?
Imfuse is a simple tool for visually comparing two images. It has no practical use for processing more than two images. It sho...

presque 4 ans il y a | 0

Réponse apportée
How can I use sliceomatic for 3D plots without getting the below errors?
As far as I know, sliceomatic() has been broken for years. As the error says, 'new' is not a valid option for the 'nextplot' pr...

presque 4 ans il y a | 0

Réponse apportée
Combining images to make a composite image
There are a number of ways to do this. As usual, I'm going to generalize a bit since I doubt OP is the one who will see this an...

presque 4 ans il y a | 0

Réponse apportée
How to overlap more than two images into a one image with Matlab?
Imfuse() is a simple tool for visually comparing two images. It has no utility for similar tasks involving more than two images...

presque 4 ans il y a | 0

Réponse apportée
if loop dosen't complete?
size() returns a variable-length vector. Don't compare against the size() of an array if you're trying to compare against a sca...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
how to create random value matrix with size 3X5?
If the numbers are supposed to be integers: A = randi([1 10],3,5) otherwise, if the numbers can be any value in the specified ...

presque 4 ans il y a | 0

Réponse apportée
Running out of memory using imfuse repeatedly
The reason you're running out of memory is simple. Whenever imfuse() concatenates two images using the 'montage' option, the re...

presque 4 ans il y a | 1

| A accepté

Charger plus