Respondida
how to divide image into 25 equal parts
If the image geometry is integer-divisible by the tiling, then you can use mat2cell() or direct indexing. Since this question...

más de 4 años hace | 0

Respondida
How to divide/split RGB image into two parts and second part GRAY and concatenate them in a single image
Dead post, but answering these things is my hobby now. There are many ways to do the same thing, but let's start simple. W...

más de 4 años hace | 1

Respondida
I have a Folder with subfolders of images. The subfolders consist of .JPG, .jpg and .jfif, I need them all to be converted to a single format and returned to their folders?
At least with the JFIF files I have, imread() has no problem reading them. imageDatastore() ignores them, but throws no error (...

más de 4 años hace | 0

Respondida
How to change legend entries' order with addaxis function?
Try something like this example: N = 10; HOR = 1:N; D = rand(3,N); for jj=1:9 subaxis(3,3,jj,'MarginRight',0.3,'Margi...

más de 4 años hace | 1

Respondida
Unable to get the output image for color transfer.
Again, you still haven't actually said what you are trying to do. I don't have your images either, so I can only guess how the...

más de 4 años hace | 0

Respondida
Is it possible to subplot graphs with 7 y-axis in a figure and how ?
I've used addaxis() before: https://www.mathworks.com/matlabcentral/fileexchange/9016-addaxis ... but it hasn't been maintaine...

más de 4 años hace | 0

| aceptada

Respondida
How to use imwrite with image object?
Unless you can find somewhere (e.g. in metadata) to cram the x,y extent vectors, then you may have to store them somewhere separ...

más de 4 años hace | 0

Respondida
How do I find the X and Y coordinates of image (want to plot this figure)
To paraphrase prior answers to similar questions: If you want the original data, you're out of luck. It's gone. Simply put, t...

más de 4 años hace | 0

Respondida
CRT gamut solid
This wasn't available in 2012, but for anyone looking today, MIMT (on the File Exchange) has a tool that's made for this. The c...

más de 4 años hace | 1

Respondida
How to create contour plot to show height?
You can always try just using griddata() S = load('scattered.mat'); % load scattered data n = 100; x = linspace(min(S.x),ma...

más de 4 años hace | 0

| aceptada

Respondida
How do I find the first of the shortest words in a sentence?
You're not too far off. Tools like min(), max(), find(), etc support the output of the associated index. s = "The quick brow...

más de 4 años hace | 0

| aceptada

Respondida
Can I convert one image in grayscale to monochrome?
One doesn't normalize data by subtraction. The process as described is common except for that one misunderstanding: A = imread...

más de 4 años hace | 0

Respondida
Why binary images are not stored as logical when imwrite is used with .jpg file extension
From the documentation: https://www.mathworks.com/help/matlab/ref/imwrite.html#mw_0762e49f-e3b0-4b66-bcfb-0ef235680b4f For gra...

más de 4 años hace | 0

Respondida
Need to calculate continuous pixels of all the dark regions.
My hardware limits how easily I can manage images that large, but I managed. The whole of the code needs cleanup to make this...

más de 4 años hace | 0

Respondida
Image Background Overlay Color Changes Why Does It happen?
Dead post, I know. I just love talking to ghosts. Since no source images were ever provided, this was never a directly answera...

más de 4 años hace | 0

Respondida
How to reduce random pixel colours in shape and try to blend them together or convert them to average of neighbouring pixels?
Depending on what you're trying to do and what you expect, look at: imfilter() and fspecial() for various averaging filters im...

más de 4 años hace | 0

Respondida
How to change the size of a image, which is saved as a .mat file?
Since a .mat file can contain any number of things, I'm going to have to assume that: you know what's in the file and how to op...

más de 4 años hace | 0

Respondida
Is it possible to use a function of Matlab toolbox without installing the tolboox itself?
You can just use basic tools to wrap angles. A = -360:40:360 B1 = wrapTo360(A) B2 = mod(A,360); mask = A>0 & B2==0; B2(mask...

más de 4 años hace | 1

| aceptada

Respondida
RGB to LAB converting to a weird colour
Image viewing/reading/writing tools are generally only capable of handling either single-channel grayscale images, single-channe...

más de 4 años hace | 0

| aceptada

Respondida
How to Split image based on a blue line in image - so i want to split image into 2 and the cut should be where a blue line is in the image.
Here's this. I'm going to assume that gaps represent a transition between relevant and irrelevant data. If that's not the case...

más de 4 años hace | 0

Respondida
How to not display RGB values?
If you're using the "inspect pixel values" button in imtool(), then that's just calling impixelregion(). You should be able t...

más de 4 años hace | 0

Respondida
is it possible to add/paint multiple colors(more than 100 up to 10000) to an RGBA image in MATLAB?
First off, a reminder that this is all using MIMT tools. One way would be to do a simple hue rotation to create a series of mod...

más de 4 años hace | 1

| aceptada

Respondida
how to solarize and remove background of image
Two things: The thing you're doing here %solar = uint8(255-I3); is not solarization. This is just the additive inverse or co...

más de 4 años hace | 0

| aceptada

Respondida
Bar plot with a hatched fill pattern
You'd want to avoid hatchfill(). That's so old that it predates the current graphics system. Things like contour and bar plots...

más de 4 años hace | 6

| aceptada

Respondida
How to extract the hand out of the background? (homework assignment)
If you're trying to create the composite image: FG = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/924...

más de 4 años hace | 0

| aceptada

Respondida
What is missing from MATLAB #2 - the next decade edition
I'm going to be a weirdo and say that I would like it if imshow() supported IA and RGBA inputs. I'm probably the only person wh...

más de 4 años hace | 0

Respondida
How can I stack images from multiple folders?
As far as I know, nothing in MATLAB or IPT directly supports images with alpha, though you can certainly tote alpha around as a ...

más de 4 años hace | 0

| aceptada

Respondida
Problem of using "imagesc" function
You need to reorient the data. You could use permute(), or you can do it with squeeze(): imagesc(imgaussfilt3(max(squeeze(img(...

más de 4 años hace | 0

Respondida
How to do background Substraction for any RGB-image image using Matlab ?
You ask for two things: a means to segment a leaf image and a means to segment any image. It should be obvious that the latter...

más de 4 años hace | 0

| aceptada

Respondida
Apply imfilter on specific regions (ROI) of RGB-image
The output image is class 'double', and you're storing uint8-scale data in it. It will be improperly-scaled for its class and w...

más de 4 años hace | 0

Cargar más