how to add more than 2 images for brain tumor detection?

2 ビュー (過去 30 日間)
nod nad
nod nad 2021 年 1 月 7 日
コメント済み: nod nad 2021 年 1 月 7 日
Hi, i have 4 images in separate folder. I have to add all the picture to perform for tumor detection. But i don't know how to add all the images. I just found the code to add 2 images using imadd.
This is the image that i have to add. Is there any difference method that i can use?

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2021 年 1 月 7 日
Addition of four images
result=image1+image2+image3+image4;
If you add all four images, the maximum scale can be a maximum number of pixels, result will be complete white image. Is that you really want this?
Using imadd function
im1=imadd(image1,image2);
im1=imadd(image3,image4);
result=imadd(im1,im2);
To make Multidimentioanl Array (3D)
result=cat(4,image1,image2,image3,image4)
  4 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2021 年 1 月 7 日
編集済み: KALYAN ACHARJYA 2021 年 1 月 7 日
Exactly, I have mentioned that
"If you add all four images, the maximum scale can be a maximum number of pixels, result will be complete white image."
"after i have done that addition, the result of the segmentation came out wrong"
How do you know that addition segments the resultant region of imterest. May be you have look for thresholding or other image segmentation algorithms to extract the ROI. If you are beginner and wish to learn, my heartfelt suggestion would be read "Image Segmentation Chapter: Digital Image Processing Book By Gonzalez". You will get much more, then practice.
"i am so sorry for asking so many question. "
No sorry, we are here to help and learn together
Good Luck
Kalyan :)
nod nad
nod nad 2021 年 1 月 7 日
Thank you sir,and yes i am a beginner. This is my project for this semester, my lecturer has show the result for the segmentation. And that is why i said that. Thank you for your answer and suggestion sir :D i appreciate it.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by