Cropping greyscale image based on pixel
古いコメントを表示
Hi all,
I intend to crop images based on its pixel value or intensity. Here are my images below, labeled as image1, image2... image 7.
All these images are from the taken from the object but replaced with different optical density filters. I performed a simple imcrop() rectangle and subplotted to obtain the following.

For example if I take image3, I am mostly interested in the center and would like to crop out that weird eclipse area.
I would like to somehow be able to define a range to crop and keep the cropped area. For each image, I will need to define a new range, depending on the section I want to keep or discard. Can I do something like, if the pixelvalue < 50, then make it transparent?
Later on, I would like to paste these cropped areas on top of each other.
Thanks, Victor
採用された回答
その他の回答 (1 件)
Image Analyst
2017 年 2 月 23 日
0 投票
I'm not sure of the exact algorithms they use in HDR reconstruction. A simplistic view would be to extract non-saturated pixels and divide them by the transmissivity, then average or scale any pixels that show up in multiple images, as I said the prior time you asked this.
カテゴリ
ヘルプ センター および File Exchange で Read, Write, and Modify Image についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
