Contrast Media & Molecular Imaging / 2022 / Article / Alg 1 / Research Article
PFP-LHCINCA: Pyramidal Fixed-Size Patch-Based Feature Extraction and Chi-Square Iterative Neighborhood Component Analysis for Automated Fetal Sex Classification on Ultrasound Images Algorithm
1 Pseudocode of our proposal.
Input: Fetus image (FI) Output: Results (0) Load fetus image dataset. (1) for k = 1 to do// represent the number of images (2) Read each image. (3) Resize image to 256 × 256 sized image. (4) Apply multiple average pooling to image and obtain pooled structure. is structure; defines the size of images. (5) (6) for h = 0 to 4 do (7) for i = 1 to step 16 do (8) for j = 1 to step 16 do (9) (10) (11) (12) end for j (13) end for i (14) end for h (15) (16) end for k (17) Choose the best 1000 features from the . (18) Apply INCA to the selected 1000 features. (19) Feed the selected features to classifiers.