Cropping image via matrix into doughnut shape
1 回表示 (過去 30 日間)
古いコメントを表示
Hi there,
I want to create a composite image which requires cropping multiple images into one.
For this experiment, I have taken two images with different camera filters hence one image is brighter than the other. I would like to crop a doughnut shaped at the white board for the first image, and use the center of the second image.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160596/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160598/image.jpeg)
In theory it should look something like this,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160599/image.png)
I am required to scale the matrix of the individual pixels due to the use of different filters, hence my supervisor has told me it should be done in matrix form rather than cropping via paint or something.
Due to my limited matlab experience, I currently only know how to translate the image into matrix form, but do not to extract data from it. imread(.jpg)
Thanks in advance! Any help is appreciated.
0 件のコメント
採用された回答
Image Analyst
2017 年 2 月 11 日
You need to copy and paste a specific region from one image onto another. See my attached copy and paste demos.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing and Computer Vision についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!