CT Scan Intensity Range Classification
CT Scan Intensity Range Classification
MediumArrays0% accepted
Delhi's medical imaging center processes CT scans for diagnosis. Classify pixel intensity values into severity ranges to help radiologists quickly identify abnormalities and affected areas.
Approach
Given an array of CT scan pixel intensities (0-255), count pixels in each of 4 ranges: [0,63], [64,127], [128,191], [192,255].
Input
10
10 50 70 100 150 200 220 255 0 64
Output
[3,3,1,3]
More Arrays problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards