MATLAB Answers

Increase brightness in part of an image

조회 수: 18(최근 30일)
Hi, I was wondering if anyone would know if it is possible to do something like what I present in the following picture.
The image I'm interested in treating is one of 8000x8000 pixels size and in gray scale, what I really need is to vary the brightness of a certain region of the image.
(What I'm enclosing is a bit of a mess, but I think it exemplifies well what I need. It's made with photoshop)
  댓글 수: 6
Alejandro Fernández
Alejandro Fernández 2020년 4월 9일

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2020년 4월 9일
Depending on how you are constructing your "complex geometry", sometimes you can construct masks to select pixels. For example you might be able to use poly2mask() . Or sometimes it can be useful to use Computer Vision's insertshape() to paint various shapes into an array, after which you would binarize it (because insertshape() always creates rgb) and use it as the mask.
  댓글 수: 5
Alejandro Fernández
Alejandro Fernández 2020년 4월 9일
Ok, thank you so much for all!!!

댓글을 달려면 로그인하십시오.

추가 답변(0개)

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by