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

18日 前 | 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...

18日 前 | 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...

20日 前 | 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,...

22日 前 | 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...

26日 前 | 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...

26日 前 | 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...

27日 前 | 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...

27日 前 | 0

回答済み
Exporting Graphs from Matlab App in PNG or JPG
Using gcf() won't work. The GUI handles aren't immediately visible, so calling gcf will just open and capture an empty figure. ...

30日 前 | 0

回答済み
why use 0.008856 in Lab color space?
The L* function is piecewise, and epsilon is the breakpoint location in terms of relative luminance (obviously). What significa...

約1ヶ月 前 | 0

回答済み
Undefined function or variable 'impixelinfo'.
impixelinfo() is part of the Image Processing Toolbox

約1ヶ月 前 | 0

回答済み
Is it possible to use the makehdr MATLAB function with 16bit images?
This appears to have been a bug in makehdr(). As usual, it doesn't appear anywhere in bug reports, but starting somewhere aroun...

約1ヶ月 前 | 1

回答済み
Imported greyscale image into ImageLabeler, the main workspace shows the image as black, but Image Browser shows correct images
A few things to know: The imageBrowser app will misrepresent grayscale images by automatically rescaling their dynamic range. ...

約1ヶ月 前 | 0

| 採用済み

回答済み
Can I override imshow InitialMagnification default behavior?
This can be set manually from the preferences dialog, under Image Processing Toolbox > IMSHOW Display. This can also be done ...

約1ヶ月 前 | 0

回答済み
I'm being told "Function definition not supported in this context. Create functions in code file."
Because this loop %*************************************** %Matlab Runge Kutta Routine - NEED HELP for count = 1:1:numsteps ...

約1ヶ月 前 | 0

| 採用済み

回答済み
How can I stretch an image non-uniformly?
I'm going to start this example using MIMT tools, since generating the displacement maps would otherwise be a chore. We can wor...

約1ヶ月 前 | 0

回答済み
Histogram equalisation process and errors
Given the way you're trying to do 1D lookup for the final remapping transformation, your input must be integer-valued and nonzer...

約1ヶ月 前 | 0

回答済み
Why am I getting "Unrecognized function or variable 'fp'."?
Functions which are local to a script or local to another function are not accessible outside that scope. If you want your func...

約1ヶ月 前 | 0

回答済み
How does the regionprops calculate the area or the eccentricity of an object?
If you want to know how regionprops() works, open it up and look. Unlike bwarea(), regionprops() calculates the simple unweight...

約1ヶ月 前 | 0

回答済み
create mask (line) based on conditional (mask)
You could do it using ROI objects, but that would be terribly slow and prone to other problems. Here's an example: % dummy inp...

約2ヶ月 前 | 0

| 採用済み

回答済み
Creating a symmetric tile mosaic
I'm not really sure what the question was. "the color pattern but not the shape" really doesn't make much sense, since shapes i...

約2ヶ月 前 | 0

回答済み
How to plot one curve and change color according to value
Also: % inputs thresh = 25; x = linspace(0,10,100); y = sin(3*x).*exp(0.5*x); % m is equivalent to (y>thresh), so it's en...

約2ヶ月 前 | 1

| 採用済み

回答済み
How to export images to a single pdf file
Saving images by taking screenshots will not ensure that the original resolution is preserved. I can only imagine that preservi...

2ヶ月 前 | 0

回答済み
copping grayscale image and remove any other borders or details
This example relies on the images being clean TIFF files of the expected size. It won't work on JPGs, and it won't work on the ...

2ヶ月 前 | 0

| 採用済み

回答済み
Display/highlight specific pixels of in image
I can think of a few ways to create a composite grayscale + color labeled image, but it's not really clear to me what the actual...

2ヶ月 前 | 0

回答済み
How to make a specific bar to be hatched with a specific color
Here's a start x = [1,2,3,4,5]; y1 = [0.25 1.14 2.20 0.21 1.09 2.16 ; 0.48 2.26 4.40 0.42 2.20 4.34; 0.72 3.38 6.58...

2ヶ月 前 | 0

| 採用済み

回答済み
matlab work slowly when plot
There are a number of things, but the biggest problem is something easily missed: plot(r*ones(numtoplot), x(initidx:reps), '.',...

2ヶ月 前 | 0

| 採用済み

回答済み
Minimizing MATLAB windows while running?
I don't know why that reference answer got deleted, but it's still archived: https://web.archive.org/web/20150517051637/http://...

3ヶ月 前 | 1

回答済み
How to change the color of shapefile in pcolor plot
If you're using geoshow(), then you should be able to set the relevant properties of the object being created (e.g. the 'color' ...

3ヶ月 前 | 1

| 採用済み

回答済み
How to calculate the percentage of each color in this image ?
I was bored and thought that the image itself was interesting. % decoding this image will produce a warning inpict = imread('i...

3ヶ月 前 | 1

さらに読み込む