<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Manas Avinashe on Medium]]></title>
        <description><![CDATA[Stories by Manas Avinashe on Medium]]></description>
        <link>https://medium.com/@manas.avinashe?source=rss-48f8482cec2c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dELIz5q8zhmiw199ilAk_Q@2x.jpeg</url>
            <title>Stories by Manas Avinashe on Medium</title>
            <link>https://medium.com/@manas.avinashe?source=rss-48f8482cec2c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:35:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@manas.avinashe/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Teaching AI to Understand the World Beyond RGB]]></title>
            <link>https://medium.com/@manas.avinashe/teaching-ai-to-understand-the-world-beyond-rgb-f9acd0421edc?source=rss-48f8482cec2c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9acd0421edc</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[remote-sensing]]></category>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[maps]]></category>
            <category><![CDATA[computer-vision]]></category>
            <dc:creator><![CDATA[Manas Avinashe]]></dc:creator>
            <pubDate>Tue, 24 Mar 2026 07:44:25 GMT</pubDate>
            <atom:updated>2026-03-24T10:27:43.337Z</atom:updated>
            <content:encoded><![CDATA[<p>Remote sensing is the science of creating information about an object without any physical contact. This term is mainly used to describe how we sense Earth&#39;s surface properties using air- and space-borne sensors. Remote sensing has become a fundamental tool for large-scale environmental monitoring, urban planning, and geospatial intelligence.</p><p>With the increasing availability of very high-resolution (VHR) aerial imagery, the generated data is too large to be manually processed for many important downstream uses, such as generating land cover maps, identifying forests, and detecting enemy movements across borders. There is a growing demand for automated techniques capable of extracting meaningful semantic information from such data. Traditional approaches based on handcrafted features fail to generalize well due to the complexity of urban scenes.</p><p>Remote sensing has heavily benefited from deep learning methods. Most deep learning methods developed by the computer vision community are restricted to 3-channel RGB images, which are the most common type of data.</p><p>But remote-sensed images have many channels, including infrared and microwave, and additional data are available, either from the same sensor or another one (<strong>e.g., lidar point cloud</strong>). The availability of such sources of data, along with traditional ones, creates both special opportunities to maximize labeling accuracy and challenges, as adapting vision-based Deep networks to these larger datasets is not trivial. Images often exceed several thousand pixels in each dimension, making direct processing computationally expensive. Objects appear at drastically different scales: large structures (buildings, roads), small objects, and vehicles. Different materials may share similar spectral signatures, leading to ambiguous classification.</p><p>This blog builds upon research work carried out by the authors of the study titled <strong>“Beyond RGB: Very high resolution Urban remote sensing with multimodal deep networks,”</strong> published in 2017. We want to take it further by applying the methods suggested in the study to Indian rural datasets created under the <strong>SVAMITVA</strong> scheme by the Ministry of Panchayati Raj (MoPR) and comparing our findings with those of the study.</p><p>Firstly, we shall examine the core ideas the authors share, and then implement them in the Indian context in the next blog.</p><p>Semantic segmentation is the assignment of a label to every pixel in an image. One of the most critical tasks in this domain is <strong>semantic segmentation</strong>, which assigns a class label to each pixel in an image. Formally, given an input image I ∈ ℝ^(H×W×C), the goal is to learn a mapping:</p><p>f : I → Y</p><p>where Y ∈ ℝ^(H×W) represents the label map, with each pixel belonging to a predefined semantic class (e.g., building, road, vegetation).</p><p>Let us start understanding how deep learning networks segment using one of the simplest Deep learning models, CNNs. CNNs extract hierarchical features using convolutional operations:</p><p>Fₗ = σ(Wₗ * Fₗ₋₁ + bₗ)</p><p>where:</p><p>Wₗ = convolution kernel, * = convolution operation, σ = sigmoid</p><p>CNNs can perform multiple-label prediction within a single network. However, earlier approaches were patch-based, producing coarse output maps. Now, the problem with CNNs is that their outputs are single vectors, as flattening destroys spatial information. This is not very desirable. FCNs <a href="https://www.cv-foundation.org/openaccess/content_cvpr_2015/papers/Long_Fully_Convolutional_Networks_2015_CVPR_paper.pdf">[link]</a> replace fully connected layers with convolutional layers, enabling dense predictions at 1: 8 resolution.</p><p>The architecture consists of:</p><ol><li>Encoder: Extracts semantic features via downsampling.</li><li>Decoder: Restores spatial resolution</li></ol><p>Some improvements based on convolutional auto-encoders with a symmetrical architecture are SegNet and DeconvNet, which directly perform pixel-wise classification, capture spatial dependencies between classes without any preprocessing, such as superpixel segmentation, and produce high-resolution predictions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_D_O61MU0fXLw5a4LFQpOQ.png" /><figcaption>SegNet architecture. The encoder part is derived from the VGG 16 architecture with 5 Convolution layers producing a w/32xh/32 output at the bottleneck, which is then upsampled by the decoder part using unpooling.</figcaption></figure><p>This study shows that a lot of early used methods, such as</p><ol><li>Use of Conditional Random Fields (CRF) post-processing</li><li>Networks that learn both labels and explicit inter-class boundaries <a href="https://arxiv.org/abs/1612.01337">[link]</a></li></ol><p>But these methods are not necessary according to the authors, and they consume computational power</p><p>Further, previously, multimodal data studies have incorporated the following ways:</p><ol><li>Fused optical and LiDAR data by concatenating deep features as input to Random Forests <a href="https://openaccess.thecvf.com/content_cvpr_workshops_2015/W13/papers/Paisitkriangkrai_Effective_Semantic_Pixel_2015_CVPR_paper.pdf">[link]</a></li></ol><p>2. Incorporated expert features from LiDAR and NDVI into a higher-order CRF to improve optical classification <a href="https://openaccess.thecvf.com/content_cvpr_workshops_2015/W13/papers/Paisitkriangkrai_Effective_Semantic_Pixel_2015_CVPR_paper.pdf">[link]</a></p><p>3. Prediction fusion without feature engineering, using end-to-end deep learning <a href="https://arxiv.org/abs/1609.06846">[link]</a></p><p>4. Early fusion based on stacking deep learning features for superpixel-based classification <a href="https://boulch.eu/files/2016_jstars_eo/2015_dfc_classif_benchmark.pdf">[link]</a></p><h3><strong>Method</strong></h3><p>SegNet was used as the base model for this study. Using an encoder-decoder architecture, the output is the same resolution as the input. The authors also compare their method with the ResNet-34 model. The output is a 1:1 resolution map. Both networks use a softmax layer to compute the multinomial logistic loss. No post-processing like CRF is used, as it slows the process</p><p>Urban scenes contain objects of varying sizes. To address this, the model incorporates multi-scale supervision. Addressed using a pyramidal approach: different context sizes and different resolutions are fed as parallel inputs to one or multiple classifiers. This approach, which generates output at several resolutions, is used in the DeepLab architecture. In the authors&#39; SegNet implementation, after the pth convolution block, they add a convolutional layer that projects the feature maps into the label space with a resolution of 2PW/34 x 2PH/32, creating smaller maps, which are then interpolated to full resolution.</p><p><strong>Early fusion: </strong>The FuseNet approach uses SegNet architecture in a multimodal context .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*L_mfb3xVyeEjioWwNwWX_w.png" /><figcaption>FuseNet architecture for early fusion. early fusion architecture above jointly encodes both the RGB and depth information using two encoders whose contributions are summed after each convolutional block. Then, a single decoder upsamples the encoded joint-representation back into the label probability space. The two branches are not exactly symmetrical: the depth branch works only with depth-related information, whereas the optical branch actually deals with a mix of depth and optical data. Moreover, in the upsampling process, only the indices from the main branch will be use. One needs to choose what is primary and what is auxiliary. [<a href="https://dl.acm.org/doi/10.1007/978-3-319-54181-5_14">link]</a>.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*fFYeFzThI2Py9pvJ0dxD-w.png" /><figcaption>FuseResNet : ResNet architcture adapted to a residual network</figcaption></figure><p><strong>Late fusion:</strong> Fusenet approach needs both the streams to be topologically compatible in order to fuse in encoders. Prediction fusion is used by using a residual convolutional neural network. There are two deep networks each an FCN that are trained on either optical or auxiliary data source which generate prediction. The residual correction network learns a small offset to apply to each pixel probabilities and the entire network can infer which input to trust depending on predicted classes. These variations are called SegNet-RC and ResNet-RC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*RToGbzpg5p5DSshASgzYAg.png" /><figcaption>SegNet-RC, Residual correction using two SegNets</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*2wi9vkMsvjOmOG-HlxpXsg.png" /><figcaption>ResNet-RC , Residual correction using two ResNets</figcaption></figure><h3><strong>Experiments</strong></h3><p><strong>Datasets:</strong> Two datasets, Vaihinger and Potsdam, with very high-resolution imagery ( 9cm/pixel, 5cm/pixel tiles), approximately 2100x2100/6000x6000, 33/38 images; 16 have public ground truth. Six classes, namely buildings, impervious surfaces, low vegetation, trees, cars, and clutter (no balancing loss using inverse class frequency).</p><p><strong>Setup:</strong> For optical data, compute NDVI, and then build a composite of DSM, nDSM, and NDVI. The tiles are very high resolution, so extract 128×128 patches. Use smaller strides during training with data augmentation. For testing, use the average prediction over overlapping regions.</p><p>Use a stride of 64 px (and 32 px for Vaihingen) during training, and a stride of 32 px for Potsdam and 16 px for Vaihingen during testing.</p><p>Train using SGD with a base learning rate of 0.01 and momentum of 0.9. For SegNet-based architectures, the encoder weights are initialized from VGG-16 pretrained on ImageNet, while the decoder weights are randomly initialized.</p><p><strong>Baseline results and effects of multi-scale strategy:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*JDSyiGx7qmU_oIxhfMbw2g.png" /><figcaption>Multiscale results on vaihhinge dataset. Note: Here, n<em>o branch denotes a single-scale SegNet model. The first branch was added after the 4th Convolutional block of the decoder, the second branch after the 3rd, and the third branch after the 2nd.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*I7O3CDr51havet8-WV7isA.png" /><figcaption>Validation results on Viahingen dataset</figcaption></figure><p>The results indicate that the performance gain from the multi-scale approach is modest; however, it comes at a very low computational cost, requiring only a few additional convolutional parameters to extract downscaled feature maps from lower layers. although quantitative improvements are low, the multi-scale approach acts as a regularizer and helps reduce noise, as evidenced by the qualitative results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*YhtZ-aFIvCQYu-Um5jafwg.png" /><figcaption>test results on vaihingen data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*lds98Gqr_sCCIWMdEO9Riw.png" /><figcaption>test results on potsdam data</figcaption></figure><p><strong>Effects of fusion strategies:</strong></p><p>In <strong>early fusion</strong>, the model learns everything together from the start, which helps it build stronger overall features and generally gives better accuracy. In <strong>late fusion</strong>, separate models are trained first and their predictions are combined later. This helps fix specific mistakes (like detecting cars correctly), but the results can become slightly unbalanced across classes. Interestingly, late fusion only works well when both models are already strong. If one data source is weak (like in the Potsdam dataset), combining them doesn’t help much and can even reduce performance. On the other hand, early fusion is more reliable because it learns a joint understanding from the beginning.</p><p><strong>Robustness to missing data:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*efMWa3pvyCtBaFZgY7qicQ.png" /><figcaption>Erros in nDSM files from vaihingen dataset, poorly handled by both Fusion methods.</figcaption></figure><p>Some buildings vanish in nDSM, and the relevant pixels are falsely assigned a height of 0, leading to significant misclassification in the composite image. Manual correction works, but it is not scalable; can it be worked out using hallucination networks? This is the future direction of work.</p><h3><strong>Conclusion</strong></h3><p>Authors show that FCNs are well-suited to the task of semantic labeling of multimodal very high resolution urban remote sensing data. The trick presented is to extract semantic maps at multiple resolutions, as this helps train the network and improves overall classification.</p><p>Study two methods of integrating multimodal data (lidar point clouds + optical). Early Fusion (FuseNet) allows the network to learn stronger features. It allows the network to jointly learn stronger multimodal features and also induces sensitivity to missing or noisy data. Late fusion (using residual correction) can recover errors on hard pixels that are missed by all other models; though performance is not as good as early fusion, it does improve semantic labeling.</p><p>This blog was co-authored by Manas Avinashe (25M0303), Suhas H ( 25M0328), and Bhanu( 25M0329).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9acd0421edc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Helsloot]]></title>
            <link>https://medium.com/@manas.avinashe/hello-world-1c31e800a2fe?source=rss-48f8482cec2c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c31e800a2fe</guid>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[art]]></category>
            <dc:creator><![CDATA[Manas Avinashe]]></dc:creator>
            <pubDate>Tue, 13 Sep 2022 16:57:32 GMT</pubDate>
            <atom:updated>2022-09-13T16:59:05.549Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Hello world</blockquote><ul><li>Helsloot</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FPUWzZYSLiVxx0B2yWlsvQ@2x.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vI60k46EoPcL4KcKHRtmGQ@2x.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kO7JjYu7LFfFwX_v8A0Y8A@2x.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c31e800a2fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>