Nurjannah Syakrani
Department of Computer Engineering and Informatics, Bandung State Polytechnic, Bandung

Published : 2 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 2 Documents
Search

Improving SAM 2 for Agricultural Land Segmentation through Fine-Tuning, Point Prompt Augmentation, and Negative Prompt Calibration Yayang Setia Budi; Fardan Al Jihad; Nurjannah Syakrani; Trisna Gelar; Muhammad Rizqi Sholahuddin; Djoko Cahyo Utomo Lieharyani
Journal of Information Systems Engineering and Business Intelligence Vol. 12 No. 2 (2026): June
Publisher : Universitas Airlangga

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.20473/jisebi.12.2.210-222

Abstract

Background: The Segment Anything Model 2 (SAM 2) represents a state-of-the-art foundation model for object segmentation; however, its application to satellite-based agricultural mapping faces significant challenges. Standard SAM 2 architectures often struggle with the spectral ambiguity of fragmented tropical landscapes and the domain gap inherent in remote sensing imagery. Furthermore, the model’s interactive nature requires precise spatial guidance, making it sensitive to both the location and density of input prompts, which limits its scalability for automated large-scale monitoring. Objective: This study aims to (1) analyze the impact of domain-specific fine-tuning combined with automated Point Prompt Augmentation (PPA) and Negative Prompt Calibration (NPC) on segmentation accuracy; (2) evaluate the performance of four SAM 2 variants (Tiny, Small, Base+, and Large) to identify the optimal backbone for agricultural tasks; and (3) determine the optimal prompt density for both positive and negative points. Methods: The SAM 2 variants were fine-tuned using the LoveDA satellite dataset. Evaluation was conducted through an automated pipeline comparing two initialization strategies: Largest Agricultural Area (LAA) Centroid and random placement. The study implemented PPA to strategically increase positive prompt density and NPC to suppress "mask leakage" into irrigation infrastructure. Performance was quantified using mean Intersection over Union (mIoU) and Jaccard & F-measure (J&F) metrics. Results: The Small variant emerged as the superior backbone, achieving a peak mIoU of 0.7255 and J&F of 0.7734, representing a significant improvement over the pretrained baseline. The results indicate that the LAA Centroid strategy provides a more stable spatial anchor, while the integration of three positive and three negative points optimized the boundary alignment. The Small variant maintained a high computational efficiency with an average inference time of 2.62 minutes. Conclusion: Domain-specific fine-tuning, coupled with the proposed PPA and NPC frameworks, successfully mitigates the limitations of SAM 2 in agricultural remote sensing. This research provides a robust methodology for automated, high-precision land segmentation, bridging the gap between foundation models and specialized geographic information systems.   Keywords: Agriculture Segmentation, Satellite Imagery, Segment Anything Model 2, Fine-tuning, Point Prompt Augmentation, Negative Prompt Calibration
Improving SAM-Road Model for Occlusion Handling in Road Networks Extraction from Satellite Images with Gamma Correction and Modified A* Algorithm Mohammad Fathul'ibad; Maolana Firmansyah; Nurjannah Syakrani; Cholid Fauzi
Journal of Information Systems Engineering and Business Intelligence Vol. 12 No. 1 (2026): February
Publisher : Universitas Airlangga

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.20473/jisebi.12.1.84-97

Abstract

Background: Occlusion in satellite imagery often leads to disconnected road networks, reducing the quality and reliability of geospatial data, which in turn hampers infrastructure and transportation planning. Although models like SAM-Road show promising results, they still struggle in handling occluded areas, especially at intersections and curved roads. Some existing methods, such as the extended-line approach, have been proposed to address occlusion; however, they are typically limited to handling linear road segments and are less effective in complex structures. To overcome these limitations, this study enhances the SAM-Road framework by incorporating gamma correction and a modified A algorithm in the post-processing stage. This combined approach improves the visibility of partially hidden roads and successfully reconnects fragmented segments, even in non-linear and occlusion-heavy areas. Objective: This study aims to improve the accuracy of road network extraction by enhancing the SAM-Road model with gamma correction and a modified A* algorithm, specifically to address the problem of occlusion in satellite imagery. Methods: This research adopts a quantitative experimental approach. Gamma correction is applied to enhance the visual contrast of roads in occluded satellite images, while the A pathfinding algorithm is modified to reconnect disjointed road segments. The integrated method is then evaluated using accuracy metrics, specifically the TOPO and APLS (Average Path Length Similarity) scores. Results: The experimental findings indicate that each method—SAM-Road baseline, gamma correction, the modified A* algorithm, and their combination—delivers distinct performance improvements. Gamma correction alone achieves the best results at gamma 1.5 (TOPO 80.61%) and 1.25 (APLS 70.91%) on SpaceNet, and gamma 2.0 (TOPO 78.56%) and 1.25 (APLS 68.73%) on City-scale. The modified A* algorithm performs best at 16/8 (TOPO 80.22%) and 32/16 (APLS 70.71%) on SpaceNet, and 16/8 (TOPO 77.29%) and 64/32 (APLS 70.94%) on City-scale. When combined, the method yields results within the range of TOPO 75.41–80.59% and APLS 67.59–71.17% on SpaceNet, and TOPO 76.52–78.56% and APLS 66.39–71.19% on City-scale. Conclusion: This study concludes that the integration of gamma correction and a modified A* algorithm effectively addresses occlusion-related challenges in satellite imagery. While each technique contributes unique improvements, their combination significantly enhances the accuracy and continuity of extracted road networks—not only in straight road segments such as extended-line method, but also in more complex or occluded areas. The results confirm that this hybrid approach yields road extraction outputs that more closely align with ground truth in terms of topology and structure. Future research could explore integrating gamma correction and the modified A* algorithm directly into the training process, aiming to enhance model performance while maintaining high accuracy.   Keywords: SAM-Road, modified A*, gamma correction, occlusion, road network extraction, satellite imagery, topology, geometry