I want to know what would be the best method to enhance the contrast of the CT images. What are the best filters available in ITK? Is there any filter that uses a simple contrast stretching method?
Hi @EE18D504_SINDHURA_C
There are several image filtering algorithms in
In particular, you might want to try the histogram equalization filter to enhance your CT images.
/*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkAdaptiveEqualizationHistogram_h
#define itkAdaptiveEqualizationHistogram_h
This file has been truncated. show original
Here is an example that demonstrates how to use the adaptive histogram equalization filter
https://itk.org/ITKExamples/src/Filtering/ImageStatistics/AdaptiveHistogramEqualizationImageFilter/Documentation.html
Hope this helps,
Andinet
3 Likes
When I use Histogram Equalization, the image i get is something like this
lassoan
(Andras Lasso)
June 1, 2020, 1:37am
4
When a CT image is acquired its contrast is already optimized. You might enhance some features (at the expense of suppressing others), but you can only do this for a specific clinical goal. What is your clinical application? What features you would like to enhance?
3 Likes