How can I get the set of original pixels used to calculate the pixels of a downscaled image?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello I have a grayscale image of parts that is 1872 X 2624 that I am downscaling to 32 X 31, to match other temperature data of the same size. I have found the centroids and extrema at the large resolution and want to know what pixels they were used to calculate on the downscaled image. I would like to be able to get a list (or other format) of pixels used so the final result would be a cell array or structure where each field/element contained a double with the indicies (linear or element wise) from the larger image. Is this possible?
My ultimate goal is to be able to use this information to extract temperature data relative to each part. I have attached examples of the higher resolution image(layer00493_thumbnail), a plot showing the extracted centroids & extrema and each part (Layer 493 Plot), my current luck with different downscaling methods(Layer 493 Downscaled), & an example of a plot of the temperature data (Layer 493 Sensor Data).
Thanks for the help!
댓글 수: 2
Image Analyst
2020년 5월 31일
Can't you just multiply the coordinates gotten from your small image by 1872/32, or by 2624/31 to get the location in the larger image?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!