How to select a range of pixels in a historgram?

3 ビュー (過去 30 日間)
Jesse
Jesse 2017 年 6 月 23 日
回答済み: Mudambi Srivatsa 2017 年 6 月 26 日
If we have picture files and look at the histogram of the black to white scale, what code do I input. Let's say it goes from 2*10^-4 to 6*10^-4, what if I want to just see the pixels maybe, from 3*10^-4 and up? Thanks

回答 (1 件)

Mudambi Srivatsa
Mudambi Srivatsa 2017 年 6 月 26 日
You can use MATLAB Image Processing Toolbox function 'imhist' to create the histogram of black to white scale of your images. Refer to the following link for more information:
https://www.mathworks.com/help/images/ref/imhist.html
However, there is no pixel level range control except for the bin count.

カテゴリ

Help Center および File ExchangeImage Filtering and Enhancement についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by