histogram before and after creating an image
조회 수: 1 (최근 30일)
이전 댓글 표시
I am trying to get histograms from certain parts of an image. My procedure is as below 1. I have an image (say image1) and I am cropping out a bit of that image as crop1 using imcrop
2. crop 1 is just an array and I am taking a histogram of that array and it gives me a distribution (Gaussian in my case)
3. Now I save the cropped part as .bmp file
4. next I read (imread) the bmp and redraw the histogram and I cannot recreate the distribution at all.
Is there something in the process of creating an image file ? I would like to be able to get the histogram without having to crop every time? can there be a work around?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!