Answered
Read all files from a folder, edit them and save.
Give the actual file(folderPath1) and write file(WriteDir) folder paths into the code and you should be able to modify and save ...

7 years ago | 3

Answered
How to mask each region in image within boundary
% lets assume you have the cordinates of the rectangle.. % a..like 4 vertices of the rectangle... img = imread('pepp...

7 years ago | 0

Answered
How can I show the objects found in segmentation?
In your code there is some noise when i saved the image, so I did multithresh it works anyway for segmentation of your image ...

7 years ago | 1

| accepted

Question


How to draw the direction field of van der pol oscillator?
Hi, I am trying to get the direction field and phase portrait shown on this wiki page: <https://en.wikipedia.org/wiki/Van_d...

7 years ago | 1 answer | 0

1

answer

Question


How to see a zoom in view of cursor point (like a sqaure box) on a image when I have multiple figures on GUI
Hi, I have four images displayed on GUI, now I want to write a function which shows a popped up view of zoom in at cursor locat...

7 years ago | 1 answer | 0

1

answer

Question


str2double('00010001') or str2num('00010001') gives output as 10001 by ignoring the MSB '000' bits how to retain them?
Hi, I have some filenames which start with '0**' something like that (00010001,00010002,...00010010 etc), When I use str2doubl...

7 years ago | 1 answer | 0

1

answer

Question


Find out which blob has the pixel location [x,y]?
I have a labelled blob image using bwlabel, I want to find a blob which has the pixel location [x,y] and display it by removing ...

7 years ago | 1 answer | 0

1

answer

Question


bwlabel doesn't work as expected and what would be ideal method to segment disconnected regions like this example
Hi, This is a segmented image of a brain from thresholding segmentation, Now I want to get A, B, and C regions, which are all...

7 years ago | 2 answers | 0

2

answers

Question


How to set the display range for this medical DICOM images
Here is the code that I used to display the DICOM image, When I give the full display range it shows blurred image like left, an...

7 years ago | 1 answer | 0

1

answer

Question


The compressed pixel data is missing item delimiters.?
Hi, I am working with few Dicom files and when i try to use dicomread('filename.dcm') in MATLAB it gives the following error: ...

7 years ago | 0 answers | 0

0

answers

Question


How to avoid this for loops to improve computation time
In this code, I have a cluster image with 10 classes and i want to extract 10 different images for each level and save as a 10 i...

7 years ago | 1 answer | 0

1

answer

Answered
How to format a cell array
% pre-process to get data tempcell = cell(1,15); for i = 1:15 for j = 1:24 tempcell{i}(j,1) = rand(1); ...

7 years ago | 1

Answered
How to convert gray image to rgb image after filtering?
I know my answer might sound like beating around the bush which makes no sense but I think this is what you are asking. I assume...

7 years ago | 2

| accepted

Question


How to increase the computation time of this code?
Hi, I am working on computing some features of an image data set and saving the features for later use. Below is the code: ...

7 years ago | 1 answer | 0

1

answer

Question


dicomread not working for specific files
Hi, I am working on specific dicom files recently and cannot use dicomread function to read files.. Can someone check the ...

7 years ago | 1 answer | 0

1

answer

Answered
How to browse image in matlab and get error message if it is not grey scale image
Try this, file_name = uigetfile('*.*'); imgInfo = imfinfo(file_name); if strcmp(imgInfo.ColorType,'grayscale') ...

7 years ago | 1

| accepted

Answered
Automatic reposition of mask on image
Hi, I tried to solve your question, I took the original image and then extracted shapes from it, took the star for reference...

7 years ago | 0

| accepted

Answered
Can anyone explain the following code? (Shape recognition)
I assume that you fully understood the code still, I will explain briefly the variables used: a=max(distance{k}); %% t...

7 years ago | 0

Question


Can we tag people to a question ?
Is it possible to tag people in here to direct questions directly to them to get a quick response from them.

7 years ago | 1 answer | 1

1

answer

Answered
How to have a single value for feature matrix ?
Assuming that you already computed a feature which is a row vector of size 64,, % sumfeature rowvector = rand(1,64); % a...

7 years ago | 0

| accepted

Answered
How do I vertically segment a image in three parts?
You didn't provide the actual image but gave a mapped image I used it instead. Here is the code: % paper split im...

7 years ago | 0

| accepted

Question


How to Speed up the FOR loop in my CODE
Hi, I am working on wavelet decomposition and found a formula for it and wrote it by myself for computation. The formula is ...

7 years ago | 1 answer | 0

1

answer

Answered
How to convert DICOM image to JPEG/PNG with out loosing it's metadata?
% code % 793 is a dicom image DICOM_image = dicomread('793'); info = dicominfo('793'); window_center = info.WindowCenter...

7 years ago | 1

Answered
Rotate Image segment without background
A simple trick is to change all the pixels other than the segment to a white background in your case. I cropped your main ima...

7 years ago | 1

| accepted

Question


How to clear all handles of style or type 'text' or 'static text' in Matlab GUI ?
I have a matlab GUI which has 30 static text boxes (handles), I have to clear all of them before running the program again ...

7 years ago | 1 answer | 0

1

answer

Question


How to find length or perimeter of a irregular boundary
Hi, I work with medical images for some application I have to segment tumors out of CT slices then compute the length of the ...

7 years ago | 1 answer | 1

1

answer

Question


How to compute 3D surface area from 2D CT images
Hi, I work with 2D slices of CT images (Dicom images). I segmented tumor from all these 20 slices using some segmentation algo...

7 years ago | 2 answers | 0

2

answers